Skip to main content
Track speed maps provide an intuitive way to visualize how speed varies around a circuit. By color-coding the track based on speed, you can instantly identify fast straights, slow corners, and braking zones. Track speed map showing speed variations around the circuit

Loading the session

We’ll 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

We’ll use matplotlib’s LineCollection to create a color-coded track map.

Adding corner markers

You can enhance the visualization by adding corner numbers from the circuit info.

Complete example

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 March 6, 2026