Help plotting hourly data across multiple days in Plotly

Hi everyone,

I have a dataset with hourly temperature readings (timestamps and values) spanning multiple days, and Iโ€™m trying to create a line chart that shows patterns across the same hours for each day.

Ideally, I want the x-axis to represent hours of the day (0 to 23) and have a separate line for each day. This would help me compare how temperatures vary across different days at the same hour.

Iโ€™m using Plotly Express, but Iโ€™m open to using go.Figure if needed. Any suggestions on the best way to reshape the data or configure the x-axis?

Thanks in advance!
Jhonn Mick

Hey @jhonnmarie,

have a read here.