
Loading the Session and Data
Analyze the fastest qualifying lap from the 2021 Spanish Grand Prix. Overlay the corner markers.Getting the Fastest Lap Telemetry
Select the fastest lap and retrieve its telemetry data with distance information.Loading Circuit Information
The circuit info contains corner locations, numbers, and other track-specific data.circuit_info.corners DataFrame includes:
Number: Corner numberLetter: Corner letter (for chicanes or complex sections)Distance: Distance from start line in metersAngle: Corner angleX,Y: Track coordinates
Creating the Annotated Plot
Plot the speed trace and add vertical lines at each corner location.Understanding the Visualization
The annotated speed trace reveals:- Corner entry speeds: Where the speed drops before each corner marker
- Minimum corner speeds: The lowest point near each corner number
- Corner exit acceleration: How quickly speed increases after each corner
- Straight-line performance: Speed plateaus between corners
Comparing Multiple Drivers
The native speed traces chart overlays the fastest laps of several drivers on a shared distance axis:Complete Example
The whole workflow above is wrapped in a single native function:Next Steps
- Explore Speed Traces Comparison for multi-driver analysis
- Learn about Gear Shifts on Track for transmission analysis
- Examine Telemetry Comparison for detailed channel analysis