Skip to main content
100%

Fork of World Cities

✓ Published0🌍 Public
TThaverman
Last edited Oct 6, 2023
Created on Oct 6, 2023
Forked from World Cities

This visualization displays a world map with cities marked as small points, using a natural Earth projection. The map renders country boundaries from TopoJSON data and plots city coordinates from a CSV dataset, with each city’s position computed via the `d3.geoNaturalEarth1` projection and drawn using `d3.geoPath`. The code leverages `topojson-client` to convert TopoJSON features and `d3.csvParse` to load the city data, while graticule lines and an outline frame the map.

AI-generated description

A world map showing cities.

See also:

MIT Licensed

Similar vizzes