I'd like to make a violin plot in plotly based on a violin plot in ggplot.
I looked at this similar question, but my use case is different since I'm not getting the same warning.
Right now, it's just showing a horizontal line without the boxplot or violin or outliers.
This is my code
library(fpp)
library(tidyverse)
library(plotly)
gg <-
credit_old %>%
ggplot(aes(score, y = "")) +
geom_violin(trim = T) +
geom_boxplot(width = 0.1) +
theme_ipsum_rc(grid = "XY")
ggplotly(gg)