activity 7 2
This visualization displays earthquake magnitudes in Hawaii from 2000 to 2025, using a line chart with a filled area beneath it to emphasize trends over time. The visualization loads data from a CSV file and uses d3.csv to parse it, then employs d3.scaleLinear, d3.axisLeft, d3.axisBottom, d3.line, d3.area, and d3.curveBasis to render the chart. The y-axis scales magnitude from 4 to 6, while the x-axis represents years, with axes labeled "Year" and "Magnitude" respectively.