Voronoi

@nivo/voronoiexperimental

Delaunay/Voronoi Tessellation, uses d3-delaunay. The responsive alternative of this component is ResponsiveVoronoi.

roll the dice
Actions Logs
Start interacting with the chart to log actions
Base
object[]required

Chart data.

[number, number]optionaldefault:[0, 1]

Defines the x values domain.

[number, number]optionaldefault:[0, 1]

Defines the y values domain.

numberrequired

Chart width for non-responsive component.

numberoptional

Chart default width for responsive component.

numberrequired

Chart height for non-responsive component.

numberoptional

Chart default height for responsive component.

number (ms)optional

Debounce width/height updates for responsive component.

(dimensions: { width: number; height: number }) => voidoptional

A callback for when responsive component is resized.

objectoptional
px
px
px
px

Chart margin.

Ref<SVGSVGElement>optional

Ref to the chart's container. Used on this page to generate/download the chart's image via html-to-image.

Customization
Links
Cells
Points