Skip to main content
100%

circles on the map

✓ Published1🌍 Public
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
MIT Licensed

Similar vizzes