Key differences

  • Plotly.js and Lightweight Charts have a similar number of GitHub stars (18.4K vs 17.5K).
  • Plotly.js had more development activity over the last 12 months: 1,549 commits vs 329.
  • Lightweight Charts is downloaded 1.5Ă— as often on npm (1.4M vs 873K per week).
  • Lightweight Charts is licensed under Apache-2.0; Plotly.js under MIT.
  • Lightweight Charts is written primarily in TypeScript, Plotly.js in JavaScript.
  • Plotly.js is the older project: its repository was created in 2015, Lightweight Charts's in 2019.

By the numbers

  • Lightweight Charts
  • Plotly.js
GitHub stars
17.5K 18.4K
npm downloads / week
1.4M 873K
Commits, last 12 months
329 1.5K
Contributors
58 263
Forks
2.6K 2K
Show data as a table
Lightweight Charts vs Plotly.js by the numbers
MetricLightweight ChartsPlotly.js
GitHub stars17,47318,355
npm downloads / week1,351,887873,003
Commits, last 12 months3291,549
Contributors58263
Forks2,6312,044

Development activity

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

  • Lightweight Charts
  • Plotly.js
0200400 Oct 2025 Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug SepLightweight…Plotly.js
0200400 Oct 2025 Jan 2026 Apr Jul Lightweight…Plotly.js
Show data as a table
Lightweight Charts vs Plotly.js: commits per month
MonthLightweight ChartsPlotly.js
Oct 202513137
Nov 2025864
Dec 20251758
Jan 2026878
Feb 20261655
Mar 2026237
Apr 202621122
May 202612139
Jun 202613335
Jul 20266255
Aug 202611148
Sep 2026202121

Side by side

AttributeLightweight ChartsPlotly.js
DescriptionPerformant HTML5 canvas financial charts, from TradingView.Powerful declarative library with support for 20 chart types.
CategoryJavaScript charting librariesJavaScript charting libraries
LicenseApache-2.0MIT
LanguageTypeScriptJavaScript
StatusActiveActive
Latest releasev5.2.1 ()v4.1.1 ()
Last commit
Repository created
Open issues113728
Install
npm install lightweight-charts
npm install plotly.js

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.

  • Lightweight Charts

    Performant HTML5 canvas financial charts, from TradingView.

    17.5K starsTypeScriptApache-2.0

  • Plotly.js

    Powerful declarative library with support for 20 chart types.

    18.4K starsJavaScriptMIT

More comparisons