Speed traces are one of the most intuitive ways to compare lap performance between drivers. By overlaying the speed profiles of two laps, you can instantly see where one driver is faster and identify braking points, acceleration zones, and top speeds.
Loading the session
We’ll compare the fastest qualifying laps from the 2023 Spanish Grand Prix between Verstappen and Hamilton.
Selecting the laps
Use the pick_drivers() and pick_fastest() methods to get each driver’s fastest lap.
Getting telemetry with distance
Telemetry data includes speed, throttle, brake, and more. The add_distance() method adds a cumulative distance column, making it easy to align laps for comparison.
Plotting with team colors
Use tif1.plotting.get_team_color() to automatically fetch the correct team colors for visual consistency.
Analyzing the traces
When examining speed traces, look for:
- Braking zones: Sharp drops in speed indicate braking points. Earlier or later braking can reveal different driving styles or car characteristics.
- Minimum corner speeds: The lowest point in each dip shows how much speed is carried through corners.
- Acceleration: The steepness of the speed increase after corners indicates traction and power delivery.
- Top speeds: Peak values on straights reveal engine power and drag levels.
Complete example
Next steps
- Explore other telemetry channels like throttle and brake in the Telemetry Deep Dive
- Learn about calculating time deltas between laps
- Analyze gear shifts and RPM data for transmission insights
Last modified on March 6, 2026