Install via NPM
Latest version (5.10.7)
The best way to get amCharts 5 is via NPM. The charting functionality is in the package @amcharts/amcharts5
. Map files are in @amcharts/amcharts5-geodata
. Font files used for PDF in @amcharts/amcharts5-fonts
.
npm install @amcharts/amcharts5
npm install @amcharts/amcharts5-geodata
npm install @amcharts/amcharts5-fonts
Use CDN
Latest version (5.10.7)
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/5/
URL prefix.
<script src="https://cdn.amcharts.com/lib/5/index.js"></script>
<script src="https://cdn.amcharts.com/lib/5/xy.js"></script>
<script src="https://cdn.amcharts.com/lib/5/themes/Animated.js"></script>
<script src="https://cdn.amcharts.com/lib/5/locales/de_DE.js"></script>
<script src="https://cdn.amcharts.com/lib/5/geodata/germanyLow.js"></script>
<script src="https://cdn.amcharts.com/lib/5/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.
The current latest versions of amCharts 5 packages are as follows:
amCharts 5 (main package) | 5.10.7 |
Geodata (maps) | 5.1.4 |
Fonts | 5.0.1 |
Specific versions
Whole back-catalog of versions for the main package are available in CDN via http(s)://cdn.amcharts.com/lib/version/[version number]
.
<script src="https://cdn.amcharts.com/lib/version/5.10.7/index.js"></script> <script src="https://cdn.amcharts.com/lib/version/5.10.7/xy.js"></script> <script src="https://cdn.amcharts.com/lib/version/5.10.7/themes/Animated.js"></script> <script src="https://cdn.amcharts.com/lib/version/5.10.7/locales/de_DE.js"></script>
Version specific CDN is not available for geodata and fonts packages.
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.
Download a standalone JavaScript version
If you’d like to install amCharts 5 files right on your server, you can download these archives listed below.
amCharts 5 JavaScript Charts & Maps | Version 5.10.7 (October 12, 2024) | 5.3M | Download |
amCharts 5 fonts | Version 5.0.1 (August 25, 2021) | 18.5M | Download |
amCharts 5 geodata | Version 5.1.4 (July 03, 2024) | 81.7M | Download |
Fork from GitHub
Our amCharts 5 repository contains source files in TypeScript, as well as build scripts to create your own version in JavaScript and ES2015.
Further info
Not sure where to start? How about checking out “Getting started” tutorial in amCharts 5 documentation website.