Key differences

  • Plotly.js and Lightweight Charts have a similar number of GitHub stars (18.4K vs 17.9K).
  • Plotly.js had more development activity over the last 12 months: 1,586 commits vs 396.
  • Lightweight Charts is downloaded 1.9Ă— as often on npm (1.8M vs 931.1K 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.9K 18.4K
npm downloads / week
1.8M 931.1K
Commits, last 12 months
396 1.6K
Contributors
69 269
Forks
2.7K 2.1K
Show data as a table
Lightweight Charts vs Plotly.js by the numbers
MetricLightweight ChartsPlotly.js
GitHub stars17,89318,384
npm downloads / week1,804,680931,125
Commits, last 12 months3961,586
Contributors69269
Forks2,7162,071

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 20261755
Mar 2026237
Apr 202621122
May 202615139
Jun 202613337
Jul 20266257
Aug 202611160
Sep 2026204152
Oct 202674127

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.3.0 ()v4.3.0 ()
Last commit
Repository created
Open issues100727
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.9K starsTypeScriptApache-2.0

  • Plotly.js

    Powerful declarative library with support for 20 chart types.

    18.4K starsJavaScriptMIT

More comparisons