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 composer

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.
- 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.
- Sort · Order the results
Sort by sum_Miles (descending), then Day (ascending). The first rows in order are Fri → Tue → Mon.
- Rank · Assign a rank
The ordered rows receive positions starting at 1. Here, Fri is #1, Tue is #2, Mon is #3.
- Measure Filter · Keep the requested rows
The filter uses rank <= 2 in keep mode. 2 rows remain including Fri.
- Column Renamer · Prepare the output columns
Remove rank. The result exposes Day, sum_Miles.
- Charts · Draw the bar chart
Use Day for the categories and sum_Miles for the plotted values.

The chart

| Day | sum_Miles |
|---|---|
| Fri | 7 |
| Tue | 4 |
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.