Fork of World Cities
✓ Published0🌍 Public
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 descriptionMIT Licensed