🌍 Public
Viewing a saved revision (read-only)
8c53883407204f96a1297e3fa8f27d38
Circles on a 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 descriptionUN World Population Prospects