Extract information from nested tables and charts (Bar/Pie charts)

I want to implement a logic similar to the paper published recently https://arxiv.org/pdf/2403.12895.pdf. Did anyone here try this?