GitHub stars
114K#1 in the directory
npm downloads / week
34.1M
Commits, last 12 months
3
Contributors
136
Last commit
Latest release
v7.9.2Nov 3, 2026

Overview

D3.js is an open-source JavaScript visualization library released under the ISC license. Its GitHub repository has 113,957 stars, 22,713 forks, and 136 contributors. It is actively developed with 3 commits in the last 12 months. The latest release, v7.9.2, was published on Nov 3, 2026. On npm it is downloaded about 34.1M 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.2

Development activity

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

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

Popularity among related tools

GitHub stars for D3.js and the most-starred alternatives.
Show data as a table
GitHub stars
ToolStars
D3.js113,957
Chart.js67,803
Apache ECharts67,746
Leaflet45,953
xyflow39,070
Recharts27,719
visx21,116

Alternatives to D3.js

  • Chart.js

    Charts with the canvas tag.

    67.8K starsJavaScriptMITD3.js vs Chart.js

  • Apache ECharts

    Highly customizable and interactive charts ready for big datasets.

    67.7K starsTypeScriptApache-2.0D3.js vs Apache ECharts

  • Leaflet

    JavaScript library for mobile-friendly interactive maps.

    46K starsJavaScriptBSD-2-Clause

  • xyflow

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

    39.1K starsTypeScriptMIT

  • Recharts

    Declarative react components to render D3 charts.

    27.7K 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?

Yes. D3.js is actively developed, with 3 commits in the last 12 months and the latest commit 14 days ago.

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 Nov 18, 2026.