Skip to main content
/
/
/
/
Bar chart

Bar chart

Basic bar chart

CustomTooltip component

Multiple bars

<Legend> example

You can add as many <Bar> components as you like, each with their own dataKey (matching the property in your dataset) and fill color.

Stacked bar chart

Stack <Bar> instances using a common stackId. Note that the radius values differ between the stacked bars.