# Lightweight Charts

> Tiny, fast HTML5 canvas library for interactive financial charts

Source: https://talira.ai/catalog/lightweight-charts-beh3cvx7
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / charts](https://talira.ai/categories/libraries/charts)
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [TradingView](https://talira.ai/orgs/tradingview.md)

Lightweight Charts is TradingView's open source JavaScript library for interactive financial charts on web pages, drawn on HTML5 canvas and about 35 KB in size. It draws candlestick, bar, line, area, baseline and histogram series, streams real-time updates without reloading, stays responsive with thousands of bars, and can be styled fully or extended with custom plugins (a plugin catalog and examples are in its docs). It installs from npm or a CDN, and the repository ships two Agent Skills for AI coding assistants. It's Apache-2.0 licensed, with an attribution requirement.

## Links

- Website: https://www.tradingview.com/lightweight-charts/
- GitHub: https://github.com/tradingview/lightweight-charts
- Docs: https://tradingview.github.io/lightweight-charts/

## Problems it solves

- show stock or crypto price data as an interactive candlestick chart on my site
- a small charting library for financial time series that won't slow my page
- replace static chart images with interactive ones

## Features

- candlestick, bar, line, area, baseline and histogram series
- about 35 KB on HTML5 canvas
- real-time streaming updates
- custom series and primitive plugins
- themes and full styling control

## Limitations

- The licence requires showing TradingView's attribution notice and a link to tradingview.com on the page or app that uses it.[^1]

## Trust

Overall: 0.71 out of 1.
Signals: maintenance 1.00, adoption 0.85, momentum 0.70, community 0.76, backing 0.30, extensibility 0.00.

- last commit 2 days ago
- 436 commits in the last 90 days
- latest release v5.3.0 19 days ago
- 18.0k GitHub stars
- 80 contributors
- backed by TradingView

## Alternatives

- [Chart.js](https://talira.ai/catalog/chart-js-x31psaab.md): Simple yet flexible JavaScript charting for the web
- [ChartGPU](https://talira.ai/catalog/chartgpu-snkpmxfs.md): A WebGPU charting library for millions of points and real-time streaming
- [Apache ECharts](https://talira.ai/catalog/apache-echarts-9ctm8dbq.md): Open source JavaScript library for interactive charts and visualization
- [Chartkick](https://talira.ai/catalog/chartkick-rjpbexpf.md): Create beautiful JavaScript charts with one line of Ruby
- [Plotly.js](https://talira.ai/catalog/plotly-js-3gr0dec6.md): Open source JavaScript library for interactive charts, 3D graphs and maps
- [ApexCharts](https://talira.ai/catalog/apexcharts-04syhgtm.md): Interactive SVG charts for the web, free under M revenue

## Sources

[^1]: https://github.com/tradingview/lightweight-charts/blob/master/README.md (checked 30 Nov 2026)
[^2]: https://github.com/tradingview/lightweight-charts/blob/master/LICENSE (checked 30 Nov 2026)
