Skip to main content
Public

Share visualization

Loading preview…

US States with Hover

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportHTML, source ZIP

US States with Hover

0 stars5Public
CCurran Kelleher
Last edited Jul 30, 2025
Created on Aug 17, 2024
Forked from US States Map

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 description

Hover interaction on US States. Uses a Voronoi Diagram in the background to facilitate hovering over small areas. Leverages utilities from d3-rosetta.

Comments

Sign in to join the discussion.

MIT Licensed