DonutChart
CHARTSDonut chart with optional center label for summary stats.
[EXAMPLES]
Basic
[PROPS]
| PROP | TYPE | DEFAULT | DESCRIPTION |
|---|---|---|---|
| data | { label: string; value: number; color?: string }[] | — | Chart segments |
| centerContent | ReactNode | — | Content displayed in the center of the donut |
| size | number | 300 | Chart size in pixels |
| thickness | number | 60 | Ring thickness |
| showLegend | boolean | true | Show chart legend |
[ACCESSIBILITY]
ARIA
- >SVG chart with aria-label