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:
Type - Type of data (e.g. StepCount).
Value - Measured amount (e.g. 31 steps)*
StartDate - Start date of measurement (Date Object).
CreationDate - Date the record was created (Date Object).
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.
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.
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:
Type
- Type of data (e.g. StepCount).Value
- Measured amount (e.g. 31 steps)*StartDate
- Start date of measurement (Date Object).EndDate
- End date of measurement (Date Object).CreationDate
- Date the record was created (Date Object).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
fromStartDate
.