Show source on state plots.
This commit is contained in:
parent
38b71628f2
commit
8e4929e629
@ -213,7 +213,8 @@ ggsave("plots/class-over-time-facet.png", width = 15, height = 9)
|
|||||||
##### By state #####
|
##### By state #####
|
||||||
ggplot(data = d_state_total_long,
|
ggplot(data = d_state_total_long,
|
||||||
aes(x = Date,
|
aes(x = Date,
|
||||||
y = Total)) +
|
y = Total,
|
||||||
|
color = source_name)) +
|
||||||
geom_line() +
|
geom_line() +
|
||||||
geom_point(size = 0.3) +
|
geom_point(size = 0.3) +
|
||||||
facet_wrap(~State.Territory,
|
facet_wrap(~State.Territory,
|
||||||
@ -263,7 +264,8 @@ ggsave("plots/cities-over-time.png", width = 15, height = 9)
|
|||||||
ggplot(data = city,
|
ggplot(data = city,
|
||||||
aes(x = Date,
|
aes(x = Date,
|
||||||
y = Count,
|
y = Count,
|
||||||
group = city_label)) +
|
group = city_label,
|
||||||
|
color = source_name)) +
|
||||||
geom_line() +
|
geom_line() +
|
||||||
geom_point(size = 0.3) +
|
geom_point(size = 0.3) +
|
||||||
facet_wrap(~city_label,
|
facet_wrap(~city_label,
|
||||||
|
Loading…
Reference in New Issue
Block a user