Key differences

  • Chart.js has 3.7× as many GitHub stars as Plotly.js (67.8K vs 18.4K).
  • Plotly.js had more development activity over the last 12 months: 1,586 commits vs 20.
  • Chart.js is downloaded 18× as often on npm (17M vs 931.1K 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.8K 18.4K
npm downloads / week
17M 931.1K
Commits, last 12 months
20 1.6K
Contributors
426 269
Forks
12K 2.1K
Show data as a table
Chart.js vs Plotly.js by the numbers
MetricChart.jsPlotly.js
GitHub stars67,80318,384
npm downloads / week16,950,775931,125
Commits, last 12 months201,586
Contributors426269
Forks11,9722,071

Development activity

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

  • Chart.js
  • Plotly.js
0200400 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep OctChart.jsPlotly.js
0200400 Nov 2025 Feb 2026 May Aug Chart.jsPlotly.js
Show data as a table
Chart.js vs Plotly.js: commits per month
MonthChart.jsPlotly.js
Nov 2025364
Dec 2025058
Jan 2026078
Feb 2026055
Mar 2026037
Apr 20261122
May 20261139
Jun 20260337
Jul 20260257
Aug 20260160
Sep 202610152
Oct 20265127

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.6.1 ()v4.3.0 ()
Last commit
Repository created
Open issues503727
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.8K starsJavaScriptMIT

  • Plotly.js

    Powerful declarative library with support for 20 chart types.

    18.4K starsJavaScriptMIT

More comparisons