Key differences

  • Chart.js has 3.8× as many GitHub stars as Lightweight Charts (67.8K vs 17.9K).
  • Lightweight Charts had more development activity over the last 12 months: 396 commits vs 20.
  • Chart.js is downloaded 9.4× as often on npm (17M vs 1.8M per week).
  • Chart.js is licensed under MIT; Lightweight Charts under Apache-2.0.
  • Chart.js is written primarily in JavaScript, Lightweight Charts in TypeScript.
  • Chart.js is the older project: its repository was created in 2013, Lightweight Charts's in 2019.

By the numbers

  • Chart.js
  • Lightweight Charts
GitHub stars
67.8K 17.9K
npm downloads / week
17M 1.8M
Commits, last 12 months
20 396
Contributors
426 69
Forks
12K 2.7K
Show data as a table
Chart.js vs Lightweight Charts by the numbers
MetricChart.jsLightweight Charts
GitHub stars67,80317,893
npm downloads / week16,950,7751,804,680
Commits, last 12 months20396
Contributors42669
Forks11,9722,716

Development activity

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

  • Chart.js
  • Lightweight Charts
0100200300 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep OctChart.jsLightweight…
0100200300 Nov 2025 Feb 2026 May Aug Chart.jsLightweight…
Show data as a table
Chart.js vs Lightweight Charts: commits per month
MonthChart.jsLightweight Charts
Nov 202538
Dec 2025017
Jan 202608
Feb 2026017
Mar 202602
Apr 2026121
May 2026115
Jun 2026013
Jul 202606
Aug 2026011
Sep 202610204
Oct 2026574

Side by side

AttributeChart.jsLightweight Charts
DescriptionCharts with the canvas tag.Performant HTML5 canvas financial charts, from TradingView.
CategoryJavaScript charting librariesJavaScript financial charting libraries
LicenseMITApache-2.0
LanguageJavaScriptTypeScript
StatusActiveActive
Latest releasev4.6.1 ()v5.3.0 ()
Last commit
Repository created
Open issues503100
Install
npm install chart.js
npm install lightweight-charts

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

  • Lightweight Charts

    Performant HTML5 canvas financial charts, from TradingView.

    17.9K starsTypeScriptApache-2.0

More comparisons