# Load the ggplot2 packagelibrary(ggplot2)# Sample dataset.seed(123)data <-data.frame(group =rep(c('A', 'B', 'C'), each =50),value =c(rnorm(50, mean =5), rnorm(50, mean =7), rnorm(50, mean =6)))# Create the violin plotggplot(data, aes(x = group, y = value, fill = group)) +geom_violin(trim =FALSE) +# Violin plot without trimming the tailsgeom_boxplot(width =0.1, fill ="white") +# Optional: add a boxplot inside the violinslabs(title ="Violin Plot of Value by Group", x ="Group", y ="Value") +theme_minimal()