Skip to main content
100%

yi xiao Map

✓ Published5🌍 Public
Eelaine-xiao
Last edited Oct 1, 2019
Created on Sep 30, 2019
Forked from Choropleth Map

A choropleth map of the United States shows the total number of earthquakes per state, colored on a sequential logarithmic scale using an ordinal scale with the `schemeOrRd` color ramp. The map is rendered with `d3.geoPath` and the Albers USA projection, using TopoJSON state boundaries and CSV data loaded via `d3.csv`. Hovering a state highlights it in green and displays a tooltip via SVG `title` elements listing the state name, region, and earthquake count. The visualization uses D3 v5 and includes a custom `colorLegend` component to explain the color scale.

AI-generated description
MIT Licensed

Similar vizzes