Table interactive with Mapbox

Hello everyone! I am trying to make my table interactive with my Mapbox. So when I click on “A” as the image shown below, it should show me the latitude/longitude of the point on mapbox. Correct me if I am wrong but I need to use the callback funtion - clickData. But I tried a few times using clickData but it did not work… I am kind of new to dash, any help would be greatly appreciated! Thank you! :blush:

An image of my table:

This is my coding for mapbox

fig = px.scatter_mapbox(df4_1.to_dict('records'), lat="Latitude", lon="Longitude", hover_name="Name", hover_data=["Id"],
                        color_discrete_sequence=["purple"], zoom=9, height=450)