Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Getting clickData from 'n' number of plots

I would like my Dash interface to be able to insert a plot everytime a button is clicked, this I can do. However, I need to get clickData from each subsequent graph. This requires knowing the plot id, thus if there is ‘n’ number of generated plots, how can I change the id’s to be unique in the callback. I can’t do a callback-function in a loop, can I (I tried though I might’ve done something fundamentally wrong)?