Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

victory-voronoi

Package Overview
Dependencies
Maintainers
4
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-voronoi

Victory Component

  • 0.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
235K
increased by6.27%
Maintainers
4
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 29 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc