Which lines run furthest below their temperature target?

Why ask this?

A process engineer looking for persistent cold spots compares each line’s typical temperature deviation. Negative readings mean a line ran below target. A missing reading supplies no temperature, whereas a recorded zero means it hit the target.

Start with the sample data

Open source.csv. In the first row of source.csv, Line = A, Temperature deviation = -5.5.

What to say

Show the bottom two lines by median temperature deviation as a bar chart, breaking ties alphabetically.

Processing time

Recorded audio to chart ready
5.15 s
Transcript to chart ready
0.61 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 composerRecorded transcript entered in the native composer

How the canvas produces the result

  1. CSV Input · Read the sample records

    source.csv supplies 6 rows. These records are the inputs to the next step.

  2. Column Filter · columnfilter

    The first output row contains Line = A, Temperature deviation = -5.5.

  3. Rank · Assign a rank

    The ordered rows receive positions starting at 1. Here, A is #1, A is #2, B is #3.

  4. Aggregate · Take the minimum of Value position for each Line

    If a category appears more than once, its records contribute to one result. The first output row contains Line = A, min_Value position = 1.

  5. Joiner · Attach the group summary

    Match Line to Line in the other branch of the canvas. The first matched row contains Line = A, Temperature deviation = -5.5, Value position = 1, min_Value position = 1.

  6. Sort · Order the results

    Sort by min_Value position (ascending), then Value position (ascending). The first rows in order are A → A → B → B.

  7. Constant · Set Stable order

    Use the same value on each row so a stable rank preserves the sorted order.

  8. Rank · Assign a rank

    The ordered rows receive positions starting at 1. Here, A is #1, A is #2, B is #3.

  9. Aggregate · Take the minimum of Position, Take the maximum of Position for each Line

    If a category appears more than once, its records contribute to one result. The first output row contains Line = A, min_Position = 1, max_Position = 2.

  10. Joiner · Attach the group summary

    Match Line to Line in the other branch of the canvas. The first matched row contains Line = A, Temperature deviation = -5.5, Value position = 1, min_Value position = 1, Stable order = 1, Position = 1, min_Position = 1, max_Position = 2.

  11. 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.

  12. Measure Filter · Keep the requested rows

    The filter uses Center distance squared <= 1 in keep mode. 5 rows remain including A.

  13. Aggregate · Average Temperature deviation for each Line

    If a category appears more than once, its records contribute to one result. The first output row contains Line = A, avg_Temperature deviation = -3.5.

  14. Column Renamer · Prepare the output columns

    avg_Temperature deviation becomes median_Temperature deviation. The result exposes Line, median_Temperature deviation.

  15. Sort · Order the results

    Sort by median_Temperature deviation (ascending), then Line (ascending). The first rows in order are A → B → C.

  16. Rank · Assign a rank

    The ordered rows receive positions starting at 1. Here, A is #1, B is #2, C is #3.

  17. Measure Filter · Keep the requested rows

    The filter uses rank <= 2 in keep mode. 2 rows remain including A.

  18. Column Renamer · Prepare the output columns

    Remove rank. The result exposes Line, median_Temperature deviation.

  19. Charts · Draw the bar chart

    Use Line for the categories and median_Temperature deviation for the plotted values.

Native n0is canvas for Which lines run furthest below their temperature target?

The chart

Workflow result in n0is
Linemedian_Temperature deviation
A-3.5
B-0.5

How to use the result

For Line A, the sample reports median_Temperature deviation of -3.5.

Synthetic test audio. Screenshots from the recorded workflow in n0is.