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

Time series zigzagging

I have a simple time series csv that renders as though the timestamps are out of order, but I cannot find the error in the actual file. Any pointers on what has gone wrong would be greatly appreciated.

raw file contents link

See Correct way to format Date as string to be consumed by Plotly.js?

1 Like

Thanks for the pointer. My data appears compliant. Everything worked fine for the first week, then occasionally glitches. Do you have a specific recommendation?

Well, I think you must be passing only time column as x coordinates to Plotly.newPlot. You’ll need to concatenate the date and time records to make plotly.js understands your data as dates.

1 Like

That did the trick, thank you very much!