Which inspection duration should be compared?
Why ask this?
A plant manager planning inspection capacity can compare scheduled minutes or time actually spent. Choosing the actual duration measures how long inspections took on the floor.
Start with the sample data
Open source.csv. In the first row of source.csv, Plant = Oak, Planned inspection minutes = 20, Actual inspection minutes = 4.
What to say
Make a bar chart of the top two plants by median inspection minutes.
Processing time
- Recorded audio to chart ready
- 4.12 s
- Transcript to chart ready
- 0.65 ms
One local replay from recorded audio through transcription and native chart data preparation. Includes processing of the clarification and reply. Time waiting for a person to answer is excluded. Recording time and screen painting are excluded.
See the transcript in the composer

When n0is asks
Which inspection minutes column should I use for the ranking?
- Planned inspection minutes
- Actual inspection minutes
Actual inspection minutes.
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.
- Column Filter · columnfilter
The first output row contains Plant = Oak, Planned inspection minutes = 20, Actual inspection minutes = 4.
- Rank · Assign a rank
The ordered rows receive positions starting at 1. Here, Oak is #1, Oak is #4, Ash is #3.
- Aggregate · Take the minimum of Value position for each Plant
If a category appears more than once, its records contribute to one result. The first output row contains Plant = Oak, min_Value position = 1.
- Joiner · Attach the group summary
Match Plant to Plant in the other branch of the canvas. The first matched row contains Plant = Oak, Planned inspection minutes = 20, Actual inspection minutes = 4, Value position = 1, min_Value position = 1.
- Sort · Order the results
Sort by min_Value position (ascending), then Value position (ascending). The first rows in order are Oak → Oak → Elm → Ash.
- Constant · Set Stable order
Use the same value on each row so a stable rank preserves the sorted order.
- Rank · Assign a rank
The ordered rows receive positions starting at 1. Here, Oak is #1, Oak is #2, Elm is #3.
- Aggregate · Take the minimum of Position, Take the maximum of Position for each Plant
If a category appears more than once, its records contribute to one result. The first output row contains Plant = Oak, min_Position = 1, max_Position = 2.
- Joiner · Attach the group summary
Match Plant to Plant in the other branch of the canvas. The first matched row contains Plant = Oak, Planned inspection minutes = 20, Actual inspection minutes = 4, Value position = 1, min_Value position = 1, Stable order = 1, Position = 1, min_Position = 1, max_Position = 2.
- Math · Calculate Center distance squared
Apply (2 * [Position] - [min_Position] - [max_Position]) * (2 * [Position] - [min_Position] - [max_Position]) to each input row. The first row yields 1.
- Measure Filter · Keep the requested rows
The filter uses Center distance squared <= 1 in keep mode. 4 rows remain including Oak.
- Aggregate · Average Actual inspection minutes for each Plant
If a category appears more than once, its records contribute to one result. The first output row contains Plant = Oak, avg_Actual inspection minutes = 7.
- Column Renamer · Prepare the output columns
avg_Actual inspection minutes becomes median_Actual inspection minutes. The result exposes Plant, median_Actual inspection minutes.
- Sort · Order the results
Sort by median_Actual inspection minutes (descending), then Plant (ascending). The first rows in order are Ash → Oak → Elm.
- Rank · Assign a rank
The ordered rows receive positions starting at 1. Here, Ash is #1, Oak is #2, Elm is #3.
- Measure Filter · Keep the requested rows
The filter uses rank <= 2 in keep mode. 2 rows remain including Ash.
- Column Renamer · Prepare the output columns
Remove rank. The result exposes Plant, median_Actual inspection minutes.
- Charts · Draw the bar chart
Use Plant for the categories and median_Actual inspection minutes for the plotted values.

The chart

| Plant | median_Actual inspection minutes |
|---|---|
| Ash | 9 |
| Oak | 7 |
How to use the result
For Plant Ash, the sample reports median_Actual inspection minutes of 9.
Synthetic test audio. Screenshots from the recorded workflow in n0is.