Skip to main content
100%

map viz

✓ Published0🌍 Public
Ddeepthinaidu2001@gmail.com
Last edited Nov 8, 2025
Created on Nov 7, 2025
Forked from HTML Starter

This choropleth shows world population by country using a natural Earth projection. It renders country boundaries as SVG paths via d3.geoPath, with fill colors derived from a sequential YlGnBu scale encoding population values from a small embedded dataset. Hovering triggers a tooltip displaying country name and population. A gradient legend with an axis communicates the color-to-value mapping, while nations lacking data appear gray. The map loads country geometries from the world-atlas TopoJSON file, processed with topojson.feature.

AI-generated description
MIT Licensed

Similar vizzes