Chart.js vs Recharts
A data-driven comparison of two data visualization tools: popularity, development activity, licensing and installation. Updated .
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
Show data as a table
| Metric | Chart.js | Recharts |
|---|---|---|
| GitHub stars | 67,733 | 27,612 |
| npm downloads / week | 15,670,895 | 70,698,294 |
| Commits, last 12 months | 21 | 1,046 |
| Contributors | 426 | 412 |
| Forks | 11,947 | 1,999 |
Development activity
Commits per month to each default branch, last 12 complete months.
- Chart.js
- Recharts
Show data as a table
| Month | Chart.js | Recharts |
|---|---|---|
| Oct 2025 | 6 | 112 |
| Nov 2025 | 3 | 110 |
| Dec 2025 | 0 | 103 |
| Jan 2026 | 0 | 76 |
| Feb 2026 | 0 | 76 |
| Mar 2026 | 0 | 83 |
| Apr 2026 | 1 | 52 |
| May 2026 | 1 | 69 |
| Jun 2026 | 0 | 86 |
| Jul 2026 | 0 | 69 |
| Aug 2026 | 0 | 83 |
| Sep 2026 | 10 | 127 |
Side by side
| Attribute | Chart.js | Recharts |
|---|---|---|
| Description | Charts with the canvas tag. | Declarative react components to render D3 charts. |
| Category | JavaScript charting libraries | React chart & visualization libraries |
| License | MIT | MIT |
| Language | JavaScript | TypeScript |
| Status | Active | Active |
| Latest release | v4.5.1 () | v3.10.1 () |
| Last commit | ||
| Repository created | ||
| Open issues | 499 | 404 |
| 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.