Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

Recharts

free

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

by Recharts Group GitHub npm
visit
Recharts website

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

For your agent

Install
npm i recharts react-is
Use 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
Compare Recharts with its 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>
Visit