Key differences

  • Chart.js has 3.7× as many GitHub stars as Plotly.js (67.7K vs 18.4K).
  • Plotly.js had more development activity over the last 12 months: 1,549 commits vs 21.
  • Chart.js is downloaded 18× as often on npm (15.7M vs 873K per week).
  • Both are released under the MIT license.
  • Chart.js is the older project: its repository was created in 2013, Plotly.js's in 2015.

By the numbers

  • Chart.js
  • Plotly.js
GitHub stars
67.7K 18.4K
npm downloads / week
15.7M 873K
Commits, last 12 months
21 1.5K
Contributors
426 263
Forks
11.9K 2K
Show data as a table
Chart.js vs Plotly.js by the numbers
MetricChart.jsPlotly.js
GitHub stars67,73318,355
npm downloads / week15,670,895873,003
Commits, last 12 months211,549
Contributors426263
Forks11,9472,044

Development activity

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

  • Chart.js
  • Plotly.js
0200400 Oct 2025 Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug SepChart.jsPlotly.js
0200400 Oct 2025 Jan 2026 Apr Jul Chart.jsPlotly.js
Show data as a table
Chart.js vs Plotly.js: commits per month
MonthChart.jsPlotly.js
Oct 20256137
Nov 2025364
Dec 2025058
Jan 2026078
Feb 2026055
Mar 2026037
Apr 20261122
May 20261139
Jun 20260335
Jul 20260255
Aug 20260148
Sep 202610121

Side by side

AttributeChart.jsPlotly.js
DescriptionCharts with the canvas tag.Powerful declarative library with support for 20 chart types.
CategoryJavaScript charting librariesJavaScript charting libraries
LicenseMITMIT
LanguageJavaScriptJavaScript
StatusActiveActive
Latest releasev4.5.1 ()v4.1.1 ()
Last commit
Repository created
Open issues499728
Install
npm install chart.js
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.

  • Chart.js

    Charts with the canvas tag.

    67.7K starsJavaScriptMIT

  • Plotly.js

    Powerful declarative library with support for 20 chart types.

    18.4K starsJavaScriptMIT

More comparisons