{"id":12496,"date":"2024-10-09T11:38:18","date_gmt":"2024-10-09T17:38:18","guid":{"rendered":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/?p=12496"},"modified":"2024-10-09T11:39:06","modified_gmt":"2024-10-09T17:39:06","slug":"daniels-large-assignment-3-data-physicalization","status":"publish","type":"post","link":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/2024\/10\/09\/daniels-large-assignment-3-data-physicalization\/","title":{"rendered":"Daniel&#8217;s Large Assignment 3: Data Physicalization"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>Heart Rate (BPM) During Sleep<\/strong> &#8211; 3 hours 21 minutes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Dataset Link:<\/strong> <a href=\"https:\/\/physionet.org\/content\/sleep-accel\/1.0.0\/\">Motion and heart rate from a wrist-worn wearable and labeled sleep from polysomnography v1.0.0 (physionet.org)<\/a><\/li>\n\n\n\n<li><strong>Why this dataset:<\/strong> I chose this dataset because it provides insights into heart rate patterns during sleep, a critical period for physical and mental recovery. Understanding how heart rate behaves during different sleep stages (such as deep sleep and REM sleep) adds depth to the overall project. By comparing heart rates during sleep with those during exercise and exam stress, I can explore how the body\u2019s physiological responses vary in states of rest versus heightened activity or stress. This dataset forms a key part of the overall set, allowing me to visualize how the heart functions in a calm, resting state versus other more demanding scenarios.<\/li>\n\n\n\n<li><strong>Data cleaning\/filtering:<\/strong> <br>For the sleep dataset, I focused on the heart rate data found in the &#8220;heart_rate&#8221; folder, which contained 31 individual text files\u2014each representing the heart rate readings of a different participant. To clean this data, the first step was to convert all 31 text files into CSV format. Since I am primarily interested in heart rate patterns, I filtered out the unnecessary columns and kept only the heart rate column from each file, discarding the time information.<br> <br>Once I had cleaned the individual heart rate data for each participant, I performed an additional step of averaging the heart rates across all participants. This allowed me to create a single, consolidated CSV file representing the average heart rate during sleep for the entire group. This averaged dataset provides a clearer view of the general trends in heart rate during sleep, simplifying the analysis and visualization for the project.<br><br>Using this cleaned data, I created two 3D forms: one based on the average heart rate of all participants, and another based on the heart rate data of a specific participant that I found particularly interesting. These two forms offer a comparative perspective, showcasing both the general trends in heart rate during sleep and an individual variation that stands out.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Heart Rate (BPM) During Exercise (Treadmill Maximal Graded Exercise Tests) &#8211; 4 hours 22 minutes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Dataset Link:<\/strong> <a href=\"https:\/\/physionet.org\/content\/treadmill-exercise-cardioresp\/1.0.1\/\">Treadmill Maximal Exercise Tests from the Exercise Physiology and Human Performance Lab of the University of Malaga v1.0.1 (physionet.org)<\/a><\/li>\n\n\n\n<li><strong>Why this dataset:<\/strong> I chose this dataset because exercise provides a well-understood scenario of elevated heart rate, which acts as a useful contrast to heart rate during sleep and exam stress. Maximal exercise tests offer a clear representation of how the body responds to physical exertion, providing data at the upper extremes of cardiovascular activity. By comparing heart rates during intense exercise to those during sleep and exam conditions, I can highlight the variability in heart rate between physical exertion, stress, and relaxation, emphasizing how each scenario affects the body&#8217;s physiology in distinct ways.<\/li>\n\n\n\n<li><strong>Data cleaning\/filtering:<\/strong><br>The exercise dataset came as a single CSV file containing the data for all participants, with nine columns: Time, Speed, HR (Heart Rate), V02, VC02, RR, VE, ID_test, and ID. To clean the data and analyze it on a per-participant basis, I separated the data by participant using the unique ID for each. This resulted in around 860 different files, each containing the data for a specific participant.<br><br>For each participant, I kept only the columns relevant to this project: Speed, HeartRate, and their ID. This allowed me to focus specifically on the relationship between heart rate and speed during exercise, which is the key metric for this dataset.<br><br>Additionally, I performed another round of data cleaning by averaging the heart rate data across all participants. This gave me a single CSV file representing the average heart rate during exercise, which simplifies the visualization and provides a generalized view of how heart rate responds to increasing speed during treadmill tests.<br><br>Using this cleaned data, I created two 3D forms: one based on the average heart rate of all participants, and another based on the heart rate data of a specific participant that I found particularly interesting. These two forms offer a comparative perspective, showcasing both the general trends in heart rate during sleep and an individual variation that stands out.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Heart Rate (BPM) During Exam Stress (Midterm 1) &#8211; 2 hours 52 minutes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Dataset Link:<\/strong> <a href=\"https:\/\/physionet.org\/content\/wearable-exam-stress\/1.0.0\/\">A Wearable Exam Stress Dataset for Predicting Cognitive Performance in Real-World Settings v1.0.0 (physionet.org)<\/a><\/li>\n\n\n\n<li><strong>Why this dataset:<\/strong> I chose this dataset because it highlights the physiological effects of stress in a real-world scenario that many people can relate to\u2014taking an exam. Exam stress is a common experience, and it often leads to increased heart rates due to anxiety and cognitive pressure. This dataset allows me to compare the body\u2019s reaction to mental stress against both the calm of sleep and the physical exertion of exercise. Together with the other datasets, it forms a comprehensive set that illustrates how different kinds of stress\u2014physical, mental, and emotional\u2014affect heart rate.<\/li>\n\n\n\n<li><strong>Data cleaning\/filtering:<\/strong> <br>Upon downloading the dataset, I found a zip file containing folders for 10 students (labeled S1 through S10), with each student having three subfolders: Final, Midterm 1, and Midterm 2. Within the Midterm 1 folder, there were seven CSV files for each student, including ACC, BVP, EDA, HR (Heart Rate), IBI, tags, and TEMP. Since my focus was solely on heart rate data, I extracted the HR CSV files for each student specifically from the Midterm 1 folder.<br><br>This process allowed me to compile the heart rate data for each participant during the 1.5-hour exam period. I chose to analyze Midterm 1 because I believe students are likely to experience heightened anxiety during their first exam in a course. They are unfamiliar with the exam setup and have not yet practiced taking the exam, which could result in more interesting and significant heart rate data.<br><br>In addition to compiling the individual heart rate data, I also averaged the heart rates across all participants to create a single CSV file representing the average heart rate during the Midterm 1 exam. This averaged dataset helps to highlight general trends in physiological responses to exam stress, providing a clearer perspective for analysis and visualization.<br><br>Using this cleaned data, I created two 3D forms: one based on the average heart rate of all participants, and another based on the heart rate data of a specific participant that I found particularly interesting. These two forms offer a comparative perspective, showcasing both the general trends in heart rate during sleep and an individual variation that stands out.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Why These Datasets Form a Cohesive Collection<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The datasets I selected\u2014heart rate during sleep, exercise, and exam stress\u2014work well together because they represent a spectrum of physiological responses under different conditions: rest, physical exertion, and mental stress. Each dataset offers a distinct perspective on how the heart reacts to varying states of the human body, ranging from the calm of sleep to the intensity of exercise and the anxiety of test-taking. Together, they form a comprehensive picture of how heart rate fluctuates in response to both physical and psychological factors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By visualizing these datasets through 3D prints, I aim to create a collection of physical forms that highlight these contrasts. Each print will embody the unique patterns of heart rate data from these different scenarios, but when viewed as a set, they will reveal how interconnected and dynamic the human cardiovascular system is across a wide range of activities. The collection helps viewers grasp the relationships between rest, physical stress, and mental stress, making the abstract data more tangible and easier to interpret.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> In summary, the datasets complement each other by covering diverse yet interrelated aspects of heart rate variability. The 3D-printed forms will reflect these physiological differences, and as a cohesive set, they will provide a broader understanding of how the heart functions in daily life under various conditions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In my design process, I used the cleaned and averaged heart rate data from each dataset to generate 3D forms that visually represent patterns in heart rate across different scenarios: sleep, exercise, and exam stress. I chose to create two forms for each dataset\u2014one based on the average heart rate of all participants and one based on a specific participant whose data stood out. This allowed for both a general overview and a more focused exploration of individual variation. Each form was generated by converting the heart rate data into a continuous 3D shape using heart curves, with the radius of the form corresponding to heart rate values over time. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These forms illuminate how the heart&#8217;s activity differs during rest, physical exertion, and mental stress, teaching me about the varying intensities of physiological responses across these conditions. The comparison between forms also highlights the significant contrasts between sleep, where heart rate tends to be stable and lower, and more stressful conditions like exams and exercise, where heart rate spikes are frequent.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"826\" height=\"892\" data-id=\"12582\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/sleep_pic.png\" alt=\"\" class=\"wp-image-12582\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/sleep_pic.png 826w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/sleep_pic-278x300.png 278w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/sleep_pic-768x829.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/sleep_pic-575x621.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/sleep_pic-380x410.png 380w\" sizes=\"auto, (max-width: 826px) 100vw, 826px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"964\" data-id=\"12584\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/exercise_pic-1024x964.png\" alt=\"\" class=\"wp-image-12584\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/exercise_pic-1024x964.png 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/exercise_pic-300x282.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/exercise_pic-768x723.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/exercise_pic-920x866.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/exercise_pic-575x541.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/exercise_pic-380x358.png 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/exercise_pic.png 1085w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"880\" height=\"826\" data-id=\"12583\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/exam_pic.png\" alt=\"\" class=\"wp-image-12583\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/exam_pic.png 880w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/exam_pic-300x282.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/exam_pic-768x721.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/exam_pic-575x540.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/exam_pic-380x357.png 380w\" sizes=\"auto, (max-width: 880px) 100vw, 880px\" \/><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Final Forms<\/h2>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-id=\"12764\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112044-768x1024.jpg\" alt=\"\" class=\"wp-image-12764\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112044-768x1024.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112044-225x300.jpg 225w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112044-1152x1536.jpg 1152w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112044-1536x2048.jpg 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112044-1140x1520.jpg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112044-920x1227.jpg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112044-575x767.jpg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112044-380x507.jpg 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112044-scaled.jpg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-id=\"12766\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112156-768x1024.jpg\" alt=\"\" class=\"wp-image-12766\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112156-768x1024.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112156-225x300.jpg 225w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112156-1152x1536.jpg 1152w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112156-1536x2048.jpg 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112156-1140x1520.jpg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112156-920x1227.jpg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112156-575x767.jpg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112156-380x507.jpg 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_112156-scaled.jpg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-id=\"12765\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_111905-768x1024.jpg\" alt=\"\" class=\"wp-image-12765\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_111905-768x1024.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_111905-225x300.jpg 225w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_111905-1152x1536.jpg 1152w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_111905-1536x2048.jpg 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_111905-1140x1520.jpg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_111905-920x1227.jpg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_111905-575x767.jpg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_111905-380x507.jpg 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/20241009_111905-scaled.jpg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Reflection on Data Physicalization<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I think that designing with data through 3D objects helps me create physical representations of complex information, making it easier to understand. By comparing the heart rate data of students under exam stress with that of people sleeping, I can visualize the differences in physiological responses. This physicalization turns abstract data into tangible forms that I can analyze, manipulate, and share, revealing patterns that might not be obvious in traditional 2D formats like graphs or tables.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Creating these objects allows me to explore the data in a more engaging way. As I develop forms based on heart rate variations, I gain insights into how stress affects cognitive performance. These 3D artifacts visually demonstrate the relationship between stress and physiological responses, helping viewers quickly grasp the data&#8217;s significance. Additionally, the ability to physically interact with the forms\u2014turning them or viewing them from different angles\u2014adds an extra layer of understanding that enhances both the analysis and the communication of the data. Overall, with this approach deepens my understanding and makes the data more accessible and meaningful to others.<br><\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-00482356-1e2f-4641-b5f4-ede0f5196a5c\" href=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/DanielPrairieLA3.gh\">DanielPrairieLA3<\/a><a href=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2024\/10\/DanielPrairieLA3.gh\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-00482356-1e2f-4641-b5f4-ede0f5196a5c\">Download<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Heart Rate (BPM) During Sleep &#8211; 3 hours 21 minutes Heart Rate (BPM) During Exercise (Treadmill Maximal Graded Exercise Tests) &#8211; 4 hours 22 minutes Heart Rate (BPM) During Exam Stress (Midterm 1) &#8211; 2 hours 52 minutes Why These Datasets Form a Cohesive Collection The datasets I selected\u2014heart rate during sleep, exercise, and exam stress\u2014work well together because they [&hellip;]<\/p>\n","protected":false},"author":61,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57,46],"tags":[],"class_list":["post-12496","post","type-post","status-publish","format-standard","hentry","category-large-assignment-3-data","category-studentwork24"],"_links":{"self":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/12496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/users\/61"}],"replies":[{"embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/comments?post=12496"}],"version-history":[{"count":18,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/12496\/revisions"}],"predecessor-version":[{"id":12770,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/12496\/revisions\/12770"}],"wp:attachment":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/media?parent=12496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/categories?post=12496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/tags?post=12496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}