block by pbogden 4d190c9fa94e6ca59865

umbc #2

Full Screen

Solution to homework from Class #2

Assignment: Create a bar chart showing the number of earthquakes of magnitude [0 - 1), [1 - 2), [2 - 3), etc. Using data from the USGS real-time earthquake feed.

The idea is to combine what we learned about the USGS API with the bar chart from Mike Bostock’s most excellent Let’s Make a Bar Chart, the code for which is here. To help get you started, this demo shows how to access and inspect data from the USGS earthquake API.

index.html