FormidableLabs/victory-voronoi

Name: victory-voronoi

Owner: Formidable

Description: This repo is deprecated. Use victory-chart instead

Created: 2015-10-23 16:54:55.0

Updated: 2017-01-10 18:56:39.0

Pushed: 2016-02-26 23:27:35.0

Homepage:

Size: 447

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

toryVoronoi/>

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.