Skip to main content
100%

US State Map

✓ Published0🌍 Public
CCraftbd
Last edited Feb 15, 2018
Created on Feb 15, 2018

This example presents a choropleth map of the United States, with each state colored according to the number of Zika virus cases reported in 2016. The visualization uses D3.js v3 to render the map as SVG paths and includes a hover tooltip that displays the total case count for each state. The map is drawn using the `uStates.js` library, which defines the state path geometries, while `d3.csv` loads the data from a local file. State colors are determined by a single interpolated value, and the code includes a mouseover effect that reduces fill opacity.

AI-generated description

forked from <a href='http://bl.ocks.org/NPashaP/'>NPashaP</a>'s block: <a href='http://bl.ocks.org/NPashaP/a74faf20b492ad377312'>US State Map</a>

forked from <a href='http://bl.ocks.org/scresawn/'>scresawn</a>'s block: <a href='http://bl.ocks.org/scresawn/6b3e4d2bc20cf4e7856b93134aa82d58'>US State Map</a>

forked from <a href='http://bl.ocks.org/wenzelmk/'>wenzelmk</a>'s block: <a href='http://bl.ocks.org/wenzelmk/e643d6b795ac1160c36f55de1dd5a42d'>US State Map</a>

gpl-3.0 Licensed

Similar vizzes