About this project

Why I made this

Stewart Lees beside his mum, who is sitting up in a hospital bed with an oxygen tube, wearing a pink and white jumper.
Me and my mum, November 2026.

I have two elderly parents, and both of them depend heavily on the health service. Recently I have seen first hand the pressure that A&E units and hospital beds are under: what the numbers in this story look like when it is your own family waiting.

When I saw The Data Lab's Community Data Visualisation Competition, I felt compelled to enter. Not because I thought I had the answer, but to see whether my skills, and AI, could in some way help build a narrative for understanding why the waiting times keep getting longer.

The story follows the published figures in order: how long people waited, when each board stopped meeting the target, who came, whether there was a bed, whether there were enough staff, and whether patients could leave once they were ready. It ends on what the figures support, and what they do not. They show patterns, not proof of cause, and the page tries to say which is which.

Every sentence in the story that states a figure or a pattern is computed from the data rather than typed in, and each claim is a condition checked against it. When Public Health Scotland publishes new figures and the page is rebuilt, a claim the numbers no longer support is rewritten as a plainer one rather than left standing.

How it was made

I built it with Claude, an AI model made by Anthropic, working as a partner: reading and checking the data files, testing each claim against the figures, and writing the code. The questions came from me, often from what I had seen on the wards; the AI's job was to find out what the figures could and could not say about them.

It lives on scot.live, an independent site about what is happening in Scottish cities, and every page of it is readable with JavaScript switched off.

Data sources

Nothing is estimated or smoothed. The full method notes for each chart sit beside it in the story, and each file linked above says exactly which release and which filters it was built from.

Credits