Pie

@nivo/pieradial

Generates a pie chart from an array of data, each datum must have an id and a value property. Note that margin object does not take radial labels into account, so you should adjust it to leave enough room for it.

You can also see more example usages in the storybook.

See the dedicated guide on how to setup legends for this component.

roll the dice
Actions Logs
Start interacting with the chart to log actions
Base
Dimensions
Style
Arc labels
Arc link labels
Customization
Interactivity
Motion
Legends