Demographics Tab
a08_demographics_tab.RmdIntroduction
The Demographics tab summarizes cohort composition and concept-level demographic shifts.

Demographics overview
Components
- KPI cards: cohort-level snapshot (patient count, age, sex proportions).
- Age distribution chart: cohort age profile with autoscaled axis range.
- Cluster Demographics table: per-cluster patient count and age/sex metrics.
-
Demographics by Concept:
- age-delta ranking table,
- sex-skew ranking table,
- filters for minimum patients and data source.
- Ordinal Progression: concept-specific age and sex patterns across ordinal events.

Demographics tables
Controls
- Minimum patients: excludes low-support concepts from rankings.
- Data source: switches between overall and cluster-specific demographic summaries.
- Ordinal concept selector: chooses the concept for ordinal progression charts.

Ordinal progression panel