Challenge: Histogram

Test your understanding of histograms by working through this challenge.

We'll cover the following

Problem statement

Starting with the files histogram.html and earthquakes.csv, adapt the code to display a histogram that is “binned” daily and where the individual bars of the histogram are centered on their common central point (instead of aligned to their respective bases). The x-axis should also be central to the bars and have the ticks extend to the bottom of the graph and have these ticks colored dark grey.

Final output

The final output should look like the image below:

Get hands-on with 1200+ tech skills courses.