# HQChart vs Lightweight Charts

## Key differences

- Lightweight Charts has 5.1× as many GitHub stars as HQChart (17.5K vs 3.4K).
- Lightweight Charts had more development activity over the last 12 months: 331 commits vs 106.
- Lightweight Charts is downloaded 254× as often on npm (1.4M vs 5.4K per week).
- Both are released under the Apache-2.0 license.
- HQChart is written primarily in JavaScript, Lightweight Charts in TypeScript.
- HQChart is the older project: its repository was created in 2018, Lightweight Charts's in 2019.

| | HQChart | Lightweight Charts |
|---|---|---|
| Description | K-line and stock charts with a technical indicator scripting engine, for web pages and WeChat mini programs. | Performant HTML5 canvas financial charts, from TradingView. |
| GitHub stars | 3,410 | 17,476 |
| Commits (12 months) | 106 | 331 |
| Contributors | 6 | 58 |
| License | Apache-2.0 | Apache-2.0 |
| Language | JavaScript | TypeScript |
| Status | Active | Active |
| Install | `npm install hqchart` | `npm install lightweight-charts` |

Source: https://awesomedataviz.com/compare/hqchart-vs-lightweight-charts/ · Data updated 2026-10-05 · Content: CC BY 4.0, Awesome Dataviz (https://awesomedataviz.com).
