Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cor por idade

Public visualization

Cor por idade

1 star1🌍 Public
DDaniel Marx
Last edited May 15, 2020
Created on May 13, 2020
Forked from Por TCH

This example visualizes agricultural land distribution by age group using a Voronoi treemap, rendered as colored cells within a circular boundary. The layout uses the `d3.voronoiTreemap` plugin to partition hierarchical data from `globalEconomyByGDP.json`, with each cell sized by weight and labeled with age categories. The code sorts legend entries by computed mean productivity values, draws the treemap via SVG, and includes a button that exports the visualization to a PNG using `canvas-toBlob.js` and `FileSaver.js`.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed