Key differences

  • D3.js has 6.2× as many GitHub stars as Plotly.js (114K vs 18.4K).
  • Plotly.js had more development activity over the last 12 months: 1,586 commits vs 3.
  • D3.js is downloaded 37× as often on npm (34.1M vs 931.1K 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
114K 18.4K
npm downloads / week
34.1M 931.1K
Commits, last 12 months
3 1.6K
Contributors
136 269
Forks
22.7K 2.1K
Show data as a table
D3.js vs Plotly.js by the numbers
MetricD3.jsPlotly.js
GitHub stars113,95718,384
npm downloads / week34,138,227931,125
Commits, last 12 months31,586
Contributors136269
Forks22,7132,071

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 20260160
Sep 20260152
Oct 20261127

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.3.0 ()
Last commit
Repository created
Open issues5727
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.

    114K starsJavaScriptISC

  • Plotly.js

    Powerful declarative library with support for 20 chart types.

    18.4K starsJavaScriptMIT

More comparisons