D3.js vs Apache ECharts
A data-driven comparison of two data visualization tools: popularity, development activity, licensing and installation. Updated .
JavaScript library for producing dynamic, data-driven visualizations with SVG, Canvas and HTML.
Highly customizable and interactive charts ready for big datasets.
Key differences
- D3.js has 1.7× as many GitHub stars as Apache ECharts (113.8K vs 67.4K).
- Apache ECharts had more development activity over the last 12 months: 266 commits vs 2.
- D3.js is downloaded 3.8× as often on npm (25.7M vs 6.7M per week).
- D3.js is licensed under ISC; Apache ECharts under Apache-2.0.
- D3.js is written primarily in JavaScript, Apache ECharts in TypeScript.
- D3.js is the older project: its repository was created in 2010, Apache ECharts's in 2013.
By the numbers
- D3.js
- Apache ECharts
Show data as a table
| Metric | D3.js | Apache ECharts |
|---|---|---|
| GitHub stars | 113,802 | 67,449 |
| npm downloads / week | 25,739,179 | 6,709,995 |
| Commits, last 12 months | 2 | 266 |
| Contributors | 136 | 274 |
| Forks | 22,637 | 19,817 |
Development activity
Commits per month to each default branch, last 12 complete months.
- D3.js
- Apache ECharts
Show data as a table
| Month | D3.js | Apache ECharts |
|---|---|---|
| Oct 2025 | 0 | 26 |
| Nov 2025 | 0 | 22 |
| Dec 2025 | 1 | 42 |
| Jan 2026 | 0 | 21 |
| Feb 2026 | 0 | 15 |
| Mar 2026 | 0 | 45 |
| Apr 2026 | 0 | 39 |
| May 2026 | 1 | 34 |
| Jun 2026 | 0 | 1 |
| Jul 2026 | 0 | 8 |
| Aug 2026 | 0 | 2 |
| Sep 2026 | 0 | 11 |
Side by side
| Attribute | D3.js | Apache ECharts |
|---|---|---|
| Description | JavaScript library for producing dynamic, data-driven visualizations with SVG, Canvas and HTML. | Highly customizable and interactive charts ready for big datasets. |
| Category | D3.js | JavaScript charting libraries |
| License | ISC | Apache-2.0 |
| Language | JavaScript | TypeScript |
| Status | Maintained | Active |
| Latest release | v7.9.0 () | 6.1.0 () |
| Last commit | ||
| Repository created | ||
| Open issues | 5 | 1,294 |
| Install | npm install d3 | npm install echarts |
Which should you choose?
Popularity and activity are only part of the story. Consider which ecosystem you work in, the chart types and interactions you need, how much data you render, and whether the license fits your project. Both tool pages list alternatives if neither is quite right.
-
D3.js
JavaScript library for producing dynamic, data-driven visualizations with SVG, Canvas and HTML.
-
Apache ECharts
Highly customizable and interactive charts ready for big datasets.