Thank you Very much,
it was very helpful.
It looks like clickData works well with the frequency_figure but it doesn’t work with treemap
is this the limitation of the treemap?
this is how my treemap is plotted
treemap_trace = go.Treemap(
labels=word_list_top, parents=[""] * len(word_list_top), values=freq_list_top
)
treemap_layout = go.Layout({“margin”: dict(t=10, b=10, l=5, r=5, pad=4)})
treemap_figure = {“data”: [treemap_trace], “layout”: treemap_layout}
