GitHub stars
67.7K#5 in the directory
npm downloads / week
15.7M
Commits, last 12 months
21
Contributors
426
Last commit
Latest release
v4.5.1Oct 13, 2025

Overview

Chart.js is an open-source JavaScript charting library released under the MIT license. Its GitHub repository has 67,733 stars, 11,947 forks, and 426 contributors. It is actively developed with 21 commits in the last 12 months. The latest release, v4.5.1, was published on Oct 13, 2025. On npm it is downloaded about 15.7M times per week.

Its GitHub description: Simple HTML5 Charts using the <canvas> tag

GitHub topics: javascriptcharthtml5canvasgraphhtml5-charts

Install

npm
npm install chart.js
v4.5.1

Development activity

Commits per month to the default branch over the last 12 complete months.

0510 Oct 2025 Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep
0510 Oct 2025 Jan 2026 Apr Jul
21 commits from Oct 2025 to Sep 2026.
Show data as a table
Chart.js commits per month
MonthCommits
Oct 20256
Nov 20253
Dec 20250
Jan 20260
Feb 20260
Mar 20260
Apr 20261
May 20261
Jun 20260
Jul 20260
Aug 20260
Sep 202610

Popularity among JavaScript charting libraries

GitHub stars for Chart.js and the most-starred alternatives.
Show data as a table
GitHub stars
ToolStars
Chart.js67,733
Apache ECharts67,449
Plotly.js18,355
Lightweight Charts17,473
ApexCharts15,169
Frappe Charts15,088
Chartist.js13,390

Alternatives to Chart.js

More comparisons: Chart.js vs Apache ECharts · Chart.js vs Plotly.js · Chart.js vs Lightweight Charts · ApexCharts vs Chart.js · Chart.js vs D3.js · Chart.js vs Recharts · Chart.js vs uPlot

Chart.js FAQ

Is Chart.js open source?

Yes. Chart.js is released under the MIT license, and its source code is on GitHub.

Is Chart.js still maintained?

Yes. Chart.js is actively developed, with 21 commits in the last 12 months and the latest commit yesterday.

How do I install Chart.js?

From npm: npm install chart.js.

What are the best alternatives to Chart.js?

The most popular alternatives listed in JavaScript charting libraries are Apache ECharts, Plotly.js, and Lightweight Charts. See the full ranking.

What language is Chart.js written in?

Chart.js is primarily written in JavaScript, according to GitHub.

Data: GitHub API, npm. Updated Oct 4, 2026.