Skip to main content
100%

Circles on a map

✓ Published0🌍 Public
MMauradion
Last edited May 26, 2021
Created on May 26, 2021
Forked from Choropleth

This map visualizes global population estimates for 2018 using proportional circles overlaid on a geographic projection of the world. The visualization layers semi-transparent teal circles at each country’s centroid, with circle radius scaled by the square root of population via a legend. It employs D3’s `geoNaturalEarth1` projection, `geoPath`, and `geoCentroid` for map geometry, alongside `scaleSqrt` for sizing and `scaleOrdinal` for color. Data combines UN population CSV estimates with TopoJSON country boundaries, processed through local modules `loadAndProcessData` and `sizeLegend`.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes