Skip to main content
100%

Circles on a Map

✓ Published0🌍 Public
Jjlspangl
Last edited Oct 12, 2021
Created on Oct 12, 2021
Forked from Choropleth Map

This example displays a world map with colored circles positioned over each country, where the circle color encodes the economy category from the UN World Population Prospects dataset. The visualization uses d3.geoNaturalEarth1 projection, d3.geoPath, and d3.geoCentroid to place the circles, with a d3.scaleOrdinal color scale and a custom color legend. The map renders in SVG, supports zooming via d3.zoom, and uses topojson for geographic data processing and CSV loading for population statistics.

AI-generated description

UN World Population Prospects

MIT Licensed

Similar vizzes