Significant Earthquake Database
This visualization plots significant earthquake events from NOAA’s Significant Earthquake Database as circles, with the x-axis showing the year and the y-axis showing magnitude. Circle color encodes earthquake duration in seconds, and hovering reveals the magnitude via tooltip. Using Vega-Lite API with d3.csv for data loading, the chart renders in SVG across the full viewport. The code configures axis styling and dark text through a custom Vega-Lite config object, with marks set to semi-transparent circles for overlapping event visibility.
AI-generated descriptionThis data shows Significant Earthquake Database.</br> Each point represents an earthquake event.</br> The x-coordinate represents the different years, and the y-coordinate represents the earthquake magnitude. The color of circle indicates the duration of earthquake.