Skip to main content
Public

Share visualization

Loading preview…

Sleep Health and Lifestyle Dataset

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Sleep Health and Lifestyle Dataset

0
Ccsabavath@wpi.edu
Last edited Sep 11, 2025
Created on Sep 4, 2025
Forked from Loading Data

This visualization displays a raw preview of the Sleep Health and Lifestyle Dataset, showing all 400 records with their 13 attributes including sleep duration, stress levels, and sleep disorder classifications. The example uses d3.csvParse to load and parse the CSV data, converting numeric fields to numbers before displaying the JSON-formatted data in a pre element. The code demonstrates a state management pattern where data transitions from undefined to 'LOADING' to the final parsed array, with each state change triggering a re-render of the visualization.

AI-generated description

Dataset 3: Sleep Health and Lifestyle Dataset

Source:
Sleep Health and Lifestyle Dataset

This dataset contains 400 rows and 13 attributes, covering variables related to sleep patterns, lifestyle factors, and health indicators. It includes demographic details, physical activity, stress levels, BMI, blood pressure, and the presence of sleep disorders.
It’s ideal for analyzing the impact of lifestyle factors on sleep quality and identifying relationships between health metrics and sleep disorders.

Attributes and Types

  • Gender – Categorical, nominal
  • Age – Quantitative, ratio
  • Occupation – Categorical, nominal
  • Sleep Duration – Quantitative, ratio
  • Quality of Sleep – Quantitative, ordinal (scale)
  • Physical Activity Level – Quantitative, ratio
  • Stress Level – Quantitative, ordinal (scale)
  • BMI Category – Categorical, ordinal
  • Blood Pressure – Quantitative, ratio
  • Heart Rate – Quantitative, ratio
  • Daily Steps – Quantitative, ratio
  • Sleep Disorder – Categorical, nominal

Comments

Sign in to join the discussion.

MIT Licensed