Vega-Lite — Sleep Patterns, 301 nights (2026)

Same three charts as the Sleep Patterns app, same data, same colours. Vega 5.33.1 · Vega-Lite 5.23.0 · vega-embed 6.29.0.

1 · The year, month by month

Average nightly duration per month; dashed amber = 7h target; grey text = nights under 6h.

2 · Nightly duration, by stage

One stacked bar per night — Deep → REM → Core + unspecified — with the 7-night rolling average (dark line) and the 7h target.

3 · When you slept

One strip per night, bedtime → wake time, on a 6 PM → 4 PM clock. Rose strips are nights under 6 hours.