This function creates a rgba string based on the variable to be studied
1 | pick_colour(variable, alpha = 1, rgb = TRUE)
|
variable |
String selecting the variable of study. One of c('confirmed_cases', 'confirmed_deaths', 'total_tests') |
alpha |
Alpha value of the final colour |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.