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!

Plotly and Crosstalk

Does anyone have a working example of Plotly/Shiny/Crosstalk? I tried the following example and it does not seem to work:

https://beta.rstudioconnect.com/jcheng/shiny-crosstalk/

I simply replaced the arguments per Plotly’s latest build (using ~ to reference the variables versus $). When I do that, only the middle plot drives interaction with the left and not vice versa. Additionally, the ggplot on right doesn’t change at all.

Additionally, I have been trying to better understand how crosstalk can help when using Shiny/Plotly. Per the guide: https://cpsievert.github.io/plotly_book/linking-views-without-shiny.html#linking-views-without-shiny, it sounds like we cannot use Plotly + Shiny + Crosstalk? I have apps in Shiny and I also use plotly. Ideally, I would like to be able to connect the plotly charts via the SharedData$new object. Is this even possible?