I am trying to change what is being displayed on hovering in
sunburst graph but due to tree like structure I am able to use
hovertemplate in this type of graph. Can someone help me with this?
fig = px.sunburst( dff, path=["country_txt", "year", "Attacks", "killed"], color="year", color_discrete_sequence=px.colors.qualitative.Pastel, maxdepth=-1, branchvalues="remainder", )
This how graph looks on hovering:
Attacks columnand I want to show as
Attacksinstead of labels and same for
killed columnand want to show that. I don’t want to show in terms of