Description Usage Arguments Examples
Function to create annotations arguments from a data frame
1 | df_to_annotations_labels(df, xAxis = 0, yAxis = 0)
|
df |
A data frame with |
xAxis |
Index (js 0-based) of the x axis to put the annotations. |
yAxis |
Index (js 0-based) of the y axis to put the annotations. |
1 2 3 | df <- data.frame(text = c("hi", "bye"), x = c(0, 1), y = c(1, 0))
df_to_annotations_labels(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.