Skip to main content
Public

Share visualization

Loading preview…

World 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

World Cities

0
Aabell@wpi.edu
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from World Cities

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 description

A world map showing cities.

See also:

Comments

Sign in to join the discussion.

MIT Licensed