Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cheap tricks for interaction

Public visualization

Cheap tricks for interaction

0 stars1🌍 Public
RRoger Yu-Hsiang Lo
Last edited Feb 7, 2020
Created on Feb 7, 2020
Forked from Let's make a map!

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 description

Comments

Sign in to join the discussion.

MIT Licensed