gf_plot | R Documentation |
Create a new ggplot and (optionally) set default dataset aesthetics mapping.
gf_plot(...)
... |
arguments that can include |
a gg object
gf_plot(mtcars, x = ~ wt, y = ~ mpg, color = ~ factor(cyl)) |>
gf_density_2d() |>
gf_point()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.