Couple plot and table on a R shiny app



I am trying to look for examples if any where you can couple the plot and the table from which it is being plotted. As in if you hover or select on a line chart it will hightlight the corresponding data on the table.

Thank you.


If your data is small, an easy way to do this is using crosstalk, see this example:

If your data is too large to send to the client all at once, you could consider using server side processing as in this example: