Skip to main content
100%

Fork of Cheap Tricks for Interaction

✓ Published1🌍 Public
Aaruna-rajeswari
Last edited Mar 1, 2023
Created on Mar 1, 2023

This interactive world map displays country names as tooltips and highlights nations in red on hover. The visualization uses a Natural Earth projection via `d3.geoNaturalEarth1` and `d3.geoPath` to render SVG paths from TopoJSON world-atlas data, with country names joined from a TSV file. Zooming and panning are enabled through `d3.zoom`, which applies transforms to the map group. The styling, including the blue ocean sphere and green countries, is defined in CSS with hover effects.

AI-generated description
MIT Licensed

Similar vizzes