RadialBarChart component displays data as circular bars radiating from a center point. It’s effective for showing progress, comparisons, or hierarchical data in a compact circular layout.
Basic radial bar chart
Simple progress circle
Multiple nested rings
Each data item creates a separate concentric ring. The order in the data array determines the ring order from inside to outside.
With labels
Custom angles
With background
Rounded corners
Custom inner and outer radius
Radius values can be percentages (relative to chart size) or absolute pixel values.
Clockwise vs counter-clockwise
With polar grid
Custom active bar
Common pitfalls
- Data order: Bars are rendered from the innermost to outermost based on array order. Arrange your data accordingly.
- Angle direction: By default, bars grow clockwise. Set
clockWise={false}to reverse the direction. - Tooltip event type: RadialBarChart supports both
'axis'and'item'tooltip event types. The default is'axis'. - Minimum angle: Use
minAngleprop to ensure small values remain visible. - Color specification: Each data item should have a
fillproperty, or setfillon theRadialBarcomponent. - Center position: Use
cxandcyprops onRadialBarChartto adjust the center position.