Skip to main content
Public

Share visualization

Loading preview…

Fork of 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

Fork of Sized Points on a Map

0
Hhenry c
Last edited Apr 2, 2022
Created on Apr 1, 2022

This example displays a world map with cities over 50,000 in population, represented by semi-transparent circles scaled by population using a sqrt scale. It uses React for component structure and d3’s geoNaturalEarth1 projection, geoPath, and geoGraticule to render land, country interiors, and graticule lines from World Atlas TopoJSON data. City coordinates and populations come from a CSV loaded via d3.csv, with circle radii capped at 15 pixels.

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