How to hide the parent label in plotly?

How hide some parent's label from plotly treemap?
how to hide "Seth" and "Awan"?

library(plotly)
fig <- plot_ly(
  type="treemap",
  labels=c("Eve", "Cain", "Seth", "Enos", "Noam", "Abel", "Awan", "Enoch", "Azura", "Marck"),
  parents=c("", "Eve", "Eve", "Seth", "Seth", "Eve", "Eve", "Awan", "Eve", "Seth"))
fig

Im not sure if is the best response, but maybe could help you:

fig <- plot_ly(
  type = "treemap",
  labels = c("Eve", "Cain", "", "Enos", "Noam", "Abel", "", "Enoch", "Azura", "Marck"),
  parents = c("", "Eve", "Eve", "", "", "Eve", "Eve", "", "Eve", ""))
fig

image

Seth title underneath 3 tiles so seth is considered as container.
i wanna keep this way and hide the word Seth.

can we group some tiles such as block (Cain, Abel, and Azura)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.