Voronoi
@nivo/voronoi
No description provided on npm.
Charts
nivo
dataviz
react
d3
charts
voronoi
@nivo/voronoi
javascript
npm
frontend
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB
Installation
npm install @nivo/voronoiCode example
import { Voronoi } from "@nivo/voronoi";
const data = [
{ name: "Jan", value: 12 },
{ name: "Feb", value: 18 },
];
export function Example() {
return (
<Voronoi data={data} width={420} height={240}>
{/* series / axes from Voronoi */}
</Voronoi>
);
}Pros & cons
Pros
- Actively maintained by Raphaël Benitte
- 0 weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~60 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 0 open issues on GitHub