Skip to main content
100%

Test Interactive Covid 19 Fork

✓ Published0🌍 Public
Ttrentjhn
Last edited Oct 29, 2022
Created on Oct 29, 2022

This interactive visualization compares earthquake deaths across regions using a bar chart and maps earthquake locations with seismic intensity on a world map. Users select start and end years from drop-down menus to filter the displayed time range. The bar chart uses D3 scales, axes, and bands, while the world map employs D3’s geoMercator projection, geoPath, and JSON-loaded GeoJSON data. Circle radii on the map linearly scale with Richter magnitude, tooltips reveal country names, and the map legend clarifies magnitude values.

AI-generated description

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

Iterated from one menu version.

What's new?

  1. Changed buttons to two drop down menu.
  2. Update visualizations by different start year and end year.
  3. Added legend for world map.
  4. Scale linear richter(radius of circles on map).
  5. Added tooltips for world map.

Bar plot:

X-axis: region that earthquake occured.

Y-axis: Deaths in earthquake.

World map:

Circle: positions where earthquake occured.

Radius: richter 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).

MIT Licensed

Similar vizzes