Open
Description
It would be great to add a feature for boxplot visualization where scenarios are counted and scenario counts are displayed below. In R this could be solved like this:
-
Write a function that counts the scenarios and determines the position of the label on the y-axis:
count <- function(x){return(c(y = min(x), label = length(x)))} -
and then within ggplot use "stat_summary" function (https://ggplot2.tidyverse.org/reference/stat_summary.html):
stat_summary(
fun.data = count,
geom = "text", position = position_dodge(width=0.75))