Python shiny: making interactive data viz linked to table in separate tab

176 Views Asked by At

I’m still a beginner in Python so please keep things simple for my tiny brain.

So, I’m trying make an app which will show me the raw data of an uploaded file containing a dataframe as a table in one tab and a data viz based off of the data in a separate tab. Ideally with filters and drop down menus to select the data to display on the axes.

The part I really need help with, is to have a data viz (i.e scatter plot) using the plotly package with a two way relationship between the viz and the table displayed in the other tab.

For example, if I was to click on one of the data points on the plot, that would filter and be highlighted on the table in the other tab if I were to click back to it.

Any advice or direction on how to accomplish this would be great and very appreciated, thanks!

1

There are 1 best solutions below

0
pevolution-ahmed On

There are two examples that, IMO, really cover what you want to achieve, provided by the posit team:

I hope these will assist you in achieving your goals.