
The G-G Diagram
The G-G diagram shows:- X-axis: Lateral acceleration (cornering forces)
- Y-axis: Longitudinal acceleration (braking and accelerating forces)
- Each point represents a moment in time during the lap
- The outer boundary shows the car’s performance limit
Load Session and Get Telemetry
Compare multiple drivers at Monaco Qualifying.Compute Accelerations
Calculate g-forces from telemetry data using smooth derivatives to reduce noise.The
smooth_derivative() function uses a low-noise differentiator algorithm that reduces noise in the acceleration calculations. Raw numerical derivatives amplify telemetry noise and create unrealistic spikes in the G-G diagram.Create a G-G Diagram
Plot acceleration data with performance envelope using convex hull.The performance envelope is computed using
scipy.spatial.ConvexHull, which finds the smallest convex polygon that contains all acceleration points. This polygon approximates the car’s performance limits in all directions of acceleration.Parameters
The native chart accepts adrivers list. The default is the top-3 drivers of the session classification:
Complete Example
The whole workflow above (smooth derivatives, angle normalization, convex hull) is wrapped in a single native function:smooth_derivative and compute_accelerations helpers live in tif1.charts._acceleration. The telemetry comparison chart shares these helpers.
Reading the Diagram
Key insights from a G-G diagram:- Top of envelope (positive Y): Maximum acceleration
- Bottom of envelope (negative Y): Maximum braking
- Left and right edges (X): Maximum cornering forces
- Corners of envelope: Braking or acceleration combined with cornering
- Wider envelope: More grip available
- Rounder envelope: Better balanced car
Comparing Drivers
Look for:- Envelope size: A larger envelope shows more grip in use
- Envelope shape: Asymmetry shows car balance issues
- Point density: Where drivers spend most time
- Peak values: Maximum g-forces achieved
Track Characteristics
Different tracks produce different shapes. On the 2024 qualifying laps of VER, LEC, and NOR:- Monza: The largest braking values (about -5 g), from braking at high speed
- Silverstone: The highest sustained lateral values (95th percentile about 5 g), from high-speed corners
- Monaco: An envelope of similar size, although the average speed is about 90 km/h lower than at Monza