🌍 Public
Viewing a saved revision (read-only)
7c4f8bb200fe45b1bf6d1e8abd25bc21
Fork of map exemple
This example displays a zoomable world map where each country is filled with a color intensity based on its population estimate. The choropleth uses a linear scale transitioning from light to dark red, with hover effects changing the fill to purple. It builds the map using `d3.geoPath` with a `geoMercator` projection and TopoJSON data from world-atlas, while population and country names come from a TSV file. Zoom interactions are handled through d3’s `zoom` behavior, transforming SVG paths.
AI-generated descriptionmap