D3.js
JavaScript library for producing dynamic, data-driven visualizations with SVG, Canvas and HTML.
- GitHub stars
- 113.8K#1 in the directory
- npm downloads / week
- 25.7M
- Commits, last 12 months
- 2
- Contributors
- 136
- Last commit
- Latest release
- v7.9.0Mar 12, 2024
Overview
D3.js is an open-source JavaScript visualization library released under the ISC license. Its GitHub repository has 113,802 stars, 22,637 forks, and 136 contributors. It is maintained with 2 commits in the last 12 months; the most recent commit was on May 28, 2026. The latest release, v7.9.0, was published on Mar 12, 2024. On npm it is downloaded about 25.7M times per week.
Its GitHub description: Bring data to life with SVG, Canvas and HTML.
GitHub topics: visualizationdata-visualizationchartssvgchartd3
Install
Development activity
Commits per month to the default branch over the last 12 complete months.
Show data as a table
| Month | Commits |
|---|---|
| Oct 2025 | 0 |
| Nov 2025 | 0 |
| Dec 2025 | 1 |
| Jan 2026 | 0 |
| Feb 2026 | 0 |
| Mar 2026 | 0 |
| Apr 2026 | 0 |
| May 2026 | 1 |
| Jun 2026 | 0 |
| Jul 2026 | 0 |
| Aug 2026 | 0 |
| Sep 2026 | 0 |
Popularity among related tools
Show data as a table
| Tool | Stars |
|---|---|
| D3.js | 113,802 |
| Chart.js | 67,733 |
| Apache ECharts | 67,449 |
| Leaflet | 45,702 |
| xyflow | 38,582 |
| Recharts | 27,612 |
| visx | 21,075 |
Alternatives to D3.js
-
Chart.js
Charts with the canvas tag.
-
Apache ECharts
Highly customizable and interactive charts ready for big datasets.
-
Leaflet
JavaScript library for mobile-friendly interactive maps.
-
xyflow
React Flow and Svelte Flow: libraries for building node-based editors, flow charts and interactive diagrams.
-
Recharts
Declarative react components to render D3 charts.
-
visx
Low-level visualization components that combine D3 with React, by Airbnb.
More comparisons: Chart.js vs D3.js · D3.js vs Apache ECharts · D3.js vs Plotly.js · D3.js vs Observable Plot · D3.js vs visx
D3.js FAQ
Is D3.js open source?
Is D3.js still maintained?
How do I install D3.js?
npm install d3.What are the best alternatives to D3.js?
What language is D3.js written in?
Data: GitHub API, npm. Updated Oct 4, 2026.