Compare clinics by total wait
Why ask this?
A clinic scheduler wants to find where patients collectively spent the most time waiting. Both visit volume and individual delays contribute to that workload.
Start with the sample data
Open source.csv. In the first row of source.csv, Clinic = East, Wait = 1.
What to say
Create a bar chart of the top two clinics by total wait.
Processing time
- Recorded audio to chart ready
- 2.38 s
- Transcript to chart ready
- 0.35 ms
One local replay from recorded audio through transcription and native chart data preparation. Recording time and screen painting are excluded.
See the transcript in the composer

How the canvas produces the result
- CSV Input · Read the sample records
source.csv supplies 4 rows. These records are the inputs to the next step.
- Aggregate · Sum Wait for each Clinic
If a category appears more than once, its records contribute to one result. The first output row contains Clinic = East, sum_Wait = 10.
- Sort · Order the results
Sort by sum_Wait (descending), then Clinic (ascending). The first rows in order are East → West → North.
- Rank · Assign a rank
The ordered rows receive positions starting at 1. Here, East is #1, West is #2, North is #3.
- Measure Filter · Keep the requested rows
The filter uses rank <= 2 in keep mode. 2 rows remain including East.
- Column Renamer · Prepare the output columns
Remove rank. The result exposes Clinic, sum_Wait.
- Charts · Draw the bar chart
Use Clinic for the categories and sum_Wait for the plotted values.

The chart

| Clinic | sum_Wait |
|---|---|
| East | 10 |
| West | 7 |
How to use the result
For Clinic East, the sample reports total Wait of 10.
Synthetic test audio. Screenshots from the recorded workflow in n0is.