# Chart libraries

Draw charts and other pictures of data in the browser. Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.

| Rank | Project | Overall | Needed by many | Helps a lot | Holds up over time | Used widely | Vouched for | Safe | Best for |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | [Apache ECharts](https://elestia.ai/opensource/charts/echarts/index.md) | 8.3 | 6.7 | 8.4 | 7.6 | 7.2 | 8.1 | 7.3 | Teams building dashboards, BI tools or data-heavy apps that need many chart types and large datasets on any framework. |
| 2 | [Recharts](https://elestia.ai/opensource/charts/recharts/index.md) | 8.1 | 4.9 | 7.9 | 8.2 | 7.6 | 7.8 | 7.4 | React teams that want common dashboard charts (line, bar, area, pie and similar) built from typed, composable components. |
| 3 | [D3](https://elestia.ai/opensource/charts/d3/index.md) | 7.8 | 4.9 | 8.5 | 7.1 | 7.6 | 8.1 | 7.6 | Developers who build custom or unusual visualisations, or their own chart components, and need full control over every mark. |
| 4 | [Chart.js](https://elestia.ai/opensource/charts/chartjs/index.md) | 7.4 | 6.1 | 7.3 | 6.1 | 7.5 | 7.3 | 7.3 | Teams that want common charts quickly, in any framework or plain HTML, with a small bundle. |
| 5 | [Plotly.js](https://elestia.ai/opensource/charts/plotly/index.md) | 7.2 | 5.4 | 7.7 | 7.8 | 5.1 | 7.1 | 6.6 | Teams that build scientific, analytic or 3D/geo visualisations and want one declarative JSON spec that also works with Plotly for Python and R. |
| 6 | [Observable Plot](https://elestia.ai/opensource/charts/observable-plot/index.md) | 6.9 | 5.7 | 7.8 | 6.1 | 4.3 | 6.0 | 7.1 | Developers and data teams who want short code for exploratory or journalistic charts and maps, in any framework or none. |
| 7 | [visx](https://elestia.ai/opensource/charts/visx/index.md) | 6.3 | 4.4 | 7.4 | 4.7 | 4.9 | 6.2 | 6.6 | React teams that know D3 and want to own a custom, typed charting layer instead of using ready-made chart types. |
| 8 | [Victory](https://elestia.ai/opensource/charts/victory/index.md) | 5.8 | 4.5 | 6.7 | 6.1 | 4.4 | 4.9 | 7.2 | React teams that want composable SVG charts with an API similar to the one they use on React Native. |
| 9 | [Nivo](https://elestia.ai/opensource/charts/nivo/index.md) | 5.4 | 4.6 | 7.2 | 3.8 | 4.5 | 5.2 | 5.6 | React teams that want many polished, ready-made chart types (Sankey, chord, heatmap, treemap and others) with little styling work. |

## The numbers

| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
| --- | --- | --- | --- | --- | --- | --- |
| Apache ECharts | 41M | ×6.9 | 68k | 225 | May 2026 | 1 |
| Recharts | 262M | ×7.5 | 28k | 1.1k | Nov 2026 | 0 |
| D3 | 132M | ×6.0 | 114k | 6 | Nov 2026 | 0 |
| Chart.js | 68M | ×3.0 | 68k | 21 | Oct 2026 | 0 |
| Plotly.js | 3.9M | ×2.8 | 18k | 1.6k | Nov 2026 | 0 |
| Observable Plot | 5.9M | ×15 | 5.4k | 50 | Nov 2026 | 0 |
| visx | 43M | ×13 | 21k | 65 | Jun 2026 | 0 |
| Victory | 3M | ×2.1 | 11k | 67 | Nov 2026 | 0 |
| Nivo | 8.3M | ×3.1 | 14k | 24 | May 2025 | 0 |

All categories: https://elestia.ai/opensource/index.md
