Skip to main content
100%

“Sleep disorders % by stress — 100% stacked bar”

✓ Published0🌍 Public
Ccsabavath@wpi.edu
Last edited Oct 8, 2025
Created on Sep 30, 2025

This chart displays the percentage distribution of sleep disorders (None, Insomnia, Sleep Apnea) across low, medium, and high stress categories, with each bar representing a 100% stacked composition. The visualization uses D3 v7’s `d3.rollup` for data aggregation, `d3.stack` for layer generation, and SVG for rendering. It reads from a CSV file containing lifestyle and health metrics, binarizes stress levels into three groups, and employs an ordinal color scale with a custom tooltip for interactive detail inspection.

AI-generated description
MIT Licensed

Similar vizzes