Skip to main content
Public

Share visualization

Loading preview…

Fork of Circles 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 Circles on a Map

0
DDonald Bagwell
Last edited Dec 20, 2023
Created on Dec 20, 2023
Forked from Circles on a Map

This map visualizes global population by country, with circle area proportional to 2018 population figures. Users can pan and zoom, and hovering over countries reveals detailed population data with a tooltip. The visualization uses D3 v5 with `d3.geoPath` and `geoNaturalEarth1` projection to render world boundaries from TopoJSON, while `d3.scaleSqrt` sizes the circles. Population data comes from a CSV file merged with the geometry. A size legend and color legend provide reference, and SVG rendering supports interactive zoom events.

AI-generated description

Visualizing population by country using circles on a map! The area of each circle corresponds to the population of the country it represents. You can also pan & zoom, and hover over each country for more information.

Comments

Sign in to join the discussion.

MIT Licensed