✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August 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()