Mountains on a Map
This visualization depicts a world map where each city with a population over 50,000 is represented as a small triangular "mountain" whose height encodes population size and whose color encodes the country. The map is rendered using React and D3’s `geoNaturalEarth1` projection with `geoPath`, including graticules and land boundaries from World Atlas TopoJSON. City data comes from Simplemaps, with tooltips displaying city name, country, and formatted population via `format`. Hovering increases stroke width on the mountain paths.
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..