Fork of Sleep Efficiency vs. Age
✓ Published2🌍 Public
This visualization plots sleep efficiency against age, showing a linear relationship until roughly age 20 and no relationship afterward. Each circle represents a person, colored by gender. The scatterplot uses `scaleLinear` for axes, `scaleOrdinal` with `schemeCategory10` for color encoding, and `d3.csvParse` to load the data. Axes are rendered with `axisLeft` and `axisBottom` from D3 v7.
AI-generated descriptionThis is a viz on the sleep efficiency dataset. The question this viz aims to answer the question is sleep efficiency and age correlated? We can see that there is a linear relationship until about age 20, and then afterward, there is no relationship.
MIT Licensed