Skip to main content
100%

Ver02 of Magnitude of Earthquakes over 7 Days

✓ Published1🌍 Public
Llingjizhu@gmail.com
Last edited Feb 7, 2024
Created on Feb 7, 2024

This scatter plot displays the magnitude and timing of earthquakes over a seven-day period, with depth categorized into shallow, intermediate, and deep levels using red, blue, and green from a D3 ordinal scale. The visualization uses `scaleTime` for the x-axis and `scaleLinear` for the y-axis, rendering circles with fill colors derived from depth categories. A legend generated via SVG groups clarifies the color mapping, while the code imports utilities from `@curran/axis-labels` and loads earthquake data from `@Ljz2018/earthquake`.

AI-generated description

A scatter plot shows both magnitude and depth of the earthquakes happened in the past 7 days.

Date can be found here: Earthquake Dataset.

The depth of the earthquake is categorized into 3 levels:

  • Shallow: depth < 70km
  • Intermediate: 70km <= depth < 300km
  • Deep: depth >= 300km
MIT Licensed

Similar vizzes