diff --git a/bin/data-plots.R b/bin/data-plots.R index 8c30eb9..4b21ef0 100644 --- a/bin/data-plots.R +++ b/bin/data-plots.R @@ -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,