Skip to main content
100%

Fork of Cheap Tricks for Interaction

✓ Published0🌍 Public
Mmavercikalvin
Last edited Apr 28, 2023
Created on Apr 28, 2023

This interactive map displays world countries on a natural Earth projection, with a blue sphere background and light green landmasses that turn red on hover. Built with d3.geoPath and d3.geoNaturalEarth1, it loads geographic data from the world-atlas package, combining TopoJSON country boundaries with TSV names. The visualization implements pan and zoom functionality through d3.zoom, updating the SVG group’s transform on zoom events. Country names appear as tooltips via SVG title elements.

AI-generated description
MIT Licensed

Similar vizzes