
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
highcharts
Advanced tools
The only charting library you need. Highcharts is a pure JavaScript/TypeScript charting library, built from scratch that makes it easy to create responsive, interactive, and accessible charts for web and mobile platforms.
Trusted by 80 out of the world's 100 largest companies, Highcharts offers a comprehensive suite including Highcharts Core, Stock (financial charting), Maps (geo maps), and Gantt.
Also note the related packages for Highcharts Dashboards, Highcharts Grid Lite, and Highcharts Grid Pro.
Note: This package is intended for supporting client-side JavaScript charting through bundlers like Parcel, Vite or Webpack, and development environments like Babel or TypeScript. If you intend to generate static charts on the server side, use the Highcharts node.js Export Server instead.
Despite the comprehensive feature set, Highcharts has a small core library optimized for performance, with zero dependencies. With ES6 module support and tree shaking, you only load what you need, keeping your bundle size minimal and your applications fast. WebGL/WebGPU features boost the rendering of millions of data points if necessary.
Note on package size: The npm package includes all additional modules, typescript typing, various module loading options, and additional packages. However, the actual library you bundle is lightweight. We always strive to keep the core highcharts.js minified & gzipped at <100kB, with zero dependencies.
From area to x-range, all major chart types and more are included. Whether you need basic visualizations or complex financial charts, we've got you covered.
Built-in accessibility features like keyboard navigation, screen reader support, and audio charts help you reach the widest audience possible. We actively contribute to research in the field of accessible data visualization, and strive to make data more accessible to all.
Choose whether to style your charts via code configuration or CSS. Any visual element can be customized, and let you create on-brand visualizations that render crisp and clear at any resolution. Customizability also goes beyond the visual, allowing deep nested interactions if your use-case requires it.
We love to learn how you are using Highcharts, and what you would like to see from us in the future. Join our significant developer community on GitHub, Stack Overflow, Discord, and Highcharts Forums.
Highcharts is front-end tech that works with any back-end database or server stack, and is available for popular frameworks and technologies including React, Angular, Vue, Svelte, Node.js, Flutter, and Python.
SEE LICENSE IN LICENSE.txt.
There are many ways to use Highcharts. Below are some basic snippets, and our Installation docs can be consulted for more details.
npm install --save highcharts
For server-side chart generation, use the Highcharts Export Server instead.
npm install --save highcharts/highcharts-dist#nightly
Note: Nightly builds are not recommended for production as they may contain bugs and are not considered stable.
pnpm add highcharts
<script src="https://code.highcharts.com/highcharts.js"></script>
Browse all available files at code.highcharts.com.
Note: The CDN is not recommended for at-scale production, and may be rate limited to maintain availability according to our fair usage policy.
Here are a few quick start samples. Visit our Getting started tutorials to learn more.
ES6 modules allow tree shaking to minimize your bundle size by including only the features you use.
import Highcharts from 'highcharts/esm/highcharts.js';
// Or load Stock, Maps, or Gantt
// import Highcharts from 'highcharts/esm/highstock.js';
// Load additional modules as needed
import 'highcharts/esm/modules/exporting.js';
// Create your chart
Highcharts.chart('container', {
// options - see https://api.highcharts.com/highcharts
});
import Highcharts from 'highcharts/esm/highcharts';
// Or load Stock, Maps, or Gantt
// import Highcharts from 'highcharts/esm/highstock';
// Load additional modules as needed
import 'highcharts/esm/modules/exporting';
// Create your chart
Highcharts.chart('container', {
// options - see https://api.highcharts.com/highcharts
});
// Load Highcharts
var Highcharts = require('highcharts');
// Or load Stock, Maps, or Gantt
// var Highcharts = require('highcharts/highstock');
// Load and initialize modules
require('highcharts/modules/exporting')(Highcharts);
// Create your chart
Highcharts.chart('container', {
// options - see https://api.highcharts.com/highcharts
});
Built with passion by Highsoft.
Chart.js is a popular open-source charting library that is lightweight and offers a simple API. It supports eight chart types, including line, bar, radar, doughnut, pie, polar area, bubble, and scatter. Compared to Highcharts, Chart.js is more focused on simplicity and ease of use, but it may not offer as many features or as much flexibility for complex visualizations.
D3.js is a powerful and flexible library for creating custom data visualizations using web standards. It provides a low-level approach, giving developers more control over the final visualization. While Highcharts offers a high-level API for creating standard chart types easily, D3.js requires more coding but allows for more unique and intricate visualizations.
ECharts is an open-source charting library that offers a rich set of chart types and options. It is capable of producing interactive and complex charts and maps. ECharts is similar to Highcharts in terms of functionality but is known for its strong support for mobile devices and ease of integration with the Baidu Map service.
amCharts is a comprehensive charting library that provides a wide array of chart types and features, including 3D charts, gauge charts, and timelines. It is comparable to Highcharts in terms of its feature set and is known for its user-friendly interface and extensive documentation. However, amCharts uses a different licensing model, which may be a consideration for some projects.
FAQs
JavaScript charting framework
The npm package highcharts receives a total of 1,818,571 weekly downloads. As such, highcharts popularity was classified as popular.
We found that highcharts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.