🌍 Public
Let's make a face
A composite face built from a treemap layout, where each facial feature is sized by the population of a geographic region from the provided UN population dataset. The `d3.hierarchy` and `d3.treemap` layouts partition the data into rectangular cells that form eyes, nose, mouth, and head shape, all rendered as SVG elements. The visualization uses `d3.csv` to load the data and `d3.select` to bind it to the SVG container, with population values converted and scaled to drive the geometry.
AI-generated descriptionReact Starter code.
MIT Licensed








Comments
Sign in to join the discussion.