Coder Social home page Coder Social logo

zoe-tracker's Introduction

zoe-tracker

This simple tool allows you to track and visualize things happening throughout the day. I built this to visualize the sleeping / feeding patterns of my 4-months-old baby, but you can use it to track whatever you want! It is pretty flexible.

Here's an example visualization.

Instructions

  1. Create a tracking Google Sheet using the template here here. Just click "Use this template".
  2. You'll probably want to rename the spreadsheet and the associated form.
  3. Publish the sheet to the web; go to File | Publish to the web..., and publish the entire spreadsheet.
  4. Go to the tracker visualization website, and enter your spreadsheet key. The spreadsheet key can be found in the URL of your spreadsheet; it looks like https://docs.google.com/spreadsheets/d/{LONG_KEY_STRING_HERE}/edit. Once you've entered the key, you can bookmark the URL to always come back to this.

Tracking events

The spreadsheet comes with a form; use the live form to submit actions that you're tracking, as they happen. You can access the form by clicking Form | Go to live form.

The "Action" should just be whatever short string you want to describe what happened. You can decide what these strings are. "Action" is the only required field; all other fields will just be used to figure out when the action actually happened. If it happened just now, you can leave the rest of the form blank. If it happened a few minutes ago, fill out how many minutes ago. If it happened at a specific time, enter the specific time. If it happened on another date, enter the specific time and date.

Once you've submitted a form, there is a useful link to "Submit another response".

The form responses are gathered in the "Form Responses 1" tab. You can manually enter entries here too with arbitrary timestamps.

Defining events / states / colors / etc.

You can define your own events and states, with custom colors, by editing the "Keys" tab of the spreadsheet. More documentation to come, but for now, you can mime what exists in the example template.

Brief description of available options below. Cells that look like this are predefined strings that must be entered as-is; other cells can be customized to your liking.

Type Name Value Background / Foreground Colors Description
flag title Title of your visualization ignored This configures the header and page title of the visualization
event Event name Comma-separated list of action substrings Colors used for the event markers Define a class of events whose markers should be colored a certain way. In the Value column, you can specify a comma-separated list of substrings to look for in a Actions that should be marked as this event type.
state State name Comma-separated list of event or action substrings Colors used for the state regions Defines a state of being that is usually defined by a starting and ending event. The Value column specifies a comma-separated list of substrings for event names or actions that should trigger transition into this state. For example, the "sleeps" event will trigger transition into the "asleep" state, etc.
state-trend Name of state trend Comma-separated list of state names Colors used for trend heatmap Defines a trend heatmap at the top of the visualization that expresses how often you are in this state at each block of time.
event-trend Name of event trend Comma-separated list of event names Colors used for trend heatmap Defines a trend heatmap at the top of the visualizationt hat expresses how often this event occurs.
align Name of alignment Comma-separated list of event substrings ignored Defines a way to "align" the timelines. By default, the timelines are aligned by the start of each date. But you can add an option here to instead align the timelines by the start of this event, expressed in the Value column. For example, you might have an event called "morning wake", and have an alignment by that, so you would align the timelines by when a baby wakes up, rather than by midnight of each date. This allows you to see trend by offset relative to some milestone event, rather than by time.

zoe-tracker's People

Contributors

chungwu avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.