Skip to main content
100%

world map

✓ Published0🌍 Public
AAparna Desi Reddy
Last edited Apr 12, 2026
Created on Apr 12, 2026
Forked from HTML Starter

This world map visualizes population density across countries, with each nation colored on a sequential blue scale from light to dark based on its density value. The map renders in SVG using a Natural Earth projection via d3.geoNaturalEarth1 and d3.geoPath. It loads TopoJSON country boundaries from world-atlas and joins CSV population data by country ID, while a gradient legend shows the density range. Interactive hover tooltips display the country ID and its population density or “No data” when unavailable.

AI-generated description
MIT Licensed

Similar vizzes