Skip to main content
100%

map exemple

✓ Published0🌍 Public
JJuliette
Last edited Oct 3, 2022
Created on Oct 3, 2022
Forked from map exemple

This map example visualizes global population estimates by country using a dark red color scale. The code loads geographic data from the world-atlas package and joins it with a TSV file containing population statistics. The visualization uses the d3.geoMercator projection and d3.geoPath to render country boundaries as SVG paths, while the topojson library converts the GeoJSON features. Hovering over a country turns it purple, and the map supports zooming through d3.zoom and event handling.

AI-generated description

map

MIT Licensed

Similar vizzes