✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Index plot with plotly

Hi,

I would like to make the following type of index plot via plotly, but do not understand which function to use. The data is sequential and consists of discrete events.

Can someone please recommend?

image

Thank you!