0

I have a CSV that roughly looks like this:

start,end,activity
5:00AM,6:00AM, eating
6:15AM,7:00AM, work
7:00AM, 8:00AM, eating
etc. etc.

I've been trying to visualize this data in order. I.e, ideally, I'd create a single line/rectangle that is 24 hours long, and then have different parts of the line/rectangle be colored for different activities.

I'm sure there are ways to do this using the low-level APIs, but I'm wondering if there's a way to do this with some sort of pre-defined chart.

Foobar
  • 7,458
  • 16
  • 81
  • 161
  • Does this answer your question? [Plotting time series with multicolor line in Python](https://stackoverflow.com/questions/64169010/plotting-time-series-with-multicolor-line-in-python) – LazyClown Oct 26 '22 at 07:49
  • That's pretty close; although ideally I'd just have a flat line / a flat rectangle. – Foobar Oct 26 '22 at 18:14
  • You can modify it according to your requirement. – LazyClown Oct 27 '22 at 02:12

0 Answers0