Skip to main content
100%

Por Idade

✓ Published1🌍 Public
DDaniel Marx
Last edited Jan 31, 2020
Created on Jan 31, 2020
Forked from Por TCH

This visualization reimagines "The Costs of Being Fat, in Actual Dollars" as a Voronoi treemap, displaying hierarchical economic data categorized into colored parent groups. Each cell's size represents a data weight, while the layout distributes them within a circular boundary. Built with React and D3 v4, it employs `d3.voronoiTreemap`, `d3.hierarchy`, and a weighted Voronoi algorithm to compute the polygon-based partition. The visualization renders via SVG and includes a canvas-based PNG export button using `canvas-toBlob` and `FileSaver`. Data comes from `globalEconomyByGDP.json`, with parent groups sorted by computed mean values.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes