BTW, how can I insert more variables on hovertemplate?
I mean, I have tried to use a dataframe column with %{df.type}
, but it renders literally %{df.type} instead of the value of such column for a given treemap cell
from documentation:
Template string used for rendering the information that appear on hover box. Note that this will override
hoverinfo
. Variables are inserted using %{variable}
Anything contained in tag<extra>
is displayed in the secondary box, for example β{fullData.name}β
thanks in advance!