Skip to content
Demo library

NHS A&E Performance

An A&E board against the four-hour standard: switch the metric, drill from region to trust or any other breakdown with a click, and model what extra capacity would do. The data is synthetic.

An example on sample data, not a Data App to install. To get one like it on your own data, give the build prompt to your AI agent.

About this Data App

For a regional urgent and emergency care lead. A metric switcher across the top (attendances, four-hour performance, breaches, 12-hour waits, admission rate, ambulance arrivals) drives every chart. Four KPI cards with monthly mini lines sit above a region bar chart, a monthly trend, department-type and size-band breakdowns and a trust table with trend columns.

Click any bar and a menu opens at the pointer: keep only that value, drill into it by the next level or by any other breakdown, or cancel. The Capacity scenario panel takes the current selection as its baseline and shows what extra beds, same-day emergency care, faster discharge and more ED cover would do to four-hour performance against the 78% interim target and the 95% standard, with a mocked submit-and-approve trail. The selection exports to Excel.

The figures are synthetic: 38 made-up trusts from January 2023 to September 2026, shaped like NHS England’s monthly A&E statistics. None of them are a real hospital’s performance.

Build one like it on your data

Give this to your AI agent with Astrato connected. It asks which of your semantic layers to build on first, and links to the source code of this demo.

Build me an Astrato Data App that tracks emergency department performance against a waiting-time standard, like the NHS A&E Performance demo.

Before you start, ask me which semantic layer to use and list the ones I can see. Read that layer and tell me which measures give attendances, the share seen within the target time, long waits and admissions, and which breakdowns it has (region, site or trust, department type, month), then wait for me to confirm.

Make one board with:
- a metric switcher that every chart follows, and KPI cards with a monthly mini line
- a bar chart where a click opens a menu: keep only this value, drill into it by the next level or another breakdown, or cancel
- a monthly trend, two breakdown charts and a table of sites with trend sparklines
- a filter bar with Apply and Clear all
- a capacity scenario panel: sliders for a few levers, the effect on the target from the current selection as baseline, and a draft, submit and approve trail kept in the browser and labelled as such
- Export to Excel of the current selection

Use only the layer's governed measures, and follow the Build a Data App guide.

Build on my data and my semantic layer. For how the original was built, read its source code: https://github.com/astrato-io/astrato-data-app-playbook/tree/main/examples/nhs-ae-performance

What it shows Astrato can do

The data in this demo is made up for it. Connect your own semantic layer to run the same Data App on real figures.