powered by
Select set of notable earthquakes from 1900 to 1999.
earthquakes
A data frame with 123 rows and 7 variables.
Year the earthquake took place.
Month the earthquake took place.
Day the earthquake took place
Magnitude of earthquake using the Richter Scale.
City or geographic location of earthquakes.
Country or countries if the earthquake occurred on a border.
Approximate number of deaths caused by earthquake
library(ggplot2) ggplot(earthquakes, aes(x = richter, y = deaths)) + geom_point() ggplot(earthquakes, aes(x = log(deaths))) + geom_histogram()
Run the code above in your browser using DataLab