Black Lives Matter. Please consider donating to Black Girls Code today.

How do I put a bar chart right under another bar chart on the same axis?

Hello there, I would like to put the bottom half of the bar chart right under the top half(instead of having them next to each other). Could you tell me how to do the trick?

Please let me know if you would like me to explain my question to you more clearly.


This problem has been solved.

Thank you.

Hi @jca231,

would you be able to share your solution? In case others stumble upon this.


Hi bcd,

Of course, the solution is simple, we only need to use
#layout(barmode = “overlay”) to achieve that goal.