🌍 Public
Viewing a saved revision (read-only)
302a9bdead0f41e787eef07c8355b8f0
Cheap tricks for interaction!
An interactive world map demonstrates cheap tricks for zooming and hovering. Countries are drawn as SVG paths using `d3.geoPath` with an Equal Earth projection, and hovering changes their fill color. A `d3.zoom` behavior is applied to the SVG, updating a group’s transform on pan and zoom events. The map uses TopoJSON country data and a TSV file mapping ISO numeric codes to country names for tooltips.
AI-generated description