Cheap MAAAAAP
✓ Published1🌍 Public
This example displays an interactive world map rendered in SVG, with each country filled in dark green and a natural Earth projection. The visualization uses D3 v5's `geoNaturalEarth1` and `geoPath` to project geographic data from the world-atlas TopoJSON, retrieved via `json()`. Users can pan and zoom the map using D3's `zoom` behavior, which applies transform attributes to the map group. Hovering over a country turns it red, and a tooltip showing the country name uses D3's `title` element.
AI-generated descriptionMIT Licensed