Using a table for a bar graph's axis

Is it possible to have a shared axis between a bar graph and a table, and if not is it possible to fake it so it looks like it does? I’m trying to make a graph that looks like the one seen below:

fruit graph highlight

I’m trying to have the red as the table and the blue as a graph that will go red when negative. I know there is ways to do it in dash with conditional formatting but I’m trying to replicate it in plotly because I want to export it as an image.


HI @jackrockstar welcome to the forums. I have seen something like this recently, maybe that gets you started: