Key differences

  • Plotly.js and Lightweight Charts have a similar number of GitHub stars (18.4K vs 17.8K).
  • Plotly.js had more development activity over the last 12 months: 1,569 commits vs 386.
  • Lightweight Charts is downloaded 2Ă— as often on npm (1.9M vs 963.9K 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.8K 18.4K
npm downloads / week
1.9M 963.9K
Commits, last 12 months
386 1.6K
Contributors
60 267
Forks
2.7K 2.1K
Show data as a table
Lightweight Charts vs Plotly.js by the numbers
MetricLightweight ChartsPlotly.js
GitHub stars17,79518,376
npm downloads / week1,914,996963,882
Commits, last 12 months3861,569
Contributors60267
Forks2,6952,067

Development activity

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

  • Lightweight Charts
  • Plotly.js
0200400 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep OctLightweight…Plotly.js
0200400 Nov 2025 Feb 2026 May Aug Lightweight…Plotly.js
Show data as a table
Lightweight Charts vs Plotly.js: commits per month
MonthLightweight ChartsPlotly.js
Nov 2025864
Dec 20251758
Jan 2026878
Feb 20261655
Mar 2026237
Apr 202621122
May 202612139
Jun 202613337
Jul 20266257
Aug 202611154
Sep 2026204152
Oct 202668116

Side by side

AttributeLightweight ChartsPlotly.js
DescriptionPerformant HTML5 canvas financial charts, from TradingView.Powerful declarative library with support for 20 chart types.
CategoryJavaScript financial charting librariesJavaScript charting libraries
LicenseApache-2.0MIT
LanguageTypeScriptJavaScript
StatusActiveActive
Latest releasev5.2.1 ()v4.2.0 ()
Last commit
Repository created
Open issues105729
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.8K starsTypeScriptApache-2.0

  • Plotly.js

    Powerful declarative library with support for 20 chart types.

    18.4K starsJavaScriptMIT

More comparisons