Description Usage Arguments Value
This function returns the name of a json file containing plot-ready data with one row per group (per panel). Columns 'x' and 'y' contain the bin label and count respectively. Column 'group' and 'panel' specify the group the series data belongs to.
1 |
data |
data.frame to make plot-ready data for |
map |
data.frame with at least two columns (id, plotRef) indicating a variable sourceId and its position in the plot |
binWidth |
numeric value indicating width of bins, character (ex: 'year') if xaxis is a date |
value |
String indicating how to calculate y-values ('count, 'proportion') |
character name of json file containing plot-ready data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.