Description Usage Arguments Examples
Helper function to create highchart graph from tidy datasets.
1 | hc_tidy_series(hc, data, categories, values, ...)
|
hc |
A |
data |
data.frame with data. |
categories |
bare column name of categories (one for every series) |
values |
bare column name of values |
1 2 3 4 5 6 7 8 | dat <- data.frame("id" = c(1,2,3,4,5,6),
"grp" = c("A","A","B","B","C","C"),
"value" = c(10,13,9,15,11,16))
highchart() %>%
hc_chart(type = "column") %>%
hc_tidy_series(data = dat, categories = grp, values = value)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.