Learn how to use Dash Bio for next-gen sequencing & quality control. 🧬 Register for the Oct 27 webinar.

Px.Treemap/Go.Treemap callbacks

Hey all,
I think Treemap is a very nice animated and structured data overview. Is it somehow possible to link callbacks to that figure for dash webpage usage? So for example in the px example you click on china and a modal dialoge opens or another function is triggered:

import plotly.express as px
import numpy as np
df = px.data.gapminder().query("year == 2007")
fig = px.treemap(df, path=[px.Constant('world'), 'continent', 'country'], values='pop',
                  color='lifeExp', hover_data=['iso_alpha'])
fig.show()