Skip to main content
100%

Fork of World Cities

✓ Published0🌍 Public
BBen Trantanella
Last edited Dec 12, 2025
Created on Dec 12, 2025
Forked from World Cities

This visualization shows the world's cities as tiny dots on a natural Earth projection, with country boundaries rendered in light gray and graticule lines overlaid for geographic context. The code uses D3’s `geoNaturalEarth1` projection and `geoPath` to draw the map, while fetching geographic data from a TopoJSON world atlas and city coordinates from a CSV file. Each city’s population is parsed but not visually encoded; instead, all cities appear as uniform 0.2-pixel-radius circles. The rendering is driven by D3 selections with data joins, and topojson-client converts the TopoJSON features into GeoJSON for mapping.

AI-generated description
MIT Licensed

Similar vizzes