Skip to main content
Track speed maps show how speed varies around a circuit. Color-code the track by speed to identify fast straights, slow corners, and braking zones. Track speed map showing speed variations around the circuit

Loading the Session

Visualize the fastest lap from the 2023 Monaco Grand Prix qualifying session.

Getting Track Position and Telemetry

The telemetry includes X, Y coordinates for the car’s position and speed data.

Creating the Visualization

Use the matplotlib LineCollection to create a color-coded track map.

Adding Corner Markers

Enhance the visualization with corner numbers from the circuit info.

Parameters

The native chart accepts the shared filters and a few chart-specific options. The cmap parameter changes the color scale, and save_path writes the figure directly:
The default cmap='plasma' matches the chart above.

Complete Example

The whole workflow above is wrapped in a single native function:

Interpreting the Visualization

  • Hot colors (red/yellow): High-speed sections like straights
  • Cool colors (blue/purple): Low-speed corners and braking zones
  • Gradients: Show acceleration and deceleration patterns

Next Steps

Last modified on September 3, 2026