What is the best way of plotting sleep data?

Hello,

I’d like to reproduce a visualization similar to this.

This is about sleep data, and the tricky part is that one β€œbar” corresponds to one night, and thus overlaps two days.
Do you have any pointers on approaching this problem ? So far I’m thinking about a kind of Gantt.

Thanks !