Mountains on a Map
This visualization presents a world map where cities with populations over 50,000 are depicted as triangular mountains, with peak height encoding population size and fill color encoding country. The geographic base uses D3’s `geoNaturalEarth1` projection and `geoPath` for landmasses, graticules, and country interiors from TopoJSON world-atlas data. City data comes from Simplemaps and is rendered as SVG paths within React. The color scale is generated using D3’s `hcl` interpolation, and hover effects highlight individual mountains.
AI-generated descriptionA world map showing cities with population greater than 50,000.
- Height represents population.
- Color represents country.
City data from Simplemaps: World Cities Database.
Country boundaries from World Atlas TopoJSON, polished for visual style, including graticules.
Colors inspired by UNHCR Streamgraph Explorer.
Technique inspired by New York Times: See How the Coronavirus Death Toll Grew Across the U.S..