earthquakes | R Documentation |
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
World Almanac and Book of Facts: 2011.
library(ggplot2)
ggplot(earthquakes, aes(x = richter, y = deaths)) +
geom_point()
ggplot(earthquakes, aes(x = log(deaths))) +
geom_histogram()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.