Where to find the timeline barchart code?

I would like to find the code that makes the timeline barchart, as seen on the activities screen, so I can adapt it for personal use.

Apologies if this is a dumb question but its my first time trying to work with an open source project of this scale, and so-far I haven’t been able to find it.

For context:
I am looking to track my time, preferably by category for personal automatic analysis. The timeline bar chart hold effectiveley all the data I want (categories, filtered by afk, resolution of an hour)
So I figured if i can find that code, I can copy what works rather than having to reinvent the wheel by recreating a categories filter.

The visualization can be found here:

The actual data it uses however, is shared between multiple visualizations and is a bit complex:

1 Like