This repository uses the FastF1 API and matplotlib to generate detailed analysis of F1 sessions.
I regularly post my analyses made with this project on my website. Check it out for more insights and updates!
The project is organized into Jupyter notebooks, each tailored to analyze different session types. The notebooks are located in the Notebooks
folder and follow this structure:
Notebooks/
preseason_analysis.ipynb
free_practice_analysis.ipynb
qualifying_analysis.ipynb
race_analysis.ipynb
Each notebook generates folders at the root of the notebooks
folder with the following structure:
Year/
Race_location/
Session_type/
_graphs_/
-
Clone this repository.
git clone https://github.com/Nelson-Jnrnd/F1_Telemetry_Charts.git cd F1_Telemetry_Charts
-
Install the required dependencies.
pip install -r requirements.txt
-
Navigate to the
notebooks
folder and open the desired notebook using Jupyter.jupyter notebook notebooks/preseason_analysis.ipynb
-
Run the cells in the notebook to generate the analysis, you can specify which year, race-weekend and drivers you want to analyze. The generated graphs and data will be saved in the corresponding folders as described above.
Here are some examples of the charts and analysis generated by this project:
Performance analysis between Alpine cars in the sector 3 of qualifying at Melbourne.
Time gain with virtual safety car by Alpine at the Miami GP 2024.
Performance analysis between team in the sector 1 of qualifying at Suzuka.