Sleep Dataset Features vs. Age -- One Plot
✓ Published0🌍 Public
MMartha Cash
Last edited Apr 25, 2023
Created on Apr 11, 2023
Forked from Average Sleep Efficiency and Duration vs. Age
Three linked scatter plots show how average sleep efficiency, sleep duration, and deep sleep duration vary with age. Each plot uses D3 v7’s `scaleLinear`, `scaleOrdinal`, `schemeCategory10`, and `axisLeft`/`axisBottom` to render axes and colored points, with interactive tooltips on hover. Data is fetched as CSV, aggregated by age via `flatRollup`, and visualized using D3’s `select`, `join`, and `transition` APIs.
AI-generated descriptionThis is a viz on the sleep efficiency dataset. The question this viz aims to answer the question how does age correlate with certain feautres of the dataset. The functionality for multiple graphs was borrowed from https://vizhub.com/IeKimI/19352f8c88a1407ba2ec27940469a1a2?edit=files&file=viz2.js
MIT Licensed