plotly_key_tree | R Documentation |
Plot nesting structures in shared tsibbles using plotly
plotly_key_tree(data, height = NULL, width = NULL, ...)
data |
A shared tsibble. |
height |
height |
width |
width |
... |
arguments supplied to |
if (interactive()) {
shared_tourism <- as_shared_tsibble(tourism_monthly,
spec = (State / Region) * Purpose)
plotly_key_tree(shared_tourism)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.