labs()
ggplotly()
Plotly
Created by Juliana Assis — DTU Data Visualization Workshop
Simplify the following plot specifications:
ggplot(mpg) + geom_point(aes(mpg$displ, mpg$hwy)) ggplot() + geom_point(mapping = aes(y = hwy, x = cty), data = mpg) + geom_smooth(data = mpg, mapping = aes(cty, hwy))