aw-webui icon indicating copy to clipboard operation
aw-webui copied to clipboard

Adding visualization for aw-watcher-input

Open kovasap opened this issue 4 years ago • 3 comments

Hi!

I'm interested in adding a new visualization for continuous data with a y-value (e.g. a keystroke frequency histogram) to the UI. My first idea is to try a joy plot with values from different watchers. Is there any info/docs I should know/read before I dive in?

Thanks!

kovasap avatar Mar 04 '21 06:03 kovasap

Quick status update:

I have a graph visualization working! This plots the distribution of my keystrokes from aw-watcher-input over time so I can see periods when I am busy and when I am e.g. reading but not typing.

image

I'm planning to try multiple data series next, maybe in a joy-plot-like scheme.

kovasap avatar Mar 14 '21 01:03 kovasap

This is pretty cool!

Found your code at https://github.com/kovasap/aw-webui. Might look into getting something similar merged in the future :)

ErikBjare avatar May 15 '21 14:05 ErikBjare

Thanks! Feel free to build off my code and/or try merging it. At the moment, I've stopped working on this feature after deciding to put my tinkering with https://forum.activitywatch.net/t/activitywatch-as-a-data-aggregator/1186/3 on hold for the moment. My overarching goal is to plot lots of different data beyond what AW collects on a single timeseries chart. I've found it easier for now to do this outside of AW, using python+plotly directly from my raw csv data.

kovasap avatar May 15 '21 16:05 kovasap