🌍 Public
Viewing a saved revision (read-only)
c021a767325d4b66b945b6232e42836e
Choropleth Map
This choropleth map visualizes global population estimates for 2018, using circle size to represent population and color to indicate economic classification. The map renders countries as SVG paths via d3.geoPath with a natural Earth projection, while population circles are positioned using d3.geoCentroid and scaled with d3.scaleSqrt. The visualization employs d3.zoom for panning and zooming, d3.scaleOrdinal with schemeSpectral for the color legend, and loads data from TopoJSON world atlas and UN population CSV files. Hovering highlights countries in red.
AI-generated description