Where do drivers make the fewest follow-up visits?

Why ask this?

A depot manager planning driver onboarding wants to separate initial check-ins from subsequent arrivals at the same depot. Compare the share of arrivals that took place after onboarding.

Start with the sample data

Open source.csv. In the first row of source.csv, Depot = Hill, Driver = 0.

What to say

Show the bottom two depots by percentage of identified visits after the first visit per driver as a bar chart.

Processing time

Recorded audio to chart ready
4.22 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 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. Aggregate · Count populated values in Driver for each Depot, Driver

    If a category appears more than once, its records contribute to one result. The first output row contains Depot = Hill, Driver = 0, nonblank_Driver = 2.

  3. Aggregate · Sum nonblank_Driver, Count populated values in Driver for each Depot

    If a category appears more than once, its records contribute to one result. The first output row contains Depot = Hill, sum_nonblank_Driver = 3, nonblank_Driver = 2.

  4. Measure Filter · Keep the requested rows

    The filter uses sum_nonblank_Driver > 0 in keep mode. 3 rows remain including Hill.

  5. Math · Calculate Visits after the first (%)

    Apply 100 * ([sum_nonblank_Driver] - [nonblank_Driver]) / [sum_nonblank_Driver] to each input row. The first row yields 33.333333.

  6. Sort · Order the results

    Sort by Visits after the first (%) (ascending), then Depot (ascending). The first rows in order are Elm → Hill → Bay.

  7. Rank · Assign a rank

    The ordered rows receive positions starting at 1. Here, Elm is #1, Hill is #2, Bay is #3.

  8. Measure Filter · Keep the requested rows

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

  9. Column Renamer · Prepare the output columns

    Remove rank. The result exposes Depot, Visits after the first (%).

  10. Charts · Draw the bar chart

    Use Depot for the categories and Visits after the first (%) for the plotted values.

Native n0is canvas for Where do drivers make the fewest follow-up visits?

The chart

Workflow result in n0is
DepotVisits after the first (%)
Elm0
Hill33.333333

How to use the result

For Depot Elm, the sample reports Visits after the first (%) of 0.

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