Skip to main content
Track temperature has a large effect on F1 performance. It affects tire grip, degradation, and overall lap times. Visualize how track temperature evolves during a session. This shows the conditions drivers faced and their possible effect on strategy. Track temperature evolution during a race session

Loading the Session

Analyze track temperature changes during the 2023 Monaco Grand Prix race.

Getting Weather Data

Weather data is automatically included in the laps DataFrame. Each lap has associated weather information like track temperature, air temperature, humidity, and more.

Creating the Visualization

Plot track temperature against lap number to see how conditions evolved.

Understanding the Data

Track temperature patterns show the following:
  • Rising temperature: Often seen in afternoon sessions as the sun heats the track surface
  • Cooling trends: Can occur with cloud cover or as the sun sets
  • Stable conditions: Consistent temperature suggests predictable grip levels
  • Temperature spikes: May indicate changing weather or track conditions

Parameters

The native function accepts the shared filters. With no drivers, it automatically uses the driver with the most recorded laps. This is the logic shown above. Pass a list to draw one line per driver:
The session’s weather data must be available (it is included in the laps by default).

Complete Example

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

Adding Air Temperature

Compare track and air temperature to see the relationship between ambient conditions and track surface.

Next Steps

  • Explore other weather data like humidity and wind speed
  • Correlate temperature changes with lap time variations
  • Analyze how different compounds perform at various track temperatures
Last modified on September 3, 2026