Select set of notable earthquakes from 1900 to 1999.
Format
A data frame with 123 rows and 7 variables.
- year
Year the earthquake took place.
- month
Month the earthquake took place.
- day
Day the earthquake took place
- richter
Magnitude of earthquake using the Richter Scale.
- area
City or geographic location of earthquakes.
- region
Country or countries if the earthquake occurred on a border.
- deaths
Approximate number of deaths caused by earthquake
Examples
library(ggplot2)
ggplot(earthquakes, aes(x = richter, y = deaths)) +
geom_point()
#> Warning: Removed 2 rows containing missing values or values outside the scale range
#> (`geom_point()`).
ggplot(earthquakes, aes(x = log(deaths))) +
geom_histogram()
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
#> Warning: Removed 2 rows containing non-finite outside the scale range (`stat_bin()`).