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
NNita
Last edited Sep 21, 2018
Created on Sep 20, 2018

This example displays a world map with countries colored blue and outlined in black, rendered using the Natural Earth projection. Hovering over a country turns it red, providing visual feedback. The map uses D3’s `geoPath` with a `geoNaturalEarth1` projection, loading country boundaries as TopoJSON and names from a TSV file. A CSS `:hover` rule triggers the color change, and a `<title>` element shows the country name on hover.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed