Map Interaction Assignment
✓ Published2🌍 Public
This example shows an interactive world map where each country is rendered as a filled path, and hovering over a country turns it red. The map uses a natural Earth projection via `d3.geoNaturalEarth1` and `d3.geoPath`, with country boundaries loaded from TopoJSON data in the world-atlas package. Zoom and pan interactions are implemented using `d3.zoom`, which applies a transform to the map group. Country names are matched from ISO codes in a TSV file and displayed as tooltips using SVG `<title>` elements.
AI-generated descriptionMIT Licensed