Show source on state plots.

This commit is contained in:
mattbk 2024-04-21 16:13:03 -05:00
parent 38b71628f2
commit 8e4929e629

View File

@ -213,7 +213,8 @@ ggsave("plots/class-over-time-facet.png", width = 15, height = 9)
##### By state #####
ggplot(data = d_state_total_long,
aes(x = Date,
y = Total)) +
y = Total,
color = source_name)) +
geom_line() +
geom_point(size = 0.3) +
facet_wrap(~State.Territory,
@ -263,7 +264,8 @@ ggsave("plots/cities-over-time.png", width = 15, height = 9)
ggplot(data = city,
aes(x = Date,
y = Count,
group = city_label)) +
group = city_label,
color = source_name)) +
geom_line() +
geom_point(size = 0.3) +
facet_wrap(~city_label,