Skip to main content
100%

Cheap Tricks for Interaction

✓ Published0🌍 Public
KKevinw97
Last edited Feb 24, 2020
Created on Feb 24, 2020

This example displays a world map rendered with the natural Earth projection, showing countries as light green regions with black borders. Interactive zooming and panning are enabled through d3.zoom, while hovering any country turns it red using CSS. The map is drawn as SVG paths built with d3.geoPath and d3.geoNaturalEarth1, with country names loaded from a TSV file and geographic boundaries from TopoJSON data.

AI-generated description
MIT Licensed

Similar vizzes