Skip to main content
100%

Fork of Interactive Visualization (Brush) - Earthquake Data

✓ Published1🌍 Public
Sspace-captain96
Last edited Jun 10, 2022
Created on Jun 10, 2022

This visualization of earthquake data combines a bar plot, world map, and scatter plot to explore regional deaths, epicenter locations with Richter magnitudes, and the relationship between year, magnitude, and casualties. Users can brush on the scatter plot to filter the other views by year. The map uses d3.geoMercator with d3.geoPath to render world geography, while tooltips display country names on hover. All charts are built with d3.v7, rendering as SVG with animation, and the data is loaded from an external CSV source.

AI-generated description

Data: https://gist.github.com/Junying-Li/72ef4641efd6b4abf371f5d9f4267a56

What's new?

  1. Added scatter plot.
  2. Added brush (select year).
  3. Added legend for world map.
  4. Added tooltips for world map.

Todo:


Bar plot:

X-axis: region that earthquake occured.

Y-axis: Deaths in earthquake.

World map:

Circle: positions where earthquake occured.

Radius: richter of earthquake.

Scatter plot:

X-axis: year.

Y-axis: richter of earthquake.

Radius: deaths of earthquake.

The bar plot shows the deaths caused by earchquakes in mutiple regions in different period of 19 century. The world map shows the positions where earthquakes occured and how strong they were (richter scale). The scatter plot shows richter and deaths of earthquakes in different years.

MIT Licensed

Similar vizzes