F1 Race Volatility Analytics Dashboard
What It Does
F1Chaos replaces subjective “that was a crazy race” takes with a single, mathematically rigorous volatility score. It counts order inversions — how many driver pairs end up out of position relative to the grid — across every lap, then normalizes per driver to enable objective cross-race, cross-season comparison.
How It Works
Data Pipeline: FastF1 API → Python processing scripts → JSON metrics → Astro static build → Cloudflare Pages. No server, no database, no runtime API.
Core Algorithms: MergeSort inversion counter (O(n log n) total inversions), Fenwick Tree for per-lap tracking, pit-adjusted inversions to strip pit-cycle noise, SC-neutralized volatility (0.25× weight during safety cars), and DNF-aware movement calculation.
Decomposition: The v2 engine classifies every position change as on_track, pit_cycle, sc_vsc, or dnf — so you can see why a race was chaotic, not just that it was.
Key Features
- Volatility Score — normalized chaos metric that makes any two races comparable
- Overtake Classification — separates real overtakes from pit shuffles and safety car compression
- Driver Battle Index — pairwise tracking of position swaps and proximity
- No-SC Simulator — counterfactual: “what if there was no safety car?”
- Tyre Strategy Viz — lap-by-lap compound tracking with pit window overlays
- Cross-Season Comparisons — side-by-side charts spanning 2024, 2025, and 2026
/F1ChaosAnalyticsDashboard-HeroPage.png)
/F1ChaosAnalyticsDashboard-2025SeasonPage1.png)
/F1ChaosAnalyticsDashboard-2025SeasonPage2.png)
/F1ChaosAnalyticsDashboard-SeasonPage1.png)
/F1ChaosAnalyticsDashboard-SeasonPage2.png)
/F1ChaosAnalyticsDashboard-CompRacePage.png)
/F1ChaosAnalyticsDashboard-RacePageInversionCharts.png)
/F1ChaosAnalyticsDashboard-RacePageLapbyLapPosChart.png)
/F1ChaosAnalyticsDashboard-RacePageLapbyLapTyreChart.png)
/F1ChaosAnalyticsDashboard-RacePageSafetCarDataCharts.png)