Mirror a histogram below a bar-chart

Hello,
I’m new to Obersvable & JavaScript and I wondered if there is a possible way to make a chart, e.g. bar-chart and below that chart a histogram which is just mirrored around the x-axis.
Like in this picture:


Source:
https://dl.acm.org/doi/pdf/10.1145/3534678.3539074

This is my approach so far:
Combine a chart with a mirrored histogram

Thank you all for helping!!!

Here’s an example (there are probably other ways to address this):

1 Like

Thank you very much, that’s great!!!