Which hubs logged the most events?

Why ask this?

A coordinator investigating logging volume wants to start at the hubs recording the most events. Multiple entries with the same code each represent an event.

Start with the sample data

Open source.csv. In the first row of source.csv, Hub = South, Code = load.

What to say

Show the top two hubs by number of events as a bar chart, breaking ties alphabetically. Each row is an event.

Processing time

Recorded audio to chart ready
4.46 s
Transcript to chart ready
0.41 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 4 rows. These records are the inputs to the next step.

  2. Aggregate · Count rows for each Hub

    If a category appears more than once, its records contribute to one result. The first output row contains Hub = South, count_rows = 2.

  3. Sort · Order the results

    Sort by count_rows (descending), then Hub (ascending). The first rows in order are South → East → North.

  4. Rank · Assign a rank

    The ordered rows receive positions starting at 1. Here, South is #1, East is #2, North is #3.

  5. Measure Filter · Keep the requested rows

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

  6. Column Renamer · Prepare the output columns

    Remove rank. The result exposes Hub, count_rows.

  7. Charts · Draw the bar chart

    Use Hub for the categories and count_rows for the plotted values.

Native n0is canvas for Which hubs logged the most events?

The chart

Workflow result in n0is
Hubcount_rows
South2
East1

How to use the result

For Hub South, the sample reports count of rows of 2.

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