Elestia Open Source Ratings
8.1

Recharts

A strong pick. 2nd of 9 chart libraries.

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.

WebsiteGitHubnpm

Scores

Overall8.1

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 8.0, likely 7.0 to 8.5

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, likely 7.0 to 9.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 many4.9

How many developers need a tool for this job?

Claude Opus 5.5: 5.5, likely 4.5 to 6.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, likely 3.1 to 5.5

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 lot7.9

How well does it do the job for those who need it?

Claude Opus 5.5: 7.5, likely 6.5 to 8.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, likely 7.1 to 9.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 time8.2

Will it still be a good choice in two years?

Claude Opus 5.5: 8.5, likely 7.5 to 9.0

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.

  • github commitsLastYear: 1,089 commits, far more than most peers
  • github releasesLastYear: 24 releases; v3.11.0 published 2026-11-17
  • newreleases.io/project/npm/recharts/release/3.0.2: The 3.0.1 regression was reverted quickly
  • recharts maintainers: Small core team funded through Open Collective

GPT-6.2 Sol: 7.8, likely 6.6 to 8.9

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 widely7.6

How many use it, and is that growing?

Claude Opus 5.5: 8.5, likely 7.5 to 9.0

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.

  • npm downloadsLast4Weeks: 262M, against 34.7M a year before
  • dependents: 27,093 repositories and 1,206 packages
  • peers: Chart.js has 192k dependent repositories and D3 has 86k
  • github stars: 27.7k stars

GPT-6.2 Sol: 6.6, likely 5.4 to 7.8

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.

  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: 262.0 million versus 34.7 million downloads, or 7.54 times against a 4.1-times baseline.
  • dependents repos, dependents packages, peers dependentRepos: 27,093 tracked repos and 1,206 packages, behind the three largest peers with counts.
  • github stars, bluesky posts, hackerNews stories: 27,728 stars, three Bluesky links, and one Hacker News submission with no comments.
  • peers downloadsLast4Weeks, peers downloadsSame4WeeksYearAgo: Recharts grew faster than Chart.js, D3, and ECharts, while visx and Observable Plot grew faster still.
Vouched for7.8

Who stands behind it being good?

Claude Opus 5.5: 7.5, likely 6.5 to 8.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, likely 6.9 to 9.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.

Safe7.4

How safe is it to depend on?

Claude Opus 5.5: 7.5, likely 6.5 to 8.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.

  • advisories total: No advisories
  • scorecard score: 5.3, with weak token permissions and no security policy
  • npm dependencies: 11 direct dependencies

GPT-6.2 Sol: 7.2, likely 5.9 to 8.5

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

npm downloads, 4 weeks
262M ×7.5 in a year
GitHub stars
28k
Commits, 12 months
1.1k
npm version
3.11.0 Nov 2026
Versions, 12 months
12
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
5.3 out of 10, Oct 2026
Licence
MIT

Read on 21 November 2026 from GitHub (recharts/recharts), npm (recharts), OSV and the OpenSSF Scorecard.

Chart libraries

  1. 8.3Apache ECharts
  2. 8.1Recharts
  3. 7.8D3
  4. 7.4Chart.js
  5. 7.2Plotly.js
  6. 6.9Observable Plot
  7. 6.3visx
  8. 5.8Victory
  9. 5.4Nivo
Compare all 9 on six scores