Charting libraries built for market data: candlestick and OHLC series, volume panes, technical indicators, drawing tools such as trend lines, and fast panning and zooming over long price histories. Most render with Canvas or WebGL to stay smooth with years of tick or minute data.

Check which indicators and drawing tools ship built in versus as plugins, whether real-time updates and streaming data are supported, and the license: Lightweight Charts from TradingView is Apache-2.0, while some trading platforms offer only their full charting product under a commercial license. General-purpose libraries such as Apache ECharts and Plotly.js also draw candlesticks when you need finance alongside other charts.

By GitHub stars, the most popular JavaScript financial charting libraries here are Lightweight Charts (17.5K stars), KLineChart (4.2K stars), and HQChart (3.4K stars). 6 of 9 had commits in the last 90 days.

JavaScript financial charting libraries, ranked by GitHub stars
1 Lightweight Charts

Performant HTML5 canvas financial charts, from TradingView.

17.5K 331 Apache-2.0
2 KLineChart

Lightweight, highly customizable candlestick (k-line) chart with zero dependencies and mobile support.

4.2K 267 Apache-2.0
3 HQChart

K-line and stock charts with a technical indicator scripting engine, for web pages and WeChat mini programs.

3.4K 106 Apache-2.0
4 TechanJS Inactive

Stock and financial charts.

2.4K 0 MIT
5 React Financial Charts Inactive

React components for financial charts: candlesticks, technical indicators, overlays and drawing tools.

1.4K 0 MIT
6 Vela

Financial charting library with a headless core, native WebGL2 renderer and plugin SDK, from LuxAlgo.

986 579 Apache-2.0
7 chartjs-chart-financial Inactive

Chart.js module that adds candlestick and OHLC chart types.

809 0 MIT
8 dxcharts-lite

Flexible financial charting library based on HTML5 canvas.

101 3,699 MPL-2.0
9 TradeCanvas

Financial charts with indicators, drawing tools and live feeds, drawn with Canvas 2D or WebGL.

22 188 MIT

Head-to-head comparisons

Related topics

Related categories

Frequently asked questions

What is the most popular JavaScript financial charting library?

By GitHub stars, Lightweight Charts is the most popular, with 17.5K stars, followed by KLineChart (4.2K) and HQChart (3.4K).

Which JavaScript financial charting libraries are actively maintained?

6 of the 9 tools listed had commits in the last 12 months, including Lightweight Charts, KLineChart, HQChart, Vela, and dxcharts-lite. Each tool page shows monthly commit activity.

Are these JavaScript financial charting libraries free and open source?

9 of the 9 tools listed use an OSI-approved open-source license. The most common license here is Apache-2.0.

Missing a tool? Add it with a one-line pull request to the README.