Skip to main content
100%

Hover Over Country to See Name

✓ Published0🌍 Public
Jjons288
Last edited Sep 25, 2018
Created on Sep 23, 2018

This interactive world map renders country boundaries as SVG paths using D3’s `geoPath` and `geoNaturalEarth1` projection. Hovering over a country reveals its name via an SVG `<title>` tooltip, populated from world-atlas TSV data keyed by ISO country code. Clicking a country highlights its outline in red by restyling the path’s stroke attribute. The example uses D3 v5, topojson for feature extraction, and includes a blue sphere backdrop.

AI-generated description
MIT Licensed

Similar vizzes