Skip to main content
100%

Fork of “Sleep Hours vs Stress Level – Scatter Plot” with axes

✓ Published2🌍 Public
Ccsabavath@wpi.edu
Last edited Sep 17, 2025
Created on Sep 17, 2025

This scatter plot visualizes the relationship between sleep duration (hours per night) and stress level (scale of 1–10) using data from a Kaggle sleep health and lifestyle dataset. Each circle represents an individual, colored by gender, with dashed trend lines showing the linear regression per gender. The React application renders an SVG visualization using D3 v7 APIs including `scaleLinear`, `extent`, `axisBottom`, `axisLeft`, and `scaleOrdinal` with the Tableau 10 color scheme. Tooltips display detailed information on hover, while axis labels and a legend clarify the variables and categories.

AI-generated description
MIT Licensed

Similar vizzes