Skip to main content
Public

Share visualization

Loading preview…

Pan and Zoom World Map Cities

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Pan and Zoom World Map Cities

1
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:

Comments

Sign in to join the discussion.

MIT Licensed