Description Usage Arguments Value Examples
Plot a line chart using ggplot
1 2 3 4 5 6 7 8 9 |
df |
Data frame of the selected COVID data from get_data() |
loc_val |
A character vector of target country name. By default c('Canada) |
metric |
A character vector with, at most, one element. |
date_from |
A character vector having the starting date, one element. |
date_to |
A character vector having the end date, one element. |
location |
A character vector containing the locations around the world |
new_cases |
A character vector containing aggregated total new COVID cases |
A ggplot line chart
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.