Skip to main content
This tutorial walks through a complete race analysis workflow, from loading data to generating insights about race pace, strategy, and performance. Race position changes throughout the Abu Dhabi Grand Prix

Setup

1. Race Overview

Start with a high-level overview of the race.

2. Position Changes

Visualize how positions changed throughout the race.

3. Lap Time Analysis

Analyze lap time distributions and consistency. Box plot showing race pace distribution for top 5 finishers

4. Tire Strategy

Analyze tire strategy and stint lengths. Tire strategy visualization showing compound usage throughout the race

5. Stint Analysis

Analyze tire degradation within stints.

6. Gap to Leader

Calculate and visualize gap to race leader over time.

7. Pit Stop Analysis

Analyze pit stop timing and duration.

8. Race Pace Comparison

Compare race pace between drivers on same compound.

9. Generate Race Report

Create a comprehensive race summary.

Summary

This complete race analysis workflow covers:
  1. Race overview and basic statistics
  2. Position changes throughout the race
  3. Lap time analysis and consistency
  4. Tire strategy visualization
  5. Stint-by-stint degradation analysis
  6. Gap to leader tracking
  7. Pit stop analysis
  8. Race pace comparison
  9. Comprehensive race report
You can adapt these patterns to analyze any race in the tif1 database (2018-current).

Qualifying Analysis

Analyze qualifying

Weather Impact

Weather analysis

Core API

API reference

Examples

More examples
Last modified on March 6, 2026