View source: R/make_sparklines.R
| make_sparklines | R Documentation | 
One line chart is returned for each level in the grouping variable. These line charts are intended for use as sparklines in tables.
make_sparklines(df, group_var, date_var = date, value_var = value)
| df | Dataframe containing data to summarise in sparkline form | 
| group_var | Unquoted name of grouping variable in  | 
| date_var | Unquoted name of date variable in  | 
| value_var | Unquoted name of variable in  | 
All line charts in the list will have the same maximum and minimum
dates on the x-axis, defined by the range in the date_var in df.
A list of line charts ({ggplot2} objects).
make_sparklines(df = ggplot2::economics_long, group_var = variable)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.