Skip to main content
100%

Cheap Tricks for interaction

✓ Published2🌍 Public
EEdward-Elric233
Last edited Sep 11, 2020
Created on Sep 11, 2020

This interactive map shows world countries on a globe, with each country filled with a distinct color from a rotating palette. Hovering over a country highlights it in black and displays its name via a tooltip, while the entire scene supports zoom and pan interactions. Built with D3 v5, the visualization uses `d3.geoPath` with a Mercator projection to render country outlines from the World Atlas TopoJSON dataset. Zooming is implemented through the `d3.zoom` API, which applies SVG transforms to the group element containing all paths.

AI-generated description
MIT Licensed

Similar vizzes