library(ggvis) mtcars %>% ggvis(x = ~wt, y = ~mpg) %>% layer_points()
mtcars %>% ggvis(x = ~wt, y = ~mpg) %>% layer_points() %>% layer_smooths()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.