Skip to main content
100%

Let's make a map and interact with Hover!

✓ Published0🌍 Public
XX. N. Chu
Last edited Jun 23, 2020
Created on Jun 23, 2020
Forked from Let's make a map!

This example shows a world map with countries rendered as light green shapes on a blue sphere, with hover interactions highlighting each country in red. Using D3 v5 and topojson, the map projects geographic data with a `geoEqualEarth` projection and `geoPath` to draw the sphere and country boundaries. Country names come from a TSV file matched to the GeoJSON features. The code also enables pan and zoom through D3's `zoom` and `event.transform` APIs.

AI-generated description
MIT Licensed

Similar vizzes