Introduction
This exercise was taken from the data visualization chapter from Modern Data Science with R: http://mdsr-book.github.io.
Tropical Storn Paths in 2000
Using data from the nasaweather package, I used the geom_path function to plot the path of each tropical storm in the storms data table that occurred in the year 2000. I used an aesthetic mapping to set each storm to a different color by name.
SOLUTION:
tropicalStorms <-
filter(storms, type == "Tropical Storm", year == 2000)
tropicalStorms %>%
ggplot(aes(x=long, y=lat)) +
geom_path(aes(color=name)) +
labs(x="Longitude Location of Storm Center", y="Latitude Location of Storm Center")