'Plot timelines of timestamps with different labels

I have some timestamped data from different sources that I'd like to visualize by plotting points on parallel timelines.

I want something that looks like this

From data that looks like this:

id  | type | timestamp
----------------------
1   | A    | 2022-03-11 09:01:00
2   | B    | 2022-03-12 13:13:00
3   | C    | 2022-03-12 20:05:00
4   | B    | 2022-03-12 01:24:00
5   | A    | 2022-03-12 13:03:00
6   | B    | 2022-03-13 11:45:00

Whats the best way to do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source