Skip to main content
100%

Fork of Assignment 5 - Prototype 2

✓ Published1🌍 Public
Ccsabavath@wpi.edu
Last edited Sep 29, 2025
Created on Sep 29, 2025

This interactive scatter plot visualizes the relationship between sleep duration and stress level, with individual data points colored by gender. The visualization, built with React and D3 v7, loads data from a Kaggle CSV file and renders an SVG chart. It includes axes with labels, a legend, and per-gender dashed trend lines computed via least-squares regression. Tooltips display detailed information about each person’s ID, gender, sleep duration, stress level, and sleep disorder. The chart employs D3’s `scaleLinear`, `scaleOrdinal`, and `axisBottom`/`axisLeft` functions for scaling and axes, with `schemeTableau10` providing the color palette.

AI-generated description
MIT Licensed

Similar vizzes