IcicleHtml

@nivo/iciclehierarchy

A HTML implementation of the Icicle component.

SVG can be pretty limited when it comes to rendering text, images... So if you want to render more complex content, you can use the HTML version.

Also web developers are used to HTML, CSS and JS, so this version might be more familiar if customization is needed.

Actions Logs
Start interacting with the chart to log actions
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

Chart width.

numberrequired

Chart height.

objectoptional
px
px
px
px

Chart margin.

Style
Labels
Customization
Interactivity
Accessibility
Motion