| plot_wheel | R Documentation |
Plot dependency wheel (highcharts)
plot_wheel(data, unit = NA, colors = pal, icons = NA, rot = 180, subtitle, ...)
data |
data.table with columns |
unit |
display unit |
colors |
ordered color palette |
icons |
named vector of icon names |
rot |
start angle |
subtitle |
chart subtitle |
... |
Arguments passed on to
|
dt <- fread("
from, to, weight
sector 1, sector 2, 22
sector 1, sector 3, 40
sector 1, sector 4, 60
sector 2, sector 3, 50
")
plot_wheel(dt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.