The Polar Bar chart component displays data in a circular layout where each bar extends radially from the center.
Unlike radial bar charts, which vary both angle and length, polar bar charts use
equal angular spacing for each category (defined by indexBy
) and rely on bar length
to represent values, making them perfect for visualizing cyclical patterns like seasons,
compass directions, or time-based data.
Chart data.
'id'
Key to use to index the data.
'value'
]Keys to use to determine each series.
Define how many steps (ticks) to use for the value scale.
true
Extends the range of values so that it starts and ends on nice round values.
Optional formatter for values.
Chart width.
Chart height.
Chart margin.
0
Start angle (in degrees).
360
End angle (in degrees).
0
Donut if greater than 0. Value should be between 0~1 as it's a ratio from outer radius.
0
Rounded arc corners.
Ref to the chart's container. Used on this page to generate/download the chart's image via html-to-image
.