I have been doing something somehow similar for the past ~6 months by tracking (per minute) the number of keystrokes, distance travelled by my mouse cursor, number of clicks, active app, active wifi network and free disk space. I can't wait to start visualizing these over time.
Can you share the scripts/tools which you are using?
I might open source the app in the future.