World Cities
✓ Published0🌍 Public
This visualization displays global cities as tiny dots on a natural Earth projection, overlaid with graticule lines and country outlines. It uses D3’s `geoNaturalEarth1`, `geoPath`, and `geoGraticule` to render the map, while `topojson-client` converts TopoJSON country boundaries. City coordinates are projected from latitude and longitude, and each dot’s radius is fixed at 0.2 pixels. Data comes from a reduced World Cities CSV and a 110m world atlas, loaded via `fetch` and parsed with `csvParse`.
AI-generated descriptionA world map showing cities.
See also:
- Simplemaps: World Cities Database
- Wikipedia: Toggle the table of contents Geographic coordinate system
- d3-geo: projection(point)
MIT Licensed