Fork of Mountains on a Map-1
This visualization displays a world map with cities over 50,000 population as triangular “mountains.” The height of each mountain encodes the city’s population, while its color distinguishes the country. The map includes graticules and country borders, with a dark sphere background. Built with React and D3 v5, it uses `geoNaturalEarth1` for projection, `geoPath` for land and graticules, and `geoGraticule` for the grid. City data comes from Simplemaps, processed via `d3.csv`, while country boundaries originate from the World Atlas TopoJSON. Colors are generated using `scaleOrdinal` and `hcl`.
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..