I am trying to link two-time series graphs into one graph in R, as a facet grid or anything interactive.
1st graph:
TT = ggplot(data = x1, aes(Date, Count_of_Fresh_emails)) +
geom_line(aes(color = Country), size = 1) +
scale_color_manual(values = c("#00AFBB", "#E7B800", "darkgreen", "red")) +
theme_minimal() +
scale_x_date(date_labels = "%b/%Y")
ggplotly(TT)
2nd graph:
p <- ggplot(data = x2, aes(Date, FollowUp_Counts)) +
geom_line(aes(color = Country), size = 1) +
scale_color_manual(values = c("#00AFBB", "#E7B800", "darkgreen", "red")) +
theme_minimal() +
scale_x_date(date_labels = "%b/%Y")
ggplotly(p)