Three lines with fewest rejects
Why ask this?
A quality lead wants to find lines with few rejected items and examine their practices alongside the volume each line processed.
Start with the sample data
Open source.csv. In the first row of source.csv, Line = Blue, Rejects = 6.
What to say
Create a bar chart of the bottom three lines by total rejects.
Processing time
- Recorded audio to chart ready
- 2.31 s
- Transcript to chart ready
- 0.38 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 5 rows. These records are the inputs to the next step.
- Aggregate · Sum Rejects for each Line
If a category appears more than once, its records contribute to one result. The first output row contains Line = Blue, sum_Rejects = 8.
- Sort · Order the results
Sort by sum_Rejects (ascending), then Line (ascending). The first rows in order are Gold → Red → Gray → Blue.
- Rank · Assign a rank
The ordered rows receive positions starting at 1. Here, Gold is #1, Red is #2, Gray is #3.
- Measure Filter · Keep the requested rows
The filter uses rank <= 3 in keep mode. 3 rows remain including Gold.
- Column Renamer · Prepare the output columns
Remove rank. The result exposes Line, sum_Rejects.
- Charts · Draw the bar chart
Use Line for the categories and sum_Rejects for the plotted values.

The chart

| Line | sum_Rejects |
|---|---|
| Gold | 1 |
| Red | 3 |
| Gray | 5 |
How to use the result
For Line Gold, the sample reports total Rejects of 1.
Synthetic test audio. Screenshots from the recorded workflow in n0is.