Sunburst HTTP API

POST /charts/sunburst

The Sunburstcomponent is available in the nivo HTTP rendering API. The API generates a SVG and return a path to this SVG which can then be easily embedded.

The api accepts almost the same properties as the regular component, in json, however it's not interactive and you cannot use code in properties (functions).

Please note that the demo API server is installed on heroku using a free plan, so it might be unavailable from times to times.

Click the generate button in order to generate the chart.
You can customize settings by using dedicated controls.
generate
Response n/a
no response available
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