Which days accounted for the most miles?

Why ask this?

A fleet coordinator comparing daily vehicle use needs miles summed across all trips on each day before ranking the days.

Start with the sample data

Open source.csv. In the first row of source.csv, Day = Fri, Miles = 1.

What to say

Draw a bar chart of the top two days by total miles.

Processing time

Recorded audio to chart ready
2.25 s
Transcript to chart ready
0.33 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 · Sum Miles for each Day

    If a category appears more than once, its records contribute to one result. The first output row contains Day = Fri, sum_Miles = 7.

  3. Sort · Order the results

    Sort by sum_Miles (descending), then Day (ascending). The first rows in order are Fri → Tue → Mon.

  4. Rank · Assign a rank

    The ordered rows receive positions starting at 1. Here, Fri is #1, Tue is #2, Mon is #3.

  5. Measure Filter · Keep the requested rows

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

  6. Column Renamer · Prepare the output columns

    Remove rank. The result exposes Day, sum_Miles.

  7. Charts · Draw the bar chart

    Use Day for the categories and sum_Miles for the plotted values.

Native n0is canvas for Which days accounted for the most miles?

The chart

Workflow result in n0is
Daysum_Miles
Fri7
Tue4

How to use the result

For Day Fri, the sample reports total Miles of 7.

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