Skip to main content
100%

d3-voronoi-treemap usage

✓ Published0🌍 Public
DDaniel Marx
Last edited Jan 25, 2020
Created on Jan 23, 2020
Forked from D3

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 description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes