I made a simple web app to compare a driver’s results with his teammate which I wanted to share with the community. It started as a way to view qualifying H2H and getting stats such as mean/median (hence it being called f1teammatequali), but recently I added the option of comparing race data too.



You can see how well a driver did against their teammate: 

* over a season
* over all qualifying sessions/races they took part in as teammates
* against all his teammates over the years at a particular circuit



For qualifying, I compared times from sessions both drivers participated in. I.e. if driver A made it to Q3 and driver B got out in Q1, then their Q1 times were used.



There is also a fourth feature where you can see how far off a driver's best time is from the fastest driver for every quali session in a season, or how far away from P1 a driver finished in the race. I thought it would be interesting to see how the gap to the fastest changes over a year (like how Verstappen closed in on Mercedes in 2020).



For sessions marred by outliers or anomalies, you can deselect that entry, and the H2H, stats, and charts will update instantly.



I hope you like it! If you have ideas for any new features you think would be interesting to see, then lmk.



[https://www.f1teammatequali.com/](https://www.f1teammatequali.com/) 



Note:

The web app is reliant on data fetched from the Jolpica (formerly Ergast) API. Only data from the 1994 season onwards is available for qualifying. There is also a lot of qualifying data from the late 90s and early 2000s missing. There are no such problems with race results data. 



If a driver doesn't set a time in a qualifying session, the API often nulls the entry for that session. This means results like Norris v Piastri in Saudi 2025 was recorded as a Norris win because the program compared their Q2 times instead of Q3 (in which Norris crashed) where he was faster than Piastri. The result should’ve gone to Piastri as he kept his car in one piece and qualified ahead, but as far as the data is concerned, Norris didn't take part in Q3 as his Q3 entry was empty, which is why the script defaulted to comparing Q2 times. If you find other results that you know are incorrect, keep this reason in mind as for why. 

Voir le contenu lié