Skip to main content
100%

homework 6

✓ Published0🌍 Public
AAnaMal08
Last edited Mar 15, 2017
Created on Mar 15, 2017

This scatterplot compares earthquake magnitude and timing worldwide over one week, with California earthquakes highlighted in red against green global data. It displays counts for both groups and notes that 53% of all earthquakes occurred in California. The code loads CSV data from the USGS earthquake feed, parses timestamps with `d3.utcParse`, filters California points using bounding-box coordinates, and renders circles with `d3.selectAll("dot").enter().append("circle")` on an SVG canvas. Axes are generated using `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

Similar vizzes