Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

DT bidirectional Tabel and Plot interaction with PLOTLY

This is perhaps a question more than an issue…but any guidance is appreciated. I want to know if the following example can be supported with a plotly Shiny graph. In other words, using the DT package to have a bi directional interactivity with a plotly object and a DT table. In other words using plotly_click and plotly_select via event_data(), can I enable the user to select either the plot or the table to browse events.

This example allows you to click a row on a DT table and highlight the relevant point on a plotly plot — https://gist.github.com/cpsievert/2b291f20e5c90ac6ba6e

You could also access user events deriving from the plot via event_data(), and use that selection to modify the table.