Key differences

  • Chart.js has 2.5× as many GitHub stars as Recharts (67.7K vs 27.6K).
  • Recharts had more development activity over the last 12 months: 1,046 commits vs 21.
  • Recharts is downloaded 4.5× as often on npm (70.7M vs 15.7M per week).
  • Both are released under the MIT license.
  • Chart.js is written primarily in JavaScript, Recharts in TypeScript.
  • Chart.js is the older project: its repository was created in 2013, Recharts's in 2015.

By the numbers

  • Chart.js
  • Recharts
GitHub stars
67.7K 27.6K
npm downloads / week
15.7M 70.7M
Commits, last 12 months
21 1K
Contributors
426 412
Forks
11.9K 2K
Show data as a table
Chart.js vs Recharts by the numbers
MetricChart.jsRecharts
GitHub stars67,73327,612
npm downloads / week15,670,89570,698,294
Commits, last 12 months211,046
Contributors426412
Forks11,9471,999

Development activity

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

  • Chart.js
  • Recharts
050100150 Oct 2025 Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug SepChart.jsRecharts
050100150 Oct 2025 Jan 2026 Apr Jul Chart.jsRecharts
Show data as a table
Chart.js vs Recharts: commits per month
MonthChart.jsRecharts
Oct 20256112
Nov 20253110
Dec 20250103
Jan 2026076
Feb 2026076
Mar 2026083
Apr 2026152
May 2026169
Jun 2026086
Jul 2026069
Aug 2026083
Sep 202610127

Side by side

AttributeChart.jsRecharts
DescriptionCharts with the canvas tag.Declarative react components to render D3 charts.
CategoryJavaScript charting librariesReact chart & visualization libraries
LicenseMITMIT
LanguageJavaScriptTypeScript
StatusActiveActive
Latest releasev4.5.1 ()v3.10.1 ()
Last commit
Repository created
Open issues499404
Install
npm install chart.js
npm install recharts

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

  • Recharts

    Declarative react components to render D3 charts.

    27.6K starsTypeScriptMIT

More comparisons