2

Donut chart

Usage

Arc defaults to a donut. Change innerRadius to control the opening and compose Label inside Plot for center content.

Place Legend and Tooltip directly inside Root. Their snippets receive the formatted value and the percentage of the current total.

Total in the center

Switch periods

Custom center and legend

Data and animation states

API reference

See the shared API reference for every part and prop.