Skip to main content
100%

Choropleth w/ state highlighting

✓ Published0🌍 Public
Aalexmacy
Last edited May 25, 2016
Created on May 24, 2016

This choropleth displays U.S. county unemployment rates colored on a quantize scale from light to dark blue, overlaid with white state boundary lines. When hovering over a county, its outline turns red and all counties outside that county’s state fade to 50% opacity, using CSS classes generated from the state FIPS code to highlight the state containing the hovered county. The map uses an Albers USA projection and is built with D3 v3 and TopoJSON, with county fill colors mapped from unemployment data.

AI-generated description

This adds a highlighting effect to the unemployment choropleth. When hovering over a county, it's outline (stroke) changes to red and all counties not in that state fade to .5 opacity, effectively highlighting the state it's in.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/4060606'>Choropleth</a>

gpl-3.0 Licensed

Similar vizzes