CLiREN-LMS
Data Visualization and Dashboards

Enrollment and Follow-Up Monitoring Plots

Code Example 4

30-45 minutes Applied Step 9 of 10
Code

Code Example 4

9 / 10
Code

Code Example 4

r

prepared_data |>
  count(site, day28_window_status, name = "participants") |>
  ggplot(aes(x = site, y = participants, fill = day28_window_status)) +
  geom_col() +
  coord_flip() +
  labs(
    title = "Day 28 Follow-Up Window Status by Site",
    x = "Site",
    y = "Participants",
    fill = "Window status"
  )