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
SSam
Last edited May 5, 2021
Created on May 5, 2021

This example displays a world map with circles sized by population for cities exceeding 50,000 residents. It uses a natural Earth projection via `d3.geoNaturalEarth1` and `d3.geoPath` to render landmasses, graticules, and interiors. City data is loaded from a CSV using `d3.csv`, with circle radii scaled by a square root scale (`d3.scaleSqrt`). The visualization is built with React and rendered as SVG, styled with soft teal, semi-transparent points.

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