🌍 Public
Viewing a saved revision (read-only)
18474a6e90044fa9b61e4c46c25fc6f5
US States with Hover
This example displays a map of US states with hover interactions. When hovering over a state, it highlights in blue, displays the state name, and outlines the border. The visualization uses a Voronoi diagram to detect hover events across small or irregular state boundaries, ensuring accurate interaction. Built with D3 v7 and d3-rosetta utilities, it projects geographic data using geoAlbersUsa and geoPath, with state and county boundaries sourced from the us-atlas TopoJSON dataset.
AI-generated descriptionHover interaction on US States. Uses an invisible Voronoi Diagram in the background to facilitate hovering over small areas. Leverages utilities from d3-rosetta.
MIT Licensed