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

npm
npm install d3
v7.9.0

Development activity

Commits per month to the default branch over the last 12 complete months.

00.51 Oct 2025 Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep
00.51 Oct 2025 Jan 2026 Apr Jul
2 commits from Oct 2025 to Sep 2026.
Show data as a table
D3.js commits per month
MonthCommits
Oct 20250
Nov 20250
Dec 20251
Jan 20260
Feb 20260
Mar 20260
Apr 20260
May 20261
Jun 20260
Jul 20260
Aug 20260
Sep 20260

Popularity among related tools

GitHub stars for D3.js and the most-starred alternatives.
Show data as a table
GitHub stars
ToolStars
D3.js113,802
Chart.js67,733
Apache ECharts67,449
Leaflet45,702
xyflow38,582
Recharts27,612
visx21,075

Alternatives to D3.js

  • Chart.js

    Charts with the canvas tag.

    67.7K starsJavaScriptMITD3.js vs Chart.js

  • Apache ECharts

    Highly customizable and interactive charts ready for big datasets.

    67.4K starsTypeScriptApache-2.0D3.js vs Apache ECharts

  • Leaflet

    JavaScript library for mobile-friendly interactive maps.

    45.7K starsJavaScriptBSD-2-Clause

  • xyflow

    React Flow and Svelte Flow: libraries for building node-based editors, flow charts and interactive diagrams.

    38.6K starsTypeScriptMIT

  • Recharts

    Declarative react components to render D3 charts.

    27.6K starsTypeScriptMIT

  • visx

    Low-level visualization components that combine D3 with React, by Airbnb.

    21.1K starsTypeScriptMITD3.js vs visx

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?

Yes. D3.js is released under the ISC license, and its source code is on GitHub.

Is D3.js still maintained?

Mostly. D3.js had 2 commits in the last 12 months; the latest was on May 28, 2026.

How do I install D3.js?

From npm: npm install d3.

What are the best alternatives to D3.js?

The most popular alternatives listed in D3.js are Chart.js, Apache ECharts, and Leaflet. See the full ranking.

What language is D3.js written in?

D3.js is primarily written in JavaScript, according to GitHub.

Data: GitHub API, npm. Updated Oct 4, 2026.