Skip to main content
100%

US State Map

✓ Published0🌍 Public
LLaurynKW
Last edited Mar 1, 2018
Created on Mar 1, 2018

This example visualizes the geographic distribution of Zika virus cases across US states, with a choropleth map that uses a sequential color scale to encode the total case count per state. The map is rendered as an SVG using the D3.js v4 library, and includes interactive hover states that display a tooltip with the exact case number for each state. Data is loaded from a CSV file and processed with D3's `d3.csv` function, while the U.S. state boundaries are drawn using a collection of SVG path elements provided by the `uStates.js` library. The coloring applies a logarithmic scale to handle the wide range of case values, from states with just a few cases to those with over a thousand.

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>

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

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

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

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

gpl-3.0 Licensed

Similar vizzes