Recharts
Composable React component library for building responsive charts.
Charts and data visualisation npm MIT
Used in agent projects
1,037
8.2% of 12,697 public repos built with AI coding agents
Rank in charts and data visualisation
#1 of 16
by use in those projects
Downloads
56.3M
npm, last 7 days, recharts
GitHub stars
27.6K
last push Oct 10, 2026
How Recharts is used
Recharts is a dependency in 1,037 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (8.2%), #1 of 16 in charts and data visualisation. The most used alternative there is Matplotlib. Projects that use it most often also use Lucide React (89.3%), clsx (82.1%), Tailwind Merge (81.7%). It is more common in projects set up for Roo Code (20.4%) than for OpenCode (6.2%).
Often used with Recharts
| Lucide React | 89.3% of Recharts projects · 4.5× more than average |
|---|---|
| clsx | 82.1% of Recharts projects · 4.6× more than average |
| Tailwind Merge | 81.7% of Recharts projects · 4.9× more than average |
| Class Variance Authority | 77.5% of Recharts projects · 5.5× more than average |
| Radix UI | 72.0% of Recharts projects · 6.0× more than average |
| Zod | 70.6% of Recharts projects · 4.2× more than average |
| date-fns | 67.2% of Recharts projects · 7.9× more than average |
| Tailwind CSS | 93.5% of Recharts projects · 2.7× more than average |
By coding agent
| Claude Code | 9.5% of projects set up for it |
|---|---|
| Cursor | 12.7% of projects set up for it |
| GitHub Copilot | 8.6% of projects set up for it |
| Devin Desktop | 17.9% of projects set up for it |
| Gemini CLI | 9.6% of projects set up for it |
| OpenAI Codex | 8.7% of projects set up for it |
| Roo Code | 20.4% of projects set up for it |
| OpenCode | 6.2% of projects set up for it |
Share of public repos configured for each agent that list Recharts as a dependency.
Install
| Package | npm install recharts |
|---|---|
| Main stacks | Next.js (597), TypeScript / JavaScript (390), Python (29), PHP (14) |
| Example projects | ding113/claude-code-hub, miantiao-me/bm.md, NeurProjects/neur-app, PageAI-Pro/vibe-coding-starter, inboundemail/inbound |
Alternatives to Recharts
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Matplotlib pypi Python library for creating static, animated and interactive plots and visualizations. |
194 (1.5%) | 39.3M | 23.3K | — |
| Chart.js npm Simple HTML5 canvas-based charting library for creating interactive data visualizations. |
165 (1.3%) | 12.7M | 67.7K | MIT |
| React Chart.js 2 npm React components wrapper for Chart.js enabling data visualization with charts. |
111 (0.9%) | 4.4M | 6,937 | MIT |
| Plotly pypi Interactive data visualization library for Python with rich chart and dashboard support. |
74 (0.6%) | 12.5M | 18.8K | — |
| Seaborn pypi Statistical data visualization library built on matplotlib with rich plot types. |
66 (0.5%) | 6.8M | 14.1K | — |
| Mermaid npm Markdown-like syntax for creating flowcharts, diagrams, and visualizations programmatically. |
65 (0.5%) | 17.7M | 90.6K | MIT |
| D3.js npm JavaScript library for creating data-driven documents with powerful data visualization capabilities. |
63 (0.5%) | 22.2M | 114K | ISC |
| XY Flow npm Customizable React library for building interactive node-based editors and flow charts. |
62 (0.5%) | 13.4M | 38.6K | MIT |