Skip to main content

Voronoi

Voronoi charts are used for visualizing proximity and influence by dividing space into distinct regions based on the distance to a set of points.

Basic

See the full API here. Typically composed with VictoryChart to create full charts.

Live View
Loading...
Live Editor

Voronoi - Labels

Voronoi charts can be used to display labels using a label property in the dataset or by specifying a function to the labels prop.

Live View
Loading...
Live Editor
Live View
Loading...
Live Editor

Voronoi - Tooltips

Tooltips can be added by using a VictoryTooltip component as the labelComponent.

Live View
Loading...
Live Editor

Voronoi - Circles

Voronoi charts can also be used to display circles around data points.

Live View
Loading...
Live Editor

Voronoi - Styles

Chart styling can be customized by using the theme or overriding the style prop on the component.

Live View
Loading...
Live Editor

Voronoi - Events

Events can be handled by passing an array of event objects to the events prop on the component. Each event object should specify a target and an eventHandlers object. See the events guide for more information.

Live View
Loading...
Live Editor

Standalone Rendering

Area charts can be rendered outside a VictoryChart.

Live View
Loading...
Live Editor

They can also be embeded in other SVG components by using the standalone prop.

Live View
Loading...
Live Editor