This repository contains the source code for a web-based data visualization app for Formula 1 racing. It was developed as part of the Scientific Programming in Python (PHYS4038 UNUK) course for the academic year AUT1 22-23.
- Historical record of Formula 1 racing
- Races and Championships details
- Lap times comparison using charts
The following technologies and modules were utilized in the development of this app:
- Streamlit: A Python library for building web applications
- Plotly: A graphing library for creating interactive charts
- Requests: A Python library for making HTTP requests
The Formula 1 Data Visualizer app is deployed on Streamlit Cloud. You can access it using the following URL: https://formula1.streamlit.app
To run the Formula 1 Data Visualizer app locally, follow these steps:
- Clone the repository:
git clone https://github.com/hugo0024/Streamlit-Formula1-data-visualisation.git
- Install the required dependencies:
pip install -r requirements.txt
- Run the application:
streamlit run main.py
- Open your web browser and visit
http://localhost:8501
The code is organized as follows:
main.py
: The main file of the application.Races.py
: File containing code related to races.Championships.py
: File containing code related to championships.Circuits.py
: File containing code related to circuits.functions.py
: File to store utility functions.