That is cool data. Where did you get it?
Here:
http://earthquakes.wikia.com/wiki/Richter_magnitude_scale
and here:
https://cdn.citl.illinois.edu/courses/KINES401/Lesson1_lectures/Lecture1_P3/web_data/file9.htm