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

This repo is deprecated. Use victory-chart instead

License

Notifications You must be signed in to change notification settings

FormidableLabs/victory-voronoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This repo is deprecated. Use victory-chart instead

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published