'Hide Plotly Dash Sunburst Hover label
I am unable to hide the label, division and parent from hover tooltips
path=[pune,division,taluka,village]
value = df['Project Count'].tolist()
fig_sunburst = px.sunburst(df, path=path, values=value,
color='Division',title="Taluka Wise Project Count")
fig_sunburst.update_traces(hoverinfo = 'ids+value')
df is a dataframe with the column ['Pune','division','taluka','village','Project Count']
When I hover over Khed taluka I get the tooltip as shown above. I want the id to be displayed first then the value. Rest all should be hidden. Also how can I rename value to 'Project Count'
Solution 1:[1]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Irgendniemand |


