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.

JavaScript charting libraries, ranked by GitHub stars
1 Chart.js

Charts with the canvas tag.

67.8K 20 MIT
2 Apache ECharts

Highly customizable and interactive charts ready for big datasets.

67.7K 242 Apache-2.0
3 Plotly.js

Powerful declarative library with support for 20 chart types.

18.4K 1,586 MIT
4 ApexCharts

Modern & Interactive SVG Charts.

15.2K 1,494 Other
5 Frappe Charts Inactive

Simple, responsive SVG charts with zero dependencies.

15.1K 0 MIT
6 Chartist.js

Responsive charts with great browser compatibility.

13.5K 609 MIT
7 G2

An interactive and responsive charting library based on the grammar of graphics, maintained by Alibaba.

12.7K 84 MIT
8 uPlot

Small, fast canvas-based charts for time series, lines, areas, OHLC and bars.

10.7K 184 MIT
9 C3.js

D3-based reusable chart library.

9.4K 18 MIT
10 chart.xkcd

Chart library that renders line, bar, pie and other charts in a hand-drawn xkcd style.

7.9K 11 MIT
11 dc.js Inactive

Multi-dimensional charting built to work natively with crossfilter.

7.4K 0 Apache-2.0
12 MetricsGraphics.js Inactive

Optimized for time-series data.

7.4K 0 MPL-2.0
13 NVD3 Inactive

A reusable charting library written in d3.js.

7.2K 0 Apache-2.0
14 roughViz Inactive

Sketchy, hand-drawn style charts for the browser, based on Rough.js.

7.2K 0 MIT
15 Charts.css Inactive

CSS framework that styles HTML tables as charts.

6.6K 0 MIT
16 heatmap.js Inactive

Canvas-based library for rendering heatmaps, with plugins for Leaflet and Google Maps.

6.4K 0 MIT
17 Frappe Gantt

Simple, interactive SVG Gantt chart library.

6.2K 24 MIT
18 billboard.js

Reusable D3.js-based chart library with SVG and Canvas rendering, maintained by NAVER.

6K 139 MIT
19 Flot Inactive

JQuery plotting library for line, bar and pie charts with zooming and other interactive features.

5.9K 0 MIT
20 Observable Plot

A JavaScript library for exploratory data visualization.

5.4K 38 ISC
21 TOAST UI Chart Archived

Complete library with support for legacy browsers.

5.4K 0 MIT
22 Epoch Inactive

Perfect to create real-time charts.

4.9K 0 MIT
23 Britecharts

Accessible D3-based charts for JavaScript and React, with keyboard navigation, dark mode and TypeScript support.

3.7K 193 Apache-2.0
24 ChartGPU

WebGPU charting library for large datasets, real-time streaming and multi-chart dashboards.

3.3K 710 MIT
25 Dygraphs

Interactive line charts library that works with huge datasets.

3.2K 54 MIT
26 Cal-Heatmap Inactive

Time-series calendar heatmaps, similar to GitHub's contribution graph, built on D3.

3.1K 0 MIT
27 Unovis

Modular data visualization framework for React, Angular, Svelte, Vue and vanilla TypeScript, by F5.

2.9K 690 Apache-2.0
28 ECharts GL

Extension for Apache ECharts that adds 3D plots, globe visualizations and WebGL-accelerated series.

2.7K 9 BSD-3-Clause
29 Vizzu

Library for animated data visualizations and data stories.

2.1K 21 Apache-2.0
30 DHTMLX Gantt

Gantt chart component for project schedules, with task dependencies and drag-and-drop editing.

1.9K 9 MIT
31 VChart

Cross-platform charting library with animation and storytelling features, from ByteDance's VisActor.

1.9K 895 MIT
32 Carbon Charts

Chart library from IBM's Carbon Design System, built on D3, with React, Angular, Vue and Svelte wrappers.

1.1K 126 Apache-2.0
33 GraphicsJS Inactive

Lightweight JS graphics library with intuitive API, based on SVG/VML.

993 0 BSD-3-Clause
34 lit-line Inactive

SVG Line Chart Web Component - light, fast, interactive & fully responsive.

22 0 MIT
35 Glyph

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 258 Apache-2.0
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?

By GitHub stars, Chart.js is the most popular, with 67.8K stars, followed by Apache ECharts (67.7K) and Plotly.js (18.4K).

Which JavaScript charting libraries are actively maintained?

22 of the 36 tools listed had commits in the last 12 months, including Chart.js, Apache ECharts, Plotly.js, ApexCharts, and Chartist.js. Each tool page shows monthly commit activity.

Are these JavaScript charting libraries free and open source?

34 of the 36 tools listed use an OSI-approved open-source license; the others are source-available, free to use, or use a custom license, so check each tool page. The most common license here is MIT.

Missing a tool? Add it with a one-line pull request to the README.