I’m trying to customize hover information using the below code:
fig = px.sunburst(top_10, path=['Title','Country'], values='Rating', color='Rating',
color_continuous_scale='YlGn', title='Highst Rated Movies on Netflix in Each Countries')
fig.update_traces(hovertemplate='Title: %{values} <br>Country: %{}')
fig.show()
I tried to sue %{path[‘Title’]}, hoping it would work but I’m not able to get %{} part working. Is there way to manipulate hover information here?
Thank you in advance!