Description Usage Arguments Value
Barchart plot of importations stacked by source
1 2 3 4 5 6 7 8 9 | plot_imports_stackeddest(
data = imports_mean %>% rename(amount = import_mean),
t_limits = lubridate::as_date(c("2020-01-01", "2020-04-20")),
axes_text_size = c(9, 9),
leg_text_size = 8,
leg_title_size = 10,
time_int = 5,
n_cols = 20
)
|
data |
data of importations to plot. Must have a columns c("t", "loc", "amount") |
t_limits |
Date limits of plot |
axes_text_size |
axis value font size (2 values required) |
time_int |
time interval for x-axis |
n_cols |
number of colors/locations to keep individually |
a corrected version of the inferred incidence data corrected for reporting changes in Hubei.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.