Dotted charts can be made with the dotted_chart function. A dotted chart is a graph in which each activity instance is displayed with a point. The x-axis referce to the time aspect, while the y-axis refers to cases. The dotted chart function has 3 arguments

• x: Either absolute (absolute time on x-axis) or relative (time difference since start case on x-axis)
• y: The ordering of the cases along the y-axis: by start, end, or duration.
• color: The attribute used to color the activity instances. Default to the activity type.

## Static dotted charts

Below, you can see some examples for dotted charts with various configurations

patients %>%
dotted_chart(x = "absolute", y = "start")
## Warning: The add argument of group_by() is deprecated as of dplyr 1.0.0.
## Please use the .add argument instead.
## This warning is displayed once every 8 hours.
## Call lifecycle::last_warnings() to see where this warning was generated.
## Joining, by = "patient"

patients %>%
dotted_chart(x = "absolute", y = "start", color = "employee")
## Joining, by = "patient"

patients %>%
dotted_chart(x = "relative", y = "duration", color = "employee")
## Joining, by = "patient"

## Interactive dotted charts

The function idotted_chart opens a shiny app which can be used to modify the arguments of the dotted chart interactively.