🌍 Public
Viewing a saved revision (read-only)
7c4ab46d5f304b8ba223714ad53ac41e
d3-voronoi-treemap usage
A Voronoi treemap visualizes the distribution of production across different farms, using area to represent each region's economic weight. The visualization uses the `d3.voronoiTreemap` API from the `d3-voronoi-treemap` library, which partitions a circular clipping area into weighted Voronoi cells. Data is loaded from a JSON file containing hierarchical farm and country information. The SVG output includes styled cells with white borders, labels showing names and weights, and a title, with interactive hover effects that highlight individual cells.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.