A total from a rate: speed times time
Travel at a steady 3 km per hour for 4 hours and you cover 3 × 4 = 12 km. That is the area of a rectangle under the speed.
When the speed changes, the total is still the area under the speed graph. That is the idea of accumulation: a total built up from a rate.
A total is the area under its rate.