Sunburst

@nivo/sunbursthierarchyradialsvgisomorphic

The responsive alternative of this component is ResponsiveSunburst.

Actions Logs
Start interacting with the chart to log actions
Base
numberrequired
Chart width.
numberrequired
Chart height.
objectoptional
px
px
px
px
Chart margin.
string | Functionoptionaldefault:'id'
Id accessor.
string | Functionoptionaldefault:'value'
Value accessor
string | Function | string[]optionaldefault:{"scheme":"nivo"}
nivo
Defines how to compute node color.
string | object | Functionoptionaldefault:{"from":"color"}
inheritthemecustom
inherited property
color
modifiers
No modifier.
Defines how to compute child nodes color.
numberoptionaldefault:1
px
Node border width.
numberoptionaldefault:0
px
Round node shape.
Interactivity
{boolean}optionaldefault:true
   Enable/disable interactivity.
supportsvgapi
Functionoptional
Tooltip custom component
supportsvgapi
booleanoptional
   Showcase custom tooltip component.
supportsvgapi
Functionoptional
onClick handler
supportsvgapi