Viewing a saved revision (read-only)
c4e4b2c3548841129b2bc0161327e025
Sleep Dataset Features vs. Age -- One Plot
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