Skip to main content
100%

Cheap Tricks for Interaction

✓ Published0🌍 Public
RRaihan Jamil
Last edited Mar 30, 2020
Created on Mar 30, 2020

A world map rendered in SVG with D3 v5 uses a natural Earth projection to display countries colored in light green. Hovering over a country turns it red, and scrolling or dragging applies zoom and pan interactions via the d3.zoom API. Country names come from a world-atlas TSV file and appear as tooltips through SVG title elements, while the map data loads from TopoJSON.

AI-generated description
MIT Licensed

Similar vizzes