Skip to main content
Public

Share visualization

Loading preview…

Sized Points on a Map

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

Sized Points on a Map

0
GGiovanni Kaaijk
Last edited Dec 3, 2019
Created on Dec 3, 2019

This visualization shows a world map with cities as sized points, where each circle’s radius reflects population using a `scaleSqrt` in d3. It renders a natural Earth projection with `geoNaturalEarth1` and `geoPath` for country boundaries, interior borders, and graticules. City coordinates are projected from longitude and latitude, with population data loaded via `d3.csv` from a Simplemaps dataset. The React-based code uses reusable `Marks` components, while SVG circles are semi-transparent to reveal overlapping urban areas.

AI-generated description

A world map showing cities with population greater than 50,000. City data from Simplemaps: World Cities Database.

Country boundaries from World Atlas TopoJSON, polished for visual style, including graticules.

Comments

Sign in to join the discussion.

MIT Licensed