# Recharts: 8.1 out of 10

A strong pick. 2nd of 9 in [Chart libraries](https://elestia.ai/opensource/charts/index.md).

Recharts draws charts in React from composable SVG components. It is the most-downloaded and most actively developed React chart library today. It is a strong default for React dashboards with ordinary data sizes. It fits poorly outside React and with very large datasets, where its SVG-only rendering slows down.

**Best for:** React teams that want common dashboard charts (line, bar, area, pie and similar) built from typed, composable components.

## Scores

- **Overall: 8.1** (likely 7.0 to 8.8)
  - Claude Opus 5.5 (8.0): For React projects it is a strong default: active, well typed, growing fast and the base of shadcn/ui charts. It falls short of the top of the scale because it is React-only and renders only SVG. Teams with large datasets or exotic chart types should choose ECharts, visx or Nivo.
  - GPT-6.2 Sol (8.1): Recharts is a first choice for a new React dashboard with ordinary data volumes. Its typed component API, active maintenance, and use in shadcn/ui and Supabase Studio give it an edge for that work. Chart.js is a better fit for dense scatter plots, and Apache ECharts offers Canvas rendering for more demanding visualizations. The recommendation depends on chart density and on how well the small volunteer team keeps up with regressions.
- **Needed by many: 4.9** (likely 3.8 to 6.0)
  - Claude Opus 5.5 (5.5): Many web apps need charts, mostly for dashboards and admin panels. Recharts serves only React, which is the largest framework but still narrows it compared with Chart.js, D3 or ECharts. It also targets standard business charts more than specialised or very large visualisations.
  - GPT-6.2 Sol (4.3): Recharts serves a distinct group of developers building dashboards, reports, and other data displays in React. About 16% of State of JavaScript respondents selected data visualization as a use case, and Stack Overflow reported React use among 41.5% of respondents to its web technology question. The surveys do not measure how often those needs overlap, and some developers who add charts may have selected general frontend work.
- **Helps a lot: 7.9** (likely 6.8 to 8.9)
  - Claude Opus 5.5 (7.5): Its composable API, TypeScript rewrite, accessibility layer and new theming make it pleasant to use for common charts, and AI agents generate it reliably. The SVG-only rendering limits it on large datasets. It also has fewer specialised chart types than Nivo or ECharts. The range is moderate because the comparisons I found are mostly blog guides.
  - GPT-6.2 Sol (8.2): Version 3.11 combines typed React components, responsive sizing, shared themes, and default keyboard navigation. The current docs give coding agents examples for standard charts, although generated code quality remains unmeasured. A benchmark from the ApexCharts team found that Recharts 3.9 took about 698 ms to render 20,000 scatter points, compared with 47 ms for Chart.js in the same test. That benchmark predates 3.11, and a separate user report documents a keyboard and tooltip issue in 3.10.1.
- **Holds up over time: 8.2** (likely 7.1 to 9.0)
  - Claude Opus 5.5 (8.5): Maintenance is very active: 1,089 commits, 24 GitHub releases and a stable release four days before the review date. Issues and pull requests are handled at volume, with 3,350 issues closed and 3,665 pull requests merged. A small volunteer core team drives the work, and it has no corporate sponsor. Shadcn and AI coding tools are pulling the ecosystem towards it.
  - GPT-6.2 Sol (7.8): The collector recorded 1,089 commits and 24 GitHub releases in a year, with canary builds continuing through the nearly four-month gap between stable releases. Two maintainers published stable releases in that period of annual activity, though recent releases mostly came from one and the project relies on volunteers with sponsor support. An early-November sample shows quick responses to recent issues and quick merges among accepted PRs, while the open backlog remains sizable. Users reported reworking custom components for v3, so the current pace gives more confidence than the upgrade record does.
- **Used widely: 7.6** (likely 6.5 to 8.4)
  - Claude Opus 5.5 (8.5): Downloads were 262M over 4 weeks, up from 34.7M a year before. That ratio of about 7.5 is well above the 4.1 median, and the total is the highest in the category. Some of these installs come from shadcn/ui, Tremor and AI app builders, and 27k dependent repositories is fewer than Chart.js or D3 have. Even so, it is clearly gaining ground among new React projects.
  - GPT-6.2 Sol (6.6): Four-week npm downloads rose 7.54 times year over year, ahead of the 4.1-times catalog median and faster than Chart.js, D3, and ECharts. Ecosyste.ms found 27,093 dependent repositories and 1,206 dependent packages, placing Recharts below those three peers in tracked repositories and well ahead of visx, Nivo, and Victory. Automated installs and downstream packages inflate download totals, and the limited repository coverage and sparse social activity leave the number of new projects choosing it uncertain.
- **Vouched for: 7.8** (likely 6.7 to 8.8)
  - Claude Opus 5.5 (7.5): shadcn/ui charts and Tremor build on it, and many independent guides name it the default React chart library. I found no current developer survey data for chart libraries. Most comparisons come from blogs or vendors, which keeps the score below 8.
  - GPT-6.2 Sol (8.0): Supabase Studio depends on Recharts, and both shadcn/ui and Tremor build chart components on it. Those choices show that teams outside the project trust it for real React interfaces. The outside benchmark puts limits on that endorsement for dense plots, and evidence of Recharts-specific satisfaction or retention is thin.
- **Safe: 7.4** (likely 6.2 to 8.5)
  - Claude Opus 5.5 (7.5): The package has no known advisories and an MIT licence. It pulls in 11 dependencies, including Redux Toolkit and immer. The OpenSSF Scorecard is 5.3, with zero scores for Token-Permissions and Security-Policy and weak Branch-Protection. I know of no supply-chain incidents.
  - GPT-6.2 Sol (7.2): Recharts is MIT-licensed, has 11 direct runtime dependencies, and OSV lists zero advisories for the package. The latest release ships a parser hardening fix and has verified build provenance from GitHub Actions. The October OpenSSF score of 5.3 flags weak branch protection and token permissions, and GitHub shows no published security policy. The release workflow has stronger controls than the October snapshot suggests, while the full set of accounts authorized to release remains unverified.

## Good

- A declarative JSX API, where each axis, series and tooltip is a component that is easy to customise.
- Very active development: about 1,100 commits and 24 GitHub releases in the last year, with new features such as context themes, patterns and accessibility layers.
- It underlies shadcn/ui charts and Tremor, and AI coding agents pick it by default and write correct code for it.
- No known security advisories, an MIT licence and full TypeScript types.

## Bad

- It renders only SVG, with no Canvas option, so it slows down past a few thousand points per series.
- It works only with React, so it is no help for Vue, Svelte or plain JavaScript projects.
- It lacks some specialised chart types that Nivo and ECharts have, such as heatmaps, geographic maps and network graphs.
- Version 3 removed internal state access and the Customized component, and 3.0.1 shipped a rendering regression, so upgrades took work.

## The numbers

- Downloads, 4 weeks: 262M
- In a year: ×7.5
- GitHub stars: 28k
- Commits, 12 months: 1.1k
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/recharts/recharts
- npm: https://www.npmjs.com/package/recharts

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.
