Homework 6 last
This scatterplot compares earthquake magnitudes over time worldwide versus those in California, using light green circles for global events and red circles for California-specific ones. It loads live data from the USGS earthquake API via d3.csv, parses timestamps with d3.utcParse, and renders an SVG with d3.scaleTime and d3.scaleLinear for axes. The visualization highlights that 53% of recent earthquakes occurred in California, with counts annotated directly on the chart.
AI-generated descriptionThe scatterplot illustrates numbers of earthquakes worldwide in the past 7 days. Large numbers of earthquakes in California are emphasized on the graph. The main objective of this graph is to compare intensity, amount, and average of earthquakes worldwide vs in California. In the last 7 days, 53% percentage of all earthquakes on our planet occurred in California. The high amount of seismic activity on the West coast is caused by the movement of the Pacific and North American plates. Although California has the most earthquakes versus the rest of the world, the magnitude of California’s earthquakes are not as dangerous compared to earthquakes worldwide. The highest magnitude of California’s earthquakes reaches 3.72 vs the magnitude of 6 worldwide and the average magnitude in California is 1.01, whereas, the average worldwide is 1.53.
Open Blockbuilder https://bl.ocks.org/AnaMal08/4772fba2b14f98e827eed17b7ef9ba9d
https://bl.ocks.org/AnaMal08/raw/4772fba2b14f98e827eed17b7ef9ba9d/