Trying icicle plot in R

Hi!
I’m trying to paint an iclicle plot in R. Did anyone tried?

I get no error, but it doesn’t paint anything:

df<-data.frame(ids=cbind(c(“elena”,“maria”,“marta”,“paloma”)),
parents=cbind(c(“elena”,“elena”,“maria”,“maria”)),
values=cbind(c(10,10,4,6)))
plot_ly(df,
ids = df$ids,
parents = df$parents,
values = df$values,
type = “icicle”)

I want to paint more different data, but as I didn’t get it, I’m trying with this simple df to understand how to use this type of plot.

Icicle traces in R (plotly.com)

Thanks!!!