# tradingview/lightweight-charts

Performant financial charts built with HTML5 canvas

Repository: https://github.com/tradingview/lightweight-charts
Canonical: https://ross.abutalabs.com/products/lightweight-charts
Homepage: https://www.tradingview.com/lightweight-charts/
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: financial-charting-library, charting-library, html5-charts, canvas, typescript, charting, charts, finance, javascript
Last push: 2026-08-21T13:46:51+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 85, longevity 100
- inputs: {"age_days": 2658, "days_push": 12, "days_rel": 21, "gap_med": 33.0, "n_releases_24m": 15}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 17079, forks 2582 (observed 2026-08-28T04:11:17.658092+00:00)

## What it is
TradingView's Lightweight Charts is a compact (~35 KB) TypeScript library for rendering fast, interactive financial charts (candlestick, line, area, etc.) using HTML5 canvas. It supports real-time streaming data updates and extensibility via a plugin system.

## Use cases
- display candlestick stock charts on a web page
- render interactive price charts for a crypto dashboard
- replace static chart images with lightweight interactive charts
- show real-time streaming market data in a browser
- embed performant financial time-series charts in a trading app
- build custom chart indicators with a plugin API

## When to choose
- you need small bundle size and high rendering performance for financial charts
- you want TradingView-style candlestick or line charts in a web app
- you need real-time updates without page reloads
- you want an Apache-2.0 licensed, actively maintained charting library

## When to avoid
- you need general-purpose scientific or statistical charts rather than financial ones
- you need server-side rendering of charts to images
- you need heavy built-in technical indicators or drawing tools out of the box
- you need charts for non-time-series data like pie or bar category charts

## Facets
- artifact type: library
- maturity: stable
- function: data-visualization, charts, ui-components
- domain: data-visualization, fintech, web-development, frontend
- platform: browser, cross-platform
- tags: financial-charting, candlestick, html5-canvas, tradingview, lightweight, typescript, interactive-charts, time-series, nodejs

## Member repositories
- tradingview/lightweight-charts (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:17.658092+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:03:30.564960+00:00, confidence not recorded.
  - readme: https://github.com/tradingview/lightweight-charts (fetched 2026-08-28T04:11:17.658092+00:00, sha caf362b22256)
  - homepage: https://www.tradingview.com/lightweight-charts/ (fetched 2026-08-29T08:01:54.379874+00:00, sha 985c32071ca7)
  - registry_npm: https://registry.npmjs.org/lightweight-charts (fetched 2026-08-29T08:01:54.391962+00:00, sha 0931a9b05f55)
  - site_page: https://www.tradingview.com/pricing?source=header_go_pro_button&feature=start_free_trial (fetched 2026-08-29T08:01:54.388993+00:00, sha 09ebf53dd569)
- Data as of 2026-08-30T08:39:29.467469+00:00.
