selectedData: most efficient way to read it

I have a dashboard that is dealing with lots of data (arround 1 million rows in a dataframe).

My question is the following:
Untill now, I’m using ‘pointIndex’ from the graph component property ‘seleceted Data’ for interactive visualization. In this reason I only need ‘pointIndex’ for filtering my DataFrame. So far so good. But I wonder if there is a more efficient way than this one, even though I think it already is the most effiecinet way to create a list and filtering a Dataframe with:

points_selected = []
for point in selectedData['points']:

Does anyone have a clue?
Thanks in advance!

Welcome to Dash, @jack2704. That’s the way to go.
I’ve also used the clickData attribute of dcc.Graph to feed information into another graph.