Skip to main content
100%

Pan and Zoom World Map Cities

✓ Published1🌍 Public
YYiyi Wu
Last edited Nov 6, 2024
Created on Oct 24, 2024
Forked from World Cities

This example presents an interactive orthographic world map displaying major cities as points. Users can pan by dragging and zoom with the mouse wheel, manipulating the map’s rotation and scale in real time. The visualization loads country boundaries from the visionscarto-world-atlas TopoJSON and city coordinates and populations from a reduced World Cities CSV. Built with D3’s `geoOrthographic`, `geoPath`, `drag`, and `zoom` APIs, the map renders graticules and updates city positions via the projection each frame.

AI-generated description

A world map showing cities.

See also:

MIT Licensed

Similar vizzes