Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Yaswanth_duddu_ICE7

Public visualization

Viewing a saved revision (read-only)

d657596c07ff4ec381f7f882377354f3

Yaswanth_duddu_ICE7

0 stars0🌍 Public
YYaswanth
Last edited Oct 27, 2025
Created on Oct 27, 2025
Forked from HTML Starter

A reusable scatter plot displays earthquake depth versus magnitude from a CSV file, with each point colored to distinguish whether a tsunami occurred. The visualization highlights the relationship between these seismic measurements while separating the data into two categories for comparison. Built with D3 v7, the code uses `d3.scaleLinear` for both axes and `d3.scaleOrdinal` for the color mapping. It renders points as SVG circles with gridlines, axes, labels, and a legend, filtering out invalid rows before drawing.

AI-generated description