Key differences

  • D3.js has 6.2× as many GitHub stars as Plotly.js (113.9K vs 18.4K).
  • Plotly.js had more development activity over the last 12 months: 1,567 commits vs 3.
  • D3.js is downloaded 33× as often on npm (32.2M vs 965.5K per week).
  • D3.js is licensed under ISC; Plotly.js under MIT.
  • D3.js is the older project: its repository was created in 2010, Plotly.js's in 2015.

By the numbers

  • D3.js
  • Plotly.js
GitHub stars
113.9K 18.4K
npm downloads / week
32.2M 965.5K
Commits, last 12 months
3 1.6K
Contributors
136 267
Forks
22.7K 2.1K
Show data as a table
D3.js vs Plotly.js by the numbers
MetricD3.jsPlotly.js
GitHub stars113,87618,376
npm downloads / week32,188,633965,466
Commits, last 12 months31,567
Contributors136267
Forks22,7222,066

Development activity

Commits per month to each default branch, last 12 complete months.

  • D3.js
  • Plotly.js
0200400 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep OctD3.jsPlotly.js
0200400 Nov 2025 Feb 2026 May Aug D3.jsPlotly.js
Show data as a table
D3.js vs Plotly.js: commits per month
MonthD3.jsPlotly.js
Nov 2025064
Dec 2025158
Jan 2026078
Feb 2026055
Mar 2026037
Apr 20260122
May 20261139
Jun 20260337
Jul 20260257
Aug 20260154
Sep 20260152
Oct 20261114

Side by side

AttributeD3.jsPlotly.js
DescriptionJavaScript library for producing dynamic, data-driven visualizations with SVG, Canvas and HTML.Powerful declarative library with support for 20 chart types.
CategoryD3.jsJavaScript charting libraries
LicenseISCMIT
LanguageJavaScriptJavaScript
StatusActiveActive
Latest releasev7.9.2 ()v4.2.0 ()
Last commit
Repository created
Open issues4731
Install
npm install d3
npm install plotly.js

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.

    113.9K starsJavaScriptISC

  • Plotly.js

    Powerful declarative library with support for 20 chart types.

    18.4K starsJavaScriptMIT

More comparisons