Generate a table from chart data

I’m working on a project. It has a graph that’s used to generate a plotly table. The code was originally written in dash. In our company we are not allowed to use dash so I need to create this on my own. Is there any way to grab mouseover data from a chart. Once I can grab the data I can create the chart on my own. I just don’t know how to do this. BTW my plan is to do this in javascript or jquery.