How Lifestyle Shapes Sleep and Well‑Being

Slidy-style reveal.js slides for Data Visualisation Assignment 3

Chadaram Mohan Mani Kiran, s4200554

29 October 2025

How does lifestyle affect our sleep?

  • Many people are dealing with stress and poor sleep in daily life.
  • Modern routines involve sitting more and moving less.
  • I want to explore how our daily habits (like activity and stress) are linked with our sleep and basic health measures.

Data & Libraries

Dataset: Sample_Sleep_Lifestyle_Behavior_Dataset.csv Scope: This dataset includes basic personal details (age, gender, occupation) and key health and lifestyle factors such as sleep duration and quality, stress level, physical activity, daily steps, BMI category, heart rate, and sleep disorders.

Stress vs Sleep Quality

Higher stress levels may reduce sleep quality, so this chart checks how they relate in our data.

Reading the figure: the downward slope and model summary shows a declining trend.

Activity vs Sleep Duration

Takeaway: More active people tend to sleep a little longer, but the difference is small in this sample.

Daily Steps vs Resting Heart Rate

Interpretation: Here more steps relate to slightly lower heart rate, even with simple adjustment.

BMI Category & Sleep Disorder

Observation: BMI does not show a clear link with sleep disorder here.

Correlation Overview

Read it like a map: Darker squares show stronger relationships. We can notice that stress relates negatively with sleep quality, and more steps relate to lower heart rate.

Summary & Conclusion

  • Stress is often showing a consistent negative link with sleep quality.
  • Physical activity and steps trend are towards healthier signals.
  • Sleep disorders are appearing more in higher BMI categories.
  • Gender differences in sleep duration are less in this sample comparitively.

Closing line: small, repeatable habits like move more, manage stress, regular sleep show measurable differences in simple health markers.

References

  • Dataset: Gigasheet . Sleep Health and Lifestyle Dataset. Retrieved from https://www.gigasheet.com/sample-data/sleep-health-and-lifestyle-dataset
  • R packages: readr, dplyr, tidyr, ggplot2, stringr, forcats, scales, broom
  • Followed all the Lectorial’s throughout the course.
  • Online resources were used to understand concepts and apply the methods correctly in this presentation.