victory-voronoi draws an SVG voronoi chart with React and D3. Styles and data can be customized by passing in your own values as properties to the component. Data changes are animated with victory-animation.
The plain component has baked-in sample data, style, angle, and sort defaults, so rendering the voronoi with no custom properties, like so:
Will look like this:
[insert default state of voronoi image]
Pass your data in as an array of centriods:
All props are optional. They can be omitted and the component will still render.
The following props are supported:
Please see DEVELOPMENT
Please see CONTRIBUTING