Skip to main content
Public

Share visualization

Loading preview…

circles on the 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

circles on the map

1
JJoel Schwartz
Last edited May 6, 2020
Created on May 5, 2020
Forked from Choropleth map

This example displays global population data for 2018 on a natural Earth projection map, with semi-transparent teal circles sized by population magnitude at each country’s centroid. Countries lacking data appear in pink, while those with values are gray; hovering highlights a country and a tooltip shows its name and formatted population. The visualization uses D3 v5 with `d3.geoNaturalEarth1`, `d3.geoPath`, `d3.scaleSqrt`, and TopoJSON for world boundaries, rendering in SVG. Two legends—a color legend and an interactive size legend—communicate the encoding, and zooming is enabled via `d3.zoom`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed