Key differences

  • D3.js has 6.2× as many GitHub stars as Plotly.js (113.8K vs 18.4K).
  • Plotly.js had more development activity over the last 12 months: 1,549 commits vs 2.
  • D3.js is downloaded 29× as often on npm (25.7M vs 873K 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.8K 18.4K
npm downloads / week
25.7M 873K
Commits, last 12 months
2 1.5K
Contributors
136 263
Forks
22.6K 2K
Show data as a table
D3.js vs Plotly.js by the numbers
MetricD3.jsPlotly.js
GitHub stars113,80218,355
npm downloads / week25,739,179873,003
Commits, last 12 months21,549
Contributors136263
Forks22,6372,044

Development activity

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

  • D3.js
  • Plotly.js
0200400 Oct 2025 Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug SepD3.jsPlotly.js
0200400 Oct 2025 Jan 2026 Apr Jul D3.jsPlotly.js
Show data as a table
D3.js vs Plotly.js: commits per month
MonthD3.jsPlotly.js
Oct 20250137
Nov 2025064
Dec 2025158
Jan 2026078
Feb 2026055
Mar 2026037
Apr 20260122
May 20261139
Jun 20260335
Jul 20260255
Aug 20260148
Sep 20260121

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
StatusMaintainedActive
Latest releasev7.9.0 ()v4.1.1 ()
Last commit
Repository created
Open issues5728
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.8K starsJavaScriptISC

  • Plotly.js

    Powerful declarative library with support for 20 chart types.

    18.4K starsJavaScriptMIT

More comparisons