Yaswanth_duddu_ICE7
✓ Published0🌍 Public
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 descriptionMIT Licensed