block by pbogden 48cadd9940ad05ec96d2

demo

Full Screen

Hints for the homework assignment:

Hint #1: Combine “index.html” from this gist with the bar chart that we discussed in class.

Hint #2: Instead of the “data” array in the bar chart, [4, 8, 15, 16, 23, 42], you should use an array of data values (earthquake magnitudes) that you obtain from the USGS API.

Hint #3: The array of data values is actually the “feature” property of the data object that you get from the USGS API. You will need to work with this “data.feature” array to solve the homework.

Hint #4: Use the developer console to inspect things.

index.html