Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Latest commit

 

History

History
41 lines (23 loc) · 1.08 KB

README.md

File metadata and controls

41 lines (23 loc) · 1.08 KB

Travis Status

Victory Voronoi

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.

##Examples

The plain component has baked-in sample data, style, angle, and sort defaults, so rendering the voronoi with no custom properties, like so:

<VictoryVoronoi/>

Will look like this:

[insert default state of voronoi image]

Pass your data in as an array of centriods:

The API

Props

All props are optional. They can be omitted and the component will still render.

The following props are supported:

Development

Please see DEVELOPMENT

Contributing

Please see CONTRIBUTING