🌍 Public
Viewing a saved revision (read-only)
86d1b7f7934844e4adcc1e110394ab35
Cheap Tricks with Interactions!
This example displays an interactive map of world countries on a natural Earth projection, rendered with SVG paths. Users can pan and zoom the map via the d3.zoom API, while hovering over a country highlights it in coral using CSS. The visualization loads GeoJSON from a TopoJSON world dataset and merges it with country names from a TSV file. It uses d3.geoPath to generate the map shapes and a D3 zoom behavior to apply transforms to the map group.
AI-generated description