Fork of Cheap Tricks for Interaction1
✓ Published0🌍 Public
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 descriptionMIT Licensed