Cheap tricks for interaction
✓ Published1🌍 Public
This example displays a world map using a natural Earth projection with countries filled in light green on a blue sphere. It demonstrates a simple interaction technique where hovering over any country changes its fill to red, implemented entirely through CSS `:hover` rules. The visualization loads geographic data from the World Atlas TopoJSON collection and renders it using D3 v5’s `geoPath` and `geoNaturalEarth1` projection.
AI-generated descriptionMIT Licensed