Place table at the bottom right hand of chart

In Plotly js, I want to place a table in the lower right-hand corner of my chart. I have the code for the table. I cannot figure out how to locate the table relative to the chart.
I would appreciate any ideas about how to do this.

Another question, it is possible to set the xref and yref values to “paper” for an annotation and locate an annotation outside the chart. Is this possible with tables?