View source: R/viz-functions.R
one_metric_over_time_story | R Documentation |
Show a metric plotted over time as a line chart, in a format friendly for Google Web Stories.
one_metric_over_time_story(metric_df)
metric_df |
A dataframe with the following columns: asset_id (chr), time (date or dttm), value (dbl), name (chr) |
A link to an image showing a visualization of the metric included.
## Not run: return_3news_snippets(metric_df) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.