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
Ssleyus
Last edited Nov 8, 2019
Created on Nov 8, 2019

This example uses a geographic map to visualize the populations of cities worldwide. The visualization shows cities as sized points on a world map. A square-root scale maps a city's population to the radius of its corresponding circle. The visualization is rendered using SVG and the React framework. The code uses d3's `geoNaturalEarth1` projection, `geoPath`, `geoGraticule`, and `scaleSqrt`. The underlying geo data comes from the World Atlas TopoJSON, and city data comes from a CSV file.

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