scatter_plot
creates a scatter plot using the specified library, which can be used in the library's %>% workflow. Data must be provided in long format.
hc_scatter_plot
should not be used directly, it generates a scatter plot using highcharter.
plotly_scatter_plot
should not be used directly, it generates a scatter plot using highcharter.
1 2 3 4 5 6 7 | scatter_plot(data = NA, library = "highcharter", x.column = ~x,
y.column = ~y, color.column = ~color, marker.size = 5, traces.column,
fillOpacity = 0.66)
hc_scatter_plot(...)
plotly_scatter_plot(...)
|
data |
A dataframe, must be long-formatted. |
library |
Which library to use, highchart is default. |
x.column |
Column containing x-coordinates for data points, default to x |
y.column |
Column containing y-cordinates for data points, default to y |
color.column |
Column containing trace colour, default to color |
marker.size |
Size of markers (circles, by default) |
traces.column |
Column containing the traces/trace names, no default |
fillOpacity |
Opacity of markers, default 0.66 |
... |
all arguments provided to |
... |
all arguments provided to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.