Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Visualize stats #493

Open
varac opened this issue Feb 6, 2023 · 3 comments
Open

FR: Visualize stats #493

varac opened this issue Feb 6, 2023 · 3 comments

Comments

@varac
Copy link

varac commented Feb 6, 2023

One feature missing is the ability to visualize work time over a week, like Zeit or Timewarrior provide.
See these examples:

image

image

Imo a visualization like Zeit does it would the most useful to me.

@varac
Copy link
Author

varac commented Feb 6, 2023

If anybody achieved this with with an additional program which could parse the output of watson list I'd appreciate feedback as well, but imo this should get baked into watson.

@joelostblom
Copy link
Contributor

I have worked on this a bit locally and have a simple version that output stats for the last N weeks in the terminal using the "simple stackedbar plots" from https://github.com/piccolomo/plotext. They looks something like this:

image

For more complicated info I have a dashboard created using Vega-Altair, but there is not code for that which is sharable at the moment, and not sure I will build that out to a general interface. I think a few easy to view summaries in terminal can go a long way. A GitHub-like heatmap would be cool to add and depends on plotext getting support for that first piccolomo/plotext#143.

I uploaded the script to a repo so that you can have a look and help building if if you want. Note that you need to run plotext with this PR applied piccolomo/plotext#164

@k4j8
Copy link

k4j8 commented Jun 10, 2023

I've been using Plotly to create time-tracking charts for myself. If anyone is interested, I uploaded my scripts here: https://github.com/k4j8/watson-graphing.

Example:
watson_graphing_basic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants