powered by
add_data(vis, data, name = deparse2(substitute(data)), add_suffix = TRUE)
mtcars %>% ggvis(~mpg, ~wt) %>% layer_points() NULL %>% ggvis(~mpg, ~wt) %>% add_data(mtcars) %>% layer_points()
Run the code above in your browser using DataLab