p <-
mpg %>%
ggplot(aes(x = displ, y = hwy, color = drv)) +
geom_jitter() +
geom_smooth()
plotly::ggplotly(p)
## `geom_smooth()` using method = 'loess' and formula 'y ~ x'
p <-
mpg %>%
ggplot(aes(x = displ, y = hwy, extra1 = manufacturer, extra2 = model)) +
geom_jitter()
plotly::ggplotly(p)
p <-
mpg %>%
ggplot(aes(x = drv)) +
geom_bar()
plotly::ggplotly(p)
Copyright © 2018 Kirill Müller. Licensed under CC BY-NC 4.0.