A variation around the Pie component. Well suited for large data sets as it does not impact DOM tree depth, however you'll lose the isomorphic ability and transitions.
The responsive alternative of this component is ResponsivePieCanvas
.
See the dedicated guide on how to setup legends for this component.
Chart data, which should be immutable.
'id'
ID accessor which should return a unique value for the whole dataset.
'value'
Value accessor.
Optional formatter for values.
Chart width.
Chart height.
'Depends on device'
Adjust pixel ratio, useful for HiDPI screens.
Chart margin.
0
Start angle (in degrees), useful to make gauges for example.
360
End angle (in degrees), useful to make gauges for example.
true
If 'true', pie will be optimized to occupy more space when using partial pie.
0
Donut chart if greater than 0. Value should be between 0~1 as it's a ratio from original radius.
0
Padding between each pie slice.
0
Rounded slices.
false
If 'true', arcs will be ordered according to their associated value.