Key differences

  • Chart.js has 3.9× as many GitHub stars as Lightweight Charts (67.7K vs 17.5K).
  • Lightweight Charts had more development activity over the last 12 months: 329 commits vs 21.
  • Chart.js is downloaded 12× as often on npm (15.7M vs 1.4M 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.7K 17.5K
npm downloads / week
15.7M 1.4M
Commits, last 12 months
21 329
Contributors
426 58
Forks
11.9K 2.6K
Show data as a table
Chart.js vs Lightweight Charts by the numbers
MetricChart.jsLightweight Charts
GitHub stars67,73317,473
npm downloads / week15,670,8951,351,887
Commits, last 12 months21329
Contributors42658
Forks11,9472,631

Development activity

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

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

Side by side

AttributeChart.jsLightweight Charts
DescriptionCharts with the canvas tag.Performant HTML5 canvas financial charts, from TradingView.
CategoryJavaScript charting librariesJavaScript charting libraries
LicenseMITApache-2.0
LanguageJavaScriptTypeScript
StatusActiveActive
Latest releasev4.5.1 ()v5.2.1 ()
Last commit
Repository created
Open issues499113
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.7K starsJavaScriptMIT

  • Lightweight Charts

    Performant HTML5 canvas financial charts, from TradingView.

    17.5K starsTypeScriptApache-2.0

More comparisons