Recharts
freeComposable SVG charts for React; the engine behind shadcn/ui charts.

Try these
visx
Airbnb's low-level D3 + React primitives (scales, shapes, axes) for custom charts.
nivo
Rich, themeable React charts in SVG, canvas or HTML, with motion and patterns built in.
Apache ECharts
Full-featured canvas/SVG charting engine for big data, maps and complex dashboards.
Unovis
Modular, framework-agnostic charts and network graphs from F5, styled with CSS variables.
Looks that pick it
Corporate / dashboardfirst pickFluentfirst pickMaterial Design 2first pickFintechfirst pickHealthcarefirst pickCivic / public servicefirst pick
For your agent
Install
npm i recharts react-isUse it for
- standard line, area, bar and pie charts in a React dashboard
- charts inside a shadcn/ui app (its chart component: npx shadcn@latest add chart)
- KPI cards with small sparkline or area charts; a sparkline next to each price or row in a list
Skip it when
- more than ~5,000 points or real-time streams: SVG slows down, use uplot or echarts
- bespoke visualisations that are not standard chart types: use visx
- a gantt chart, org chart or flow diagram: not chart types it draws; use a dedicated gantt or diagram library
- non-React stacks: use unovis or echarts
What's inside12 free
- Line
- Area
- Bar
- Composed
- Pie
- Radar
- RadialBar
- Scatter
- Funnel
- Treemap
- Sankey
- Sunburst
Facts
- Frameworks
- react
- Styling
- unstyled
- Weight
- medium
- Accessibility
- ok
- Maturity
- established
- License
- MIT
- Price
- Free
Pairs with
Alternatives
import { AreaChart, Area, XAxis, Tooltip } from 'recharts'
<AreaChart responsive data={data} style={{ width: '100%', height: 240 }}>
<XAxis dataKey="month" tickLine={false} axisLine={false} />
<Tooltip />
<Area type="monotone" dataKey="revenue" stroke="var(--chart-1)" fill="var(--chart-1)" fillOpacity={0.15} />
</AreaChart>https://recharts.github.io/en-US/examples/
Loading website