CLiREN-LMS
Data Visualization and Dashboards

Enrollment and Follow-Up Monitoring Plots

Code Example 3

30-45 minutes Applied Step 5 of 6
Code

Code Example 3

5 / 6
Code

Code Example 3

r

site_cumulative_enrollment |>
  ggplot(aes(x = enrollment_date, y = cumulative_participants)) +
  geom_line() +
  facet_wrap(~ site) +
  labs(
    title = "Cumulative Enrollment by Site",
    x = "Enrollment date",
    y = "Cumulative participants"
  )