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
Mmanalhilali
Last edited Nov 29, 2020
Created on Nov 29, 2020

This example visualizes global population distribution by rendering points for cities over 50,000 inhabitants on a Natural Earth projection, with point radius scaled using d3.scaleSqrt to reflect population. The map is drawn in SVG using d3.geoNaturalEarth1, d3.geoPath, and graticules generated by d3.geoGraticule, while country boundaries and interiors come from World Atlas TopoJSON. City data is sourced from Simplemaps’ World Cities Database, loaded via d3.csv. Semi-transparent teal circles emphasize densely populated regions, with styling handled through CSS.

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