cmda-tt / course-17-18

🎓 Frontend 3 · 2017-2018 · Curriculum and Syllabus 📊
https://cmda-tt.github.io/course-17-18/
Other
39 stars 64 forks source link

Assessment 3 data: @levizimmerman #526

Closed levizimmerman closed 6 years ago

levizimmerman commented 6 years ago

Source

For the last assessment of Frontend 3 - Data, I am going to use a personal dataset. Within the iPhone, there is an application called Health. This application can record all kinds of data like (heartbeat, sleep rhythm, nutrition, and much more). In my case it recorded steps, walking or running distance, flights climbed and hours slept. I want to use this data to experiment with displaying the data the way it is coherent to the type of data. Furthermore, I hope to see some correlation between sleep and activity (walking and running).

I have made a short analysis of the data and the following items can be found in every record:

The thing that connects all data records is the date of measurement. This allows me to visualize the data based on a timespan given by the user. By visualizing each type you can compare the values and see if something stands out. Another way to manipulate the data is by sorting one type and see how the other data types transform.

The personal dataset can be found here. The file is formatted as XML. This is interesting because I have not loaded XML into D3 before. To make sure that the data is useable I have created a simple proof of concept for cleaning and transforming the data. The output samples can be found here.

*Type SleepAnalysis does not contain a value, but it can be calculated by subtracting EndDate from StartDate.

Razpudding commented 6 years ago

Sounds great Levi, looking forward to seeing the results. Good idea to make a PoC for XML -> JSON. Try drawing some charts to figure out which would be most interesting before writing more code.