<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Philip Omowole on Medium]]></title>
        <description><![CDATA[Stories by Philip Omowole on Medium]]></description>
        <link>https://medium.com/@phil.omowole?source=rss-54d89af3be3a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*UJ1pQDRI1ix-4H3z</url>
            <title>Stories by Philip Omowole on Medium</title>
            <link>https://medium.com/@phil.omowole?source=rss-54d89af3be3a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 08:04:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@phil.omowole/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How much do you think you know about sleep?]]></title>
            <link>https://medium.com/@phil.omowole/how-much-do-you-think-you-know-about-sleep-e55b51c5aca5?source=rss-54d89af3be3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/e55b51c5aca5</guid>
            <dc:creator><![CDATA[Philip Omowole]]></dc:creator>
            <pubDate>Wed, 03 May 2023 10:20:05 GMT</pubDate>
            <atom:updated>2023-05-03T10:20:05.835Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*cyH6S64QxgIRwi2wzggyXg.jpeg" /></figure><p>Hello!</p><p>I hope you’re doing well. As we all know, obtaining sufficient sleep is vital for our well-being and cognitive function.</p><p>As part of my capstone project for the Udacity Data Visualization Nanodegree, I created this write-up to improve an existing data visualization from <a href="http://makeovermonday.co.uk/data/">Makeover Monday</a> using the U.S. Bureau of Labor Statistics data.</p><p>The original visualization and dataset from the agency can be found <a href="https://data.world/makeovermonday/2019w23">here</a>.</p><p>You will find the insights and information presented here as engaging as I did when researching and compiling them.</p><h3>Link to the dashboard on Tableau Public</h3><p><a href="https://public.tableau.com/app/profile/philip.omowole3714/viz/Americansleephabits/Story1?publish=yes">The dashboard is developed in Tableau</a>.</p><p><strong>About the data set</strong></p><p>The datasets have several fields: activity, age group, period, sex, type of days, year, average hours per day spent sleeping, and standard error.</p><p><strong>Limitation</strong></p><p>Although the dataset is free of errors, it has some limitations that need to be noted. One such limitation is that the data has been classified based on the “type” of day, either as “all days,” “nonholiday” weekdays, or “weekend days and holidays.” Providing the complete dataset for each day would have been more beneficial, allowing for more flexibility in creating visualizations.</p><p><strong>Biases</strong></p><p>There are several potential biases that could arise at each of the three stages of data processing, as highlighted below:</p><p><strong>Data Collection</strong>: The data may be missing important variables, and since it has been sorted into “age groups,” it may not be possible to conduct age-specific analyses. The same limitation also applies to “Type of Days.”</p><p><strong>Data Processing</strong>: Although no outliers have been detected, there may be other variables that could influence the outcomes but were not included in the dataset, such as individual days instead of grouped data, heart rate, weight, and the proportion of light sleep, REM, and deep sleep.</p><p><strong>Data Insights</strong>: There is a risk of confounding variable bias; the data indicates that, on average, women sleep longer than men. However, the dataset’s limited features may obscure the factors responsible for this trend.</p><p><strong>Dashboard Analysis</strong></p><p>Below is the initial visualization as provided by the U.S. Bureau of Statistics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*syi50AYJhILRLZMK.png" /></figure><p>The initial visualization offers a basic summary of the average number of hours of sleep for men and women across various age groups in 2015. However, it does not offer any additional insights beyond that, such as dividing the analysis to comprehend sleep patterns on weekends, holidays, and working days rather than aggregating all the data. Additionally, the y-axis begins at 7.0 instead of zero, further distorting the data’s appearance.</p><p>On the other hand, my approach to the data is as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*J_qt3IgFf-6jXQ6hJ0ekOw.png" /></figure><p>My improved version of the initial visualization includes several enhancements, which I will explain shortly. The dashboard starts with a section at the top that provides a definition of sleep and its benefits before delving into the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RMo88QtNoDjEo2DXP7iB1w.png" /></figure><p>The improved visualization offers the same information as the initial version but with several notable enhancements. Firstly, the y-axis begins at zero, representing all bar heights accurately. The flat design creates a minimalist layout that is easier to read than the original’s 3-D design. Furthermore, traditional colours (blue for males, green for females) are used to differentiate the sexes, making the visualization easy to comprehend.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*84PhMC3meASlC1SQzXHDjQ.png" /></figure><p>The “Box and Whisker” chart above is a new addition that provides further insight into the sleep patterns of men and women across all age groups during weekends and holidays.</p><p>As seen in the chart, women on average, sleep slightly longer than men across all age groups, with a median average sleep time of 9.46 hours compared to men’s 9.28 hours. While the difference is minimal, it is still an interesting finding.</p><p>It is worth noting that the y-axis starts at 8 hours rather than 0, which was a deliberate choice to make it easier to discern the difference in sleep duration between men and women.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*4hs-MOi7H6JsFUti8ceVqw.png" /></figure><p>The above graph illustrates the difference in sleep hours between men and women during working days across different age groups. This chart is unique in that it clearly displays the variation in hours slept between men (represented by blue circles) and women (represented by pink circles). With the exception of the “15 to 24 years” age group, women tend to sleep more than men across all age groups.</p><p>The “15 to 24 years” age group depicted in the graph has a tendency to sleep longer, which is logical as children and teens typically require more sleep than adults. It would have been beneficial if the data had a separate category for “under 18s” instead of grouping children and young adults together.</p><p><strong>Conclusion</strong></p><p>To sum up, the data visualizations provide interesting insights into the sleep patterns of different age groups and sexes. The fact that women tend to sleep longer than men on average, albeit by a small margin, was surprising to me. The visualizations also support the fact that children and teens sleep longer than adults. Overall, the project was a great opportunity to practice data visualization skills and create more informative and engaging visualizations than the original ones.</p><p><strong>Data Citation</strong></p><p>The data used for this analysis was obtained from data. world, specifically the Sleepless in America dataset, which was created as part of<a href="https://data.world/makeovermonday/2019w23"> Makeover Monday</a>.</p><p>Additional sources that were used for reference include the <a href="https://en.wikipedia.org/wiki/Sleep">Wikipedia article on sleep</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e55b51c5aca5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>