Description Usage Arguments Examples
Add dataset to a visualisation
1 |
vis |
Visualisation to modify. |
data |
Data set to add. |
name |
Data of data - optional, but helps produce informative error messages. |
add_suffix |
Should a unique suffix be added to the data object's ID? This should only be FALSE when the spec requires a data set with a specific name. |
1 2 | mtcars %>% ggvis(~mpg, ~wt) %>% layer_points()
NULL %>% ggvis(~mpg, ~wt) %>% add_data(mtcars) %>% layer_points()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.