Skip to main content
100%

Botafogo

✓ Published1🌍 Public
DDaniel Marx
Last edited Jan 29, 2020
Created on Jan 28, 2020
Forked from Itapipiré

This example uses a Voronoi treemap to visualize farm data from the Fazenda Botafogo dataset, which contains hierarchical groups with weighted leaf nodes. The treemap partitions a circular polygon into colored cells, each representing a data point, with labels and values displayed within. Built with React and D3 v4, it leverages the `d3-voronoi-treemap`, `d3-weighted-voronoi`, and `d3-voronoi-map` plugins to compute the layout. The visualization renders with SVG for shapes and text, and includes a button to export the current view to a PNG file using canvas-toBlob and FileSaver.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes