Hi,
I have two data sets, the first is topics # and their size, the second is few words from each topic.
first:
topic len
0 topic 19 3394
1 topic 18 3391
2 topic 17 6824
3 topic 16 4394
second:
index 0 1 2 3 4 5 6 7 8 ... 42 43 44 45 46 47 48 49 50 51
0 topic 19 island de la surface age anaga valleys material rocks ... descendants volcano diversity quantities climates continuity fall sediments slopes construction
1 topic 18 tenerife island de cruz development ° santa tourism la ... conquest expeditions farms eternal janeiro calatrava habitats marítimo rio consumption
I plot the first and wanted to add the second as hover text for each topic in the pie chart.
import plotly.graph_objects as go
labels = dodo['topic']
values = dodo['len']
fig = go.Figure(data=[go.Pie(labels=labels, values=values)])
fig.show()
Any ideas what should i do to make it work ?
Thanks.