CLiREN-LMS
Data Visualization and Dashboards

Enrollment and Follow-Up Monitoring Plots

Code Example 3

30-45 minutes Applied Step 8 of 10
Code

Code Example 3

8 / 10
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"
  )