Icicle HTTP API

POST /charts/icicle

The Iciclecomponent 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
readonly Datum[]required

Hierarchical chart data.

PropertyAccessor<Datum, string>optionaldefault:'id'

Id accessor.

PropertyAccessor<Datum, number>optionaldefault:'value'

Value accessor

NodesSortingoptional

Define how to sort the nodes.

string | (value: number) => string | numberoptional
open editor

Optional formatter for values.

'top' | 'right' | 'bottom' | 'left'optionaldefault:'bottom'
bottom

Chart orientation.

numberoptionaldefault:1
px

Horizontal spacing between nodes.

numberoptionaldefault:1
px

Vertical spacing between nodes.

numberrequired
px

Chart width.

numberrequired
px

Chart height.

objectoptional
px
px
px
px

Chart margin.

Style
Labels
Customization
Interactivity
Accessibility
Motion