Skip to main content
100%

Cheap tricks for interaction

✓ Published1🌍 Public
RRoger Yu-Hsiang Lo
Last edited Feb 7, 2020
Created on Feb 7, 2020

This example shows a natural Earth projection of world countries that users can pan and zoom. The map renders country boundaries as SVG paths with hover states that highlight each nation in red. The visualization uses d3.geoNaturalEarth1 and d3.geoPath to project TopoJSON data from the world-atlas package, while d3.zoom enables interactive transformations. Country names are loaded from a TSV file and attached as SVG title elements for tooltips.

AI-generated description
MIT Licensed

Similar vizzes