Skip to main content
100%

Zika Virus (simplified)

✓ Published0🌍 Public
LLeslyMV
Last edited Jul 25, 2017
Created on Jul 25, 2017

A choropleth map of the United States colors each state according to the number of West Nile virus cases reported, with a logarithmic color scale ranging from blue to light blue. The code loads state-level case counts from a CSV file and merges them with geographic boundaries from a GeoJSON file, using D3 v3’s `d3.geo.albersUsa` projection and `d3.geo.path` to render the SVG paths. Hovering over a state increases its fill opacity, but no tooltip or legend is implemented in this version.

AI-generated description

My first D3 map showing my travel across the US. This visualization was built by modifying choropleth example code by Scott Murray, tooltip example code by Malcolm Maclean, and legend code example by Mike Bostock.

forked from <a href='http://bl.ocks.org/michellechandra/'>michellechandra</a>'s block: <a href='http://bl.ocks.org/michellechandra/0b2ce4923dc9b5809922'>Basic US State Map - D3</a>

forked from <a href='http://bl.ocks.org/scresawn/'>scresawn</a>'s block: <a href='http://bl.ocks.org/scresawn/a12c721027ebade8c68a25323c02e7d7'>West Nile Virus</a>

forked from <a href='http://bl.ocks.org/scresawn/'>scresawn</a>'s block: <a href='http://bl.ocks.org/scresawn/9b74f1446cad0f78e8972b84aa47e04e'>West Nile Virus (simplified)</a>

mit Licensed

Similar vizzes