@rsuite/charts
A recharts-based chart library built for React Suite. Responsive, themeable, and ready to use.
v6recharts v2TypeScriptReact 18+
Available Charts
BarChart
Vertical and horizontal bar charts
LineChart
Line and area trend charts
AreaChart
Filled area charts
ComposedChart
Mix Bar, Line and Area
ScatterChart
Scatter / bubble charts
PieChart
Pie and donut charts
RadarChart
Radar / spider charts
RadialBarChart
Radial / circular bar charts
Treemap
Hierarchical treemap charts
FunnelChart
Funnel / pipeline charts
Quick Example
import {BarChart, Bar,XAxis, YAxis,CartesianGrid, Tooltip, Legend,} from '@rsuite/charts';const data = [{ month: 'Jan', revenue: 4200 },{ month: 'Feb', revenue: 5800 },{ month: 'Mar', revenue: 3900 },];export default function App() {return (<BarChart height={300} data={data}><CartesianGrid /><XAxis dataKey="month" /><YAxis /><Tooltip /><Legend /><Bar dataKey="revenue" name="Revenue" /></BarChart>);}
Features
- Built on Recharts — full access to the Recharts API; pass any recharts prop directly to the chart wrappers.
- rsuite color palette — series are automatically colored using the rsuite design-system palette. Override with
colorPaletteprop. - Responsive by default — every chart uses
ResponsiveContainer; set aheightand you’re done. - Empty & loading states — pass
loadingor let the chart detect an emptydataarray automatically. - TypeScript — complete type definitions, including all recharts prop types.