Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Earthquake Choropleth Map

Public visualization

Earthquake Choropleth Map

0 stars0🌍 Public
MMike Wolfgram
Last edited Oct 4, 2019
Created on Oct 4, 2019

This choropleth map visualizes the total number of earthquakes for each U.S. state, using a logarithmic color scale to differentiate magnitudes. The map renders state boundaries from a TopoJSON file, and the color of each state is determined by its earthquake count, with a threshold-based color scale (`d3.scaleThreshold`) and a sequential color scheme (`d3.schemeOrRd`). The visualization uses D3 v5's geographic projection (`d3.geoAlbersUsa`) and `d3.geoPath` for drawing, while an interactive tooltip (`d3.tip`) displays the state name, region, and exact earthquake count on hover, with data sourced from a CSV file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed