Description Usage Arguments Details Examples
Add a voronoi figure to the chart.
1 |
g |
An object of class |
... |
Options to pass to the figure, including |
sync |
Whether to sync the axis data (align) with that
used in other figures, set to |
data |
A dataset ( |
inherit_asp |
Whether to inherit the aspects paseed to
|
Requires the x
, y
, and color
arguments.
1 2 3 4 5 6 7 8 | df <- data.frame(
x = runif(25, 1, 500),
y = runif(25, 1, 500),
value = runif(25, 1, 500)
)
g2(df, asp(x, y, color = value)) %>%
fig_voronoi()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.