I would like to visualise ordinal data with ranks (1st-4th) in different categories however, I'm unsure how to best go about it. I'd like to be able to see the distribution and the mean ranking for each group also as the graph is supposed to add a visualisation to a Friedman test. The graph will be presented in a powerpoint at a conference and must therefore be easy to understand. I've previously used violin plots, however as far as I understand that's more appropriate for continuous data. I've also tried using a dot plot but since the data is ranked, it just gives me four straight lines of dots.
Any advice would be greatly appreciated.
Here is some mock data to work with
The real dataset is much larger with 1248 observations (78 participants).
set.seed(5931) dat <- data.frame(subj = rep(1:25, 4), group = rep(c("A", "B", "C", "D"), each = 25), rank = sample(1:4, 100, replace = T))