Fork of Fork of Mountains on a Map-1
This visualization displays a world map with cities over 50,000 inhabitants, using triangular "mountain" marks to encode population as height and country as color. A natural Earth projection renders landmasses, graticules, and borders, with city data from a Simplemaps CSV. The React-based code uses D3 v5’s geoPath, geoNaturalEarth1, and scaleLinear for sizing, while scaleOrdinal assigns hues from a color scale; interactive tooltips appear on hover.
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..