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

4 waiting

Royal Prince Alfred Hospital

Camperdown

15 waiting

St Vincent's Hospital

Darlinghurst

12 waiting

Westmead Hospital

Westmead

23 waiting

Canterbury Hospital

Campsie

11 waiting

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

31%

Royal Prince Alfred Hospital

15/50 beds

30%

St Vincent's Hospital

12/40 beds

30%

Westmead Hospital

23/60 beds

38%

Canterbury Hospital

11/20 beds

55%

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 Afade

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

stable

vs prior period

Variant Bglow

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

stable

vs prior period

Variant Cbracket

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

stable

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.

00:00
03:00
06:00
09:00
12:00
15:00
18:00
21:00
Mon
1
2
4
6
6
5
3
2
Tue
1
2
4
6
6
5
3
2
Wed
1
2
4
6
6
5
3
2
Thu
1
2
4
6
6
5
3
2
Fri
1
2
4
6
6
5
4
2
Sat
2
3
5
7
8
6
4
2
Sun
2
3
5
7
8
6
4
2
Quiet
Busy

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.