Skip to main content
100%

Making a map

✓ Published2🌍 Public
SSharvariPhadke
Last edited Jan 23, 2021
Created on Jan 22, 2021
Forked from Making a face

This example displays a world map using a natural Earth projection, with each country rendered as a light-green SVG path that darkens on hover. The map is built with the `d3.geoNaturalEarth1` projection and `d3.geoPath`, while TopoJSON and TSV files from the world-atlas package supply country boundaries and names. The `d3.zoom` API enables panning and zooming of the entire map group, and hover tooltips show the country name via a `<title>` element.

AI-generated description
MIT Licensed

Similar vizzes