ED Wait Times -- Visualization Drafts
Recharts prototypes for list-route and detail-route enrichments. All data is mock-generated with realistic diurnal patterns.
A) List Route Enrichments
1. Sparkline per hospital row
Tiny inline area chart showing 24h trend. No axes. Communicates "getting busier" vs "clearing out" at a glance.
Grafton Base Hospital
Grafton
Royal Prince Alfred Hospital
Camperdown
St Vincent's Hospital
Darlinghurst
Westmead Hospital
Westmead
Canterbury Hospital
Campsie
2. Aggregate statewide trend
Total patients waiting across all 5 hospitals over the last 24h. Dashed line is the period average.
3. Capacity utilization bars
Wait count as a proportion of bed capacity. Normalizes across hospitals of different sizes.
Grafton Base Hospital
4/13 beds
Royal Prince Alfred Hospital
15/50 beds
St Vincent's Hospital
12/40 beds
Westmead Hospital
23/60 beds
Canterbury Hospital
11/20 beds
B) Hospital Detail Route
All charts below use Grafton Base Hospital (13 beds) as the focal hospital.
24-hour summary with SparklineSubsection
Each stat card embeds a narrow window of the sparkline centred on the peak or trough, giving spatial context for where the extreme occurred. Three style variants shown below for Grafton Base Hospital.
Variant A — fade
Soft horizontal fade masks on edges. Minimal marker dot at peak/trough. Clean, subtle.
24h Peak
7
highest count
24h Low
1
lowest count
Average
4
patients / hour
Trend
vs prior period
Variant B — glow
Fade edges + radial glow behind the marker. Draws more attention to the extreme point.
24h Peak
7
highest count
24h Low
1
lowest count
Average
4
patients / hour
Trend
vs prior period
Variant C — bracket
No fade. Vertical hairlines at window boundaries. Denser, more data-forward.
24h Peak
7
highest count
24h Low
1
lowest count
Average
4
patients / hour
Trend
vs prior period
4. Wait count over time + bed capacity threshold
Primary detail chart. Red zone marks when wait count exceeds bed capacity. Dashed line is the capacity ceiling.
5. Occupancy ratio over time
waitCount / bedCapacity as a percentage. Normalizes across hospitals of different sizes. 100% line marks full capacity.
6. Nearby hospital comparison
Overlaid wait counts for the focal hospital vs 3 nearest neighbours. Dashed lines for neighbours, solid for primary.
7. Peak hours heatmap (day x hour)
Average wait count by day-of-week and time-of-day. Requires weeks of accumulated data. Uses a grid of cells with color intensity mapped to busyness.
8. Statewide bar ranking (current snapshot)
Horizontal bar chart of current wait counts, sorted highest first. Color-coded by severity. Useful as an alternative list view or as a hero summary.