Defects by reason · plain bars
Why ask this?
Before a quality meeting, the team wants a count by defect reason so it can choose which production issue to investigate first.
Start with the sample data
Open source.csv. In the first row of source.csv, Reason = Valve, Defects = 2.
What to say
Create a bar chart showing total defects by reason.
Processing time
- Recorded audio to chart ready
- 2.89 s
- Transcript to chart ready
- 1.03 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 4 rows. These records are the inputs to the next step.
- Aggregate · Sum Defects for each Reason
If a category appears more than once, its records contribute to one result. The first output row contains Reason = Valve, sum_Defects = 6.
- Charts · Draw the bar chart
Use Reason for the categories and sum_Defects for the plotted values.

The chart

| Reason | sum_Defects |
|---|---|
| Valve | 6 |
| Seal | 3 |
| Wire | 1 |
How to use the result
For Reason Valve, the sample reports total Defects of 6.
Synthetic test audio. Screenshots from the recorded workflow in n0is.