Skip to main content
100%

Por Variedade

✓ Published0🌍 Public
DDaniel Marx
Last edited Feb 4, 2020
Created on Feb 4, 2020
Forked from Por TCH

Por Variedade visualizes a weighted Voronoi treemap of agricultural plot data from a JSON file, where each cell's area corresponds to the number of sub-plots per variety, and the color-coded regions are labeled with their proportional shares. Built with React and D3 v4, it uses the `d3.voronoiTreemap`, `d3-weighted-voronoi`, and `d3-voronoi-map` libraries to compute the polygonal layout, clipped within a circular boundary. The SVG rendering includes a legend ranking variety participation percentages, and a button exports the visualization to PNG via canvas-toBlob and FileSaver.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes