JavaScript charting libraries
Libraries for line, bar, area, pie, scatter and other standard charts in the browser. 36 tools, ranked by GitHub stars and updated .
Libraries for drawing standard charts (line, bar, area, pie, scatter and more) in the browser. They differ mostly in rendering technology, in how charts are configured, and in licensing. SVG output is easy to style, inspect and make accessible; Canvas and WebGL renderers scale to far more data points.
Start with data size and interactivity: SVG libraries are comfortable up to a few thousand marks, while Canvas-based libraries such as Chart.js and Apache ECharts handle much larger series. Then compare configuration style (declarative options objects versus code), framework wrappers, accessibility support and whether the license fits your product.
By GitHub stars, the most popular JavaScript charting libraries here are Chart.js (67.8K stars), Apache ECharts (67.7K stars), and Plotly.js (18.4K stars). 17 of 36 had commits in the last 90 days.
| 1 |
Charts with the canvas tag. |
67.8K |
| 2 |
Highly customizable and interactive charts ready for big datasets. |
67.7K |
| 3 |
Powerful declarative library with support for 20 chart types. |
18.4K |
| 4 |
Modern & Interactive SVG Charts. |
15.2K |
| 5 |
Simple, responsive SVG charts with zero dependencies. |
15.1K |
| 6 |
Responsive charts with great browser compatibility. |
13.5K |
| 7 |
An interactive and responsive charting library based on the grammar of graphics, maintained by Alibaba. |
12.7K |
| 8 |
Small, fast canvas-based charts for time series, lines, areas, OHLC and bars. |
10.7K |
| 9 |
D3-based reusable chart library. |
9.4K |
| 10 |
Chart library that renders line, bar, pie and other charts in a hand-drawn xkcd style. |
7.9K |
| 11 |
Multi-dimensional charting built to work natively with crossfilter. |
7.4K |
| 12 |
Optimized for time-series data. |
7.4K |
| 13 |
A reusable charting library written in d3.js. |
7.2K |
| 14 |
Sketchy, hand-drawn style charts for the browser, based on Rough.js. |
7.2K |
| 15 |
CSS framework that styles HTML tables as charts. |
6.6K |
| 16 |
Canvas-based library for rendering heatmaps, with plugins for Leaflet and Google Maps. |
6.4K |
| 17 |
Simple, interactive SVG Gantt chart library. |
6.2K |
| 18 |
Reusable D3.js-based chart library with SVG and Canvas rendering, maintained by NAVER. |
6K |
| 19 |
JQuery plotting library for line, bar and pie charts with zooming and other interactive features. |
5.9K |
| 20 |
A JavaScript library for exploratory data visualization. |
5.4K |
| 21 |
Complete library with support for legacy browsers. |
5.4K |
| 22 |
Perfect to create real-time charts. |
4.9K |
| 23 |
Accessible D3-based charts for JavaScript and React, with keyboard navigation, dark mode and TypeScript support. |
3.7K |
| 24 |
WebGPU charting library for large datasets, real-time streaming and multi-chart dashboards. |
3.3K |
| 25 |
Interactive line charts library that works with huge datasets. |
3.2K |
| 26 |
Time-series calendar heatmaps, similar to GitHub's contribution graph, built on D3. |
3.1K |
| 27 |
Modular data visualization framework for React, Angular, Svelte, Vue and vanilla TypeScript, by F5. |
2.9K |
| 28 |
Extension for Apache ECharts that adds 3D plots, globe visualizations and WebGL-accelerated series. |
2.7K |
| 29 |
Library for animated data visualizations and data stories. |
2.1K |
| 30 |
Gantt chart component for project schedules, with task dependencies and drag-and-drop editing. |
1.9K |
| 31 |
Cross-platform charting library with animation and storytelling features, from ByteDance's VisActor. |
1.9K |
| 32 |
Chart library from IBM's Carbon Design System, built on D3, with React, Angular, Vue and Svelte wrappers. |
1.1K |
| 33 |
Lightweight JS graphics library with intuitive API, based on SVG/VML. |
993 |
| 34 |
SVG Line Chart Web Component - light, fast, interactive & fully responsive. |
22 |
| 35 |
Deterministic chart library that renders the same JSON spec to identical SVG on every platform, with DuckDB inside and an MCP server for AI agents. |
4 |
| 36 |
Google Charts
Interactive charts for browsers and mobile devices. |
– |
Head-to-head comparisons
Related topics
Related categories
Frequently asked questions
What is the most popular JavaScript charting library?
Which JavaScript charting libraries are actively maintained?
Are these JavaScript charting libraries free and open source?
Missing a tool? Add it with a one-line pull request to the README.