🌍 Public
Fork of map exemple
This visualization displays a choropleth map of world population estimates, using darker reds to represent higher population counts. It employs d3.geoMercator and d3.geoPath to project and render country boundaries from the world-atlas TopoJSON dataset, with d3.scaleLinear mapping population estimates to fill colors. The map supports zooming via d3.zoom, and hover effects change country fills to purple. Population data is loaded from a TSV file and matched to country features by ISO numeric codes.
AI-generated descriptionmap
MIT Licensed
Comments
Sign in to join the discussion.