Skip to main content
100%

Easy map interactions

✓ Published1🌍 Public
WWarren-Fitzhenry
Last edited Jan 1, 2020
Created on Jan 1, 2020
Forked from Making a map

This example displays an interactive world map rendered with SVG, using natural Earth projection via d3.geoNaturalEarth1 and d3.geoPath. The map loads country boundaries and names from the world-atlas TopoJSON and TSV datasets. Users can pan and zoom using d3.zoom, which applies a transform to the map group. Hovering highlights individual countries in red, and each country includes a native SVG title element displaying its name as a tooltip.

AI-generated description

A simple map from d3 using topojson.

MIT Licensed

Similar vizzes