Skip to main content
100%

Mountains on a Map

✓ Published1🌍 Public
Jjblaskovich
Last edited Aug 28, 2020
Created on Aug 28, 2020
Forked from Mountains on a Map

The visualization renders a world map where each city with a population over 50,000 is drawn as a small triangular "mountain" whose height corresponds linearly to population and whose color encodes the country. The map includes graticules, country boundaries, and a light sphere background. It uses D3’s `geoNaturalEarth1` projection, `geoPath`, and `geoGraticule`, with React managing the SVG rendering and data loading via `useCities` from a Simplemaps CSV. Color is assigned using `scaleOrdinal` with `hcl` hues.

AI-generated description

A 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..

MIT Licensed

Similar vizzes