Skip to main content
100%

Cheap Tricks for Interaction

✓ Published0🌍 Public
Vveagy
Last edited Sep 26, 2018
Created on Sep 26, 2018

This example shows a world map rendered with SVG paths using D3 v5 and TopoJSON world-atlas data. Clicking a country triggers a simple interaction, though the current handler only logs to the console; countries highlight red on hover. The map uses a natural Earth projection (`geoNaturalEarth1`) with zoom support via `d3.zoom`, and country names come from a TSV file joined by ISO numeric ID.

AI-generated description
MIT Licensed

Similar vizzes