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
Llukastieber
Last edited Aug 7, 2020
Created on Aug 7, 2020

A world map displays cities with populations over 50,000, where the area of each teal point is proportional to city population via a square-root scale. The map includes landmasses, country boundaries, and graticules, all rendered as SVG paths using `d3.geoNaturalEarth1` and `d3.geoPath`. City data comes from the Simplemaps World Cities Database, loaded with `d3.csv` in React. Point sizes are computed with `d3.scaleSqrt`, with circles rendered at projected coordinates from `d3.geoPath`.

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