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
LLauranJade
Last edited Sep 28, 2022
Created on Sep 28, 2022
Forked from Circles on a Map

This visualization shows global population by country, with the area of each circle proportional to that country's 2018 population. It uses a natural Earth projection with D3’s `geoPath` for the map. Pan and zoom via the `zoom` control, and hover reveals detailed population figures. Data is loaded from a CSV of UN population figures and a TopoJSON world atlas, processed with `topojson.feature`. Circles are drawn using SVG, with a size legend generated by `sizeLegend` and a color legend using `colorLegend`.

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