Skip to main content
100%

Voronoi Treemap

✓ Published0🌍 Public
SSokrates86
Last edited Jan 20, 2016
Created on Jan 20, 2016

A Voronoi treemap displays hierarchical data as nested, weighted polygonal cells filling a chosen boundary shape, such as a rectangle or triangle. The example uses Finnish household expenditure data from the included `data.js`, showing categories and subcategories with sizes proportional to spending. The algorithm iteratively adjusts site weights to match target areas, relying on convex hull computation and power diagrams implemented in `ConvexHull.js` and `PowerDiagram.js`. Rendered as an SVG via d3.v2, the visualization offers interactive controls to switch datasets, polygon shapes, and color schemes.

AI-generated description

Built with blockbuilder.org

Similar vizzes