View source: R/plotly_scatter.R
plotly_scatter | R Documentation |
Plotly Scatter
plotly_scatter(
plot_data,
x_col = "x",
y_col = "y",
color_col = x_col,
key_col = x_col,
text_col = x_col,
xlab = "",
ylab = "",
title = "",
source_name = NULL,
identity_line = FALSE,
horizontal_line = FALSE,
horizontal_line_y = NULL,
format_func = format_plotly
)
plot_data |
A dataframe |
x_col |
A string |
y_col |
A string |
color_col |
A string or NA |
key_col |
A string or NA |
text_col |
A string or NA |
xlab |
A string |
ylab |
A string |
title |
A string |
source_name |
A string or NULL |
identity_line |
True or False |
horizontal_line |
True or False |
horizontal_line_y |
A numeric or NULL |
format_func |
A function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.