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
AAiden Kwong
Last edited Jan 14, 2022
Created on Jan 14, 2022

This example displays a world map with cities exceeding 50,000 in population, using circles sized and colored by population via a square-root scale. The map uses a natural Earth projection with graticules and land boundaries from the World Atlas TopoJSON, styled with CSS. Data is loaded from Simplemaps' World Cities Database using d3.csv. The visualization is built with React, rendering SVG paths for geography and circles for cities, using d3.geoNaturalEarth1, d3.geoPath, and d3.geoGraticule for the map projection and graticule lines.

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