feat: add Dosing Interval Comparison chart (Task 9.7)

This commit is contained in:
Andrew Charlwood
2026-02-06 19:58:28 +00:00
parent b1136ad7bf
commit 02fe4b4e28
4 changed files with 322 additions and 4 deletions
+4 -4
View File
@@ -412,13 +412,13 @@ Drawer selection → update_drug_selection → app-state store → load_pathway_
- **Checkpoint**: Sankey tab renders real drug transition flows ✓
### 9.7 Dosing Interval Comparison chart (Tab 6)
- [ ] Create `dash_app/callbacks/dosing.py`:
- [x] Create `dash_app/callbacks/dosing.py`:
- Build horizontal grouped bar chart from `get_dosing_intervals()` data
- Uses `parse_average_spacing()` to extract weekly interval numbers
- Y-axis = trust or directorate, X-axis = weekly interval
- [ ] Create figure function in `src/visualization/`
- [ ] Wire into tab switching
- **Checkpoint**: Dosing tab renders real data with parsed interval numbers
- [x] Create figure function in `src/visualization/`
- [x] Wire into tab switching
- **Checkpoint**: Dosing tab renders real data with parsed interval numbers
### 9.8 Directorate × Drug Heatmap chart (Tab 7)
- [ ] Create `dash_app/callbacks/heatmap.py`: