A dimple integration with htmlwidgets for R
1 2 |
data |
a data.frame |
... |
other parameters passed to the dimple function (have a look at the examples) |
chartType |
define type of chart, either one of: bar, line, step, area, steparea, pie, bubble |
stacked |
should data be stacked, defaults to TRUE for bar, area and steparea charts. |
width |
width of the chart |
height |
height of the chart |
xPct |
character string of variable to use for a percent x-axis (can be a vector of multiple variables) |
xMeasure |
character string of variable to use for a measure x-axis (can be a vector of multiple variables) |
xCategory |
character string of variable to use for a category x-axis (can be a vector of multiple variables) |
yPct |
character string of variable to use for a percent y-axis (can be a vector of multiple variables) |
yMeasure |
character string of variable to use for a measure y-axis (can be a vector of multiple variables) |
yCategory |
character string of variable to use for a category y-axis (can be a vector of multiple variables) |
legend |
whether to show a legend, defaults to FALSE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.