🌍 Public
Viewing a saved revision (read-only)
2944bc2e5b584f5f9624bda2efce9ce2
Fork of Cheap Tricks for Interaction1
This interactive map of the world renders landmasses as SVG paths using the `d3.geoPath` and `d3.geoNaturalEarth1` projections, with country names provided by TSV data loaded via `d3.tsv`. A `d3.zoom` control lets users pan and scale the map, updating the SVG group's transform on each event. Countries turn red on hover, and the topojson library processes the GeoJSON data from the world-atlas package.
AI-generated description