Let's make a map and interact with Hover!
✓ Published0🌍 Public
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 descriptionMIT Licensed