Damaged units by depot
Why ask this?
A distribution manager wants to see where damaged units are recorded before deciding which depot to inspect.
Start with the sample data
Open source.csv. In the first row of source.csv, Depot = A, Damaged units = 2.
What to say
Show total damaged units by depot as a bar chart.
Processing time
- Recorded audio to chart ready
- 3.29 s
- Transcript to chart ready
- 1.09 s
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 3 rows. These records are the inputs to the next step.
- Aggregate · Sum Damaged units for each Depot
If a category appears more than once, its records contribute to one result. The first output row contains Depot = A, sum_Damaged units = 3.
- Charts · Draw the bar chart
Use Depot for the categories and sum_Damaged units for the plotted values.

The chart

| Depot | sum_Damaged units |
|---|---|
| A | 3 |
| B | 5 |
How to use the result
For Depot A, the sample reports total Damaged units of 3.
Synthetic test audio. Screenshots from the recorded workflow in n0is.