Skip to content

DonutChart

Optional label rendered in the center of the hole.

Slice data; each point’s value contributes to the whole.

CSS height of the SVG.

Inner radius as a fraction of the outer radius (the donut hole size).

Show a legend with labels and percentages.

Optional heading rendered above the chart.

CSS width of the chart wrapper.