Install via NPM
The best way to get amCharts 4 is via NPM. The charting functionality is in the package
@amcharts/amcharts4. Map files are in
@amcharts/amcharts4-geodata. Font files used for PDF in
npm install @amcharts/amcharts4 npm install @amcharts/amcharts4-geodata npm install @amcharts/amcharts4-fonts
Latest version (4.10.20)
All amCharts libraries and plugins are available as a ready-to-include CDN resources. They are all accessible via
http(s)://cdn.amcharts.com/lib/4/ URL prefix.
<script src="https://cdn.amcharts.com/lib/4/core.js"></script> <script src="https://cdn.amcharts.com/lib/4/charts.js"></script> <script src="https://cdn.amcharts.com/lib/4/themes/material.js"></script> <script src="https://cdn.amcharts.com/lib/4/lang/de_DE.js"></script> <script src="https://cdn.amcharts.com/lib/4/geodata/germanyLow.js"></script> <script src="https://cdn.amcharts.com/lib/4/fonts/notosans-sc.js"></script>
Please note, above CDN links contains the latest released versions. This means that the version you use may be upgraded without your intervention. If you need to keep control on what version is used, use your own servers or version-specific links as below.
Whole backcatalog of versions are available in CDN as well via
http(s)://cdn.amcharts.com/lib/version/[version number]/ and
|amCharts 4 (main package)|
<script src="https://cdn.amcharts.com/lib/version/4.10.20/core.js"></script> <script src="https://cdn.amcharts.com/lib/version/4.10.20/charts.js"></script> <script src="https://cdn.amcharts.com/lib/version/4.10.20/themes/material.js"></script> <script src="https://cdn.amcharts.com/lib/version/4.10.20/lang/de_DE.js"></script> <script src="https://cdn.amcharts.com/lib/version/geodata/4.1.21/germanyLow.js"></script>
DISCLAIMER: The CDN resources are served through high-availability, load-balanced infrastructure. However amCharts does not provide any guarantees regarding uptime, availability and version consistency. It’s pretty reliable for production use, but if you need any to be extra cautious, use your own server infrastructure.
If you’d like to install amCharts 4 files right on your server, you can download these archives listed below.
|amCharts 4 |
(June 17, 2021)
|amCharts 4 geodata |
(June 23, 2021)
|amCharts 4 fonts||Version 4.0.1|
(May 02, 2020)
Fork from GitHub
Not sure where to start? How about checking out “Getting started” article in amCharts 4 documentation website.