I was able to add some text in the inner squares of the plotly px.treemap with this answer. Basically using:
fig.data[0].customdata = whatever
fig.data[0].texttemplate = template whatever
However, I would like to add text also to outer squares, a littlebit like this image:
Is it possible to do that?
Some more info
bla bla', ...]` – r-beginners Jun 26 '23 at 09:34