JavaScript charting libraries
Libraries for line, bar, area, pie, scatter and other standard charts in the browser. 29 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.7K stars), Apache ECharts (67.4K stars), and Plotly.js (18.4K stars). 13 of 29 had commits in the last 90 days.
| 1 |
Charts with the canvas tag. |
67.7K |
| 2 |
Highly customizable and interactive charts ready for big datasets. |
67.4K |
| 3 |
Powerful declarative library with support for 20 chart types. |
18.4K |
| 4 |
Performant HTML5 canvas financial charts, from TradingView. |
17.5K |
| 5 |
Modern & Interactive SVG Charts. |
15.2K |
| 6 |
Simple, responsive SVG charts with zero dependencies. |
15.1K |
| 7 |
Responsive charts with great browser compatibility. |
13.4K |
| 8 |
An interactive and responsive charting library based on the grammar of graphics, maintained by Alibaba. |
12.6K |
| 9 |
Small, fast canvas-based charts for time series, lines, areas, OHLC and bars. |
10.5K |
| 10 |
D3-based reusable chart library. |
9.4K |
| 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 |
Simple, interactive SVG Gantt chart library. |
6.1K |
| 17 |
Reusable D3.js-based chart library with SVG and Canvas rendering, maintained by NAVER. |
6K |
| 18 |
A JavaScript library for exploratory data visualization. |
5.4K |
| 19 |
Complete library with support for legacy browsers. |
5.4K |
| 20 |
Perfect to create real-time charts. |
4.9K |
| 21 |
Interactive line charts library that works with huge datasets. |
3.2K |
| 22 |
Modular data visualization framework for React, Angular, Svelte, Vue and vanilla TypeScript, by F5. |
2.9K |
| 23 |
Stock and financial charts. |
2.4K |
| 24 |
Library for animated data visualizations and data stories. |
2K |
| 25 |
Lightweight JS graphics library with intuitive API, based on SVG/VML. |
995 |
| 26 |
Flexible financial charting library based on HTML5 canvas. |
101 |
| 27 |
SVG Line Chart Web Component - light, fast, interactive & fully responsive. |
22 |
| 28 |
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. |
3 |
| 29 |
Google Charts
Interactive charts for browsers and mobile devices. |
– |
Head-to-head comparisons
- Chart.js vs Apache ECharts
- Chart.js vs Plotly.js
- Chart.js vs Lightweight Charts
- ApexCharts vs Chart.js
- Apache ECharts vs Plotly.js
- Apache ECharts vs Lightweight Charts
- ApexCharts vs Apache ECharts
- Lightweight Charts vs Plotly.js
- ApexCharts vs Plotly.js
- ApexCharts vs Lightweight Charts
- Chart.js vs uPlot
- dxcharts-lite vs Lightweight Charts
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.