Skip to main content
100%

Bruch

✓ Published0🌍 Public
UUtkarshSiddhpura
Last edited Dec 1, 2023
Created on Dec 1, 2023

This interactive visualization explores earthquake data from the 19th century through three coordinated views. A bar plot aggregates total deaths by region, a world map uses circle size to represent earthquake magnitude on the Richter scale, and a scatter plot charts year against Richter magnitude with circle size encoding deaths. The map supports brushing to filter data by year and includes tooltips. The implementation uses D3 v7 with `d3.csv`, `d3.json`, `d3.scaleBand`, `d3.scaleLinear`, `d3.geoMercator`, and `d3.axisLeft`/`d3.axisBottom`, rendering to SVG.

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