Chart.js vs uPlot
A data-driven comparison of two JavaScript charting libraries: popularity, development activity, licensing and installation. Updated .
Key differences
- Chart.js has 6.4× as many GitHub stars as uPlot (67.7K vs 10.5K).
- uPlot had more development activity over the last 12 months: 118 commits vs 21.
- Chart.js is downloaded 22× as often on npm (15.7M vs 714.6K per week).
- Both are released under the MIT license.
- Chart.js is the older project: its repository was created in 2013, uPlot's in 2019.
By the numbers
- Chart.js
- uPlot
Show data as a table
| Metric | Chart.js | uPlot |
|---|---|---|
| GitHub stars | 67,733 | 10,542 |
| npm downloads / week | 15,670,895 | 714,627 |
| Commits, last 12 months | 21 | 118 |
| Contributors | 426 | 49 |
| Forks | 11,947 | 462 |
Development activity
Commits per month to each default branch, last 12 complete months.
- Chart.js
- uPlot
Show data as a table
| Month | Chart.js | uPlot |
|---|---|---|
| Oct 2025 | 6 | 10 |
| Nov 2025 | 3 | 0 |
| Dec 2025 | 0 | 0 |
| Jan 2026 | 0 | 1 |
| Feb 2026 | 0 | 5 |
| Mar 2026 | 0 | 0 |
| Apr 2026 | 1 | 2 |
| May 2026 | 1 | 3 |
| Jun 2026 | 0 | 0 |
| Jul 2026 | 0 | 0 |
| Aug 2026 | 0 | 0 |
| Sep 2026 | 10 | 97 |
Side by side
| Attribute | Chart.js | uPlot |
|---|---|---|
| Description | Charts with the canvas tag. | Small, fast canvas-based charts for time series, lines, areas, OHLC and bars. |
| Category | JavaScript charting libraries | JavaScript charting libraries |
| License | MIT | MIT |
| Language | JavaScript | JavaScript |
| Status | Active | Active |
| Latest release | v4.5.1 () | 1.6.32 () |
| Last commit | ||
| Repository created | ||
| Open issues | 499 | 118 |
| Install | npm install chart.js | npm install uplot |
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.