Daily/hourly heatmap of non-numeric values

Hi Grafana community,

I have some timestamped data of the operating mode of a vehicle. There are four different modes. I would like to apply a different color to each mode.

I would like to create a heat map of the history of these modes with day of the month on the y-axis and time on the x-axis.

I have used Altair to create this:

Any suggestions on how to do this in grafana would be swell.

Thanks,

Nigel