I have the following data:
cefr_hours <- data.frame(cefr = as.factor(c("A2", "B1", "B2", "C1", "C2")),
hours = c(200, 400, 600, 800, 1200))
And I have created the following plot:
ggplot(cefr_hours, aes(x = cefr, y = hours)) +
geom_point() +
geom_line() +
theme_minimal() +
labs(title = "Hours of Guided Learning Per Level", subtitle = "Source: Cambridge English Assessment") +
xlab("CEFR Level") +
ylab("Number of Hours")
What I want to do is draw an arrow through each of the points and then shade the area under the line and between the points similar to this meaning the colors between each of the levels would be different.
Thank you in advance for your assistance.

