Description Usage Arguments Examples
<Add Description>
1 |
name |
Text name of the view |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | iris %>%
g2_R() %>%
g2_chart(theme = "dark") %>%
g2_view(name = "test") %>%
g2_coord(type = "polar", name = "test") %>%
g2_geom(
name = "test",
x = Sepal.Width,
y = Sepal.Length,
type = "interval",
color = Species,
adjust = c("stack"),
opacity = Sepal.Length
) %>%
g2_view(name = "test2") %>%
g2_coord(type = "helix", name = "test2") %>%
g2_geom(
name = "test2",
x = Sepal.Width,
y = Sepal.Length,
type = "point",
color = Species,
adjust = c("jitter"),
opacity = Sepal.Length,
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.