Skip to main content
100%

Fork of Cheap Tricks for Interaction

✓ Published1🌍 Public
NNacirGithub
Last edited Oct 1, 2022
Created on Oct 1, 2022

This interactive map visualizes the world’s countries, color-coded in light green against a blue sphere, with country names displayed as tooltips on hover. The visualization supports pan and zoom interactions, which are implemented using the `d3.zoom` event and applied to the SVG group’s transform. The map is rendered using `d3.geoPath` with the `geoNaturalEarth1` projection, and country boundaries come from the `world-atlas` TopoJSON and TSV files, which provide both geometry and names. Hovering changes each country’s fill to red via CSS.

AI-generated description
MIT Licensed

Similar vizzes