Skip to main content
Understanding how positions change during a race provides insights into race strategy, overtaking opportunities, and driver performance. This tutorial shows you how to create a position chart that tracks every driver’s position lap by lap. Race position changes visualization

Loading the Session

We’ll analyze the 2023 Bahrain Grand Prix, the season opener. For this visualization, we only need lap data, not telemetry or weather.

Creating the Visualization

The key is to plot each driver’s position against lap number. We’ll use driver-specific colors to make the chart readable.

Configuring the Plot

To make the chart intuitive, we invert the y-axis so position 1 is at the top, and add appropriate labels.

Interpreting the Results

From this visualization, you can identify:
  • Starting grid: Where each driver began the race
  • Overtakes: Sharp position changes indicate on-track passes
  • Pit stop windows: Drivers drop positions during pit stops, then recover
  • Race incidents: Sudden position losses may indicate crashes or mechanical issues
  • Consistent performers: Flat lines show drivers maintaining position
  • Strategic gains: Gradual position improvements often indicate better strategy

Advanced: Highlighting Specific Drivers

To focus on specific drivers, you can filter the data before plotting:

Conclusion

Position change charts are essential for race analysis. They reveal the story of the race at a glance, showing strategic decisions, on-track battles, and performance trends. Combined with tire strategy and pace analysis, they provide a complete picture of race dynamics.
Last modified on March 6, 2026