Composition grammar · live WASM vitals
Relating charts
Every chart here binds to the same vitalsQuery WASM source
and relates to its neighbours through the composition grammar: shared
scales, named selections, and data-driven facets. Sign in to load the
private vitals container. (Layer overlay is demonstrated on the
chart gallery.)
Linked selection + shared scale
Click a point to select its metric kind (shift-click to add more); the
chart on the right filters to the selection. Both y-axes reference
<slc-scale id="vitalsValue">, so they share one
unioned domain instead of rescaling independently.
Facet by metric kind
One source, one panel per kind value (heart rate, resting
HR, oxygen, respiratory) with its own independent scale — each panel
fills in as the crawl streams rows.