Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 08111f7

Browse files
2 parents 6c4eb0b + 81038c5 commit 08111f7

File tree

1 file changed

+52
-63
lines changed

1 file changed

+52
-63
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 52 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,52 @@
1-
# Formula 1 Data Analysis Dashboard
2-
3-
This project is an interactive dashboard built using Streamlit to visualize and analyze Formula 1 data. The dashboard provides insights into various aspects of Formula 1 races, including constructors' performance in qualifying, top drivers and constructors, fastest and slowest circuits, average pit stop times, and lap times visualization.
4-
5-
## Features
6-
7-
- **Constructors in Qualifying**: Visualize the number of front row qualifications and pole positions by team.
8-
- **Top Drivers and Constructors**: Display the top 25 drivers with the most wins and the top 20 constructors with the most wins.
9-
- **Fastest and Slowest Circuits**: Identify the fastest and slowest circuits based on average lap times.
10-
- **Average Pit Stop Time**: Analyze the average pit stop time over the years.
11-
- **Lap Times Visualization**: Explore lap times and driver positions by lap for a specific race.
12-
13-
## Installation
14-
15-
1. Clone the repository:
16-
```sh
17-
git clone https://github.com/yourusername/F1_Analysis.git
18-
cd F1_Analysis
19-
```
20-
21-
2. Install the required dependencies:
22-
```sh
23-
pip install -r requirements.txt
24-
```
25-
26-
3. Run the Streamlit app:
27-
```sh
28-
streamlit run app.py
29-
```
30-
31-
## Data
32-
33-
The data used in this project is sourced from various CSV files located in the [data](http://_vscodecontentref_/0) directory. The following datasets are used:
34-
35-
- [drivers.csv](http://_vscodecontentref_/1): Information about drivers.
36-
- [constructors.csv](http://_vscodecontentref_/2): Information about constructors.
37-
- [races.csv](http://_vscodecontentref_/3): Information about races.
38-
- [qualifying.csv](http://_vscodecontentref_/4): Qualifying results.
39-
- [lap_times.csv](http://_vscodecontentref_/5): Lap times for each race.
40-
- [pit_stops.csv](http://_vscodecontentref_/6): Pit stop data.
41-
- [circuits.csv](http://_vscodecontentref_/7): Information about circuits.
42-
- `results.csv`: Race results.
43-
44-
## Usage
45-
46-
1. Launch the Streamlit app by running the command mentioned in the installation section.
47-
2. Use the sidebar to navigate between different sections of the dashboard.
48-
3. Explore the visualizations and insights provided in each section.
49-
50-
## License
51-
52-
This project is licensed under the MIT License. See the [LICENSE](http://_vscodecontentref_/8) file for more details.
53-
54-
## Acknowledgements
55-
56-
- The data used in this project is sourced from [Ergast API](http://ergast.com/mrd/).
57-
- This project uses [Streamlit](https://streamlit.io/) for building the interactive dashboard.
58-
- Visualizations are created using [Plotly](https://plotly.com/).
59-
60-
## Contact
61-
62-
For any questions or feedback, please contact Aneesh Angane at [[email protected]].
63-
1+
# 🏎️ Formula 1 Data Analysis Dashboard
2+
3+
[![Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://f1analysis-apw4r9dgzqfwx8vxbpardu.streamlit.app)
4+
![Python](https://img.shields.io/badge/python-3.12+-blue.svg)
5+
![Pandas](https://img.shields.io/badge/pandas-2.0+-brightgreen.svg)
6+
7+
An interactive dashboard for analyzing Formula 1 historical data with driver/constructor performance metrics and race visualizations.
8+
9+
## ✨ Features
10+
- Driver/constructor performance analytics
11+
- Circuit speed comparisons
12+
- Interactive race telemetry
13+
- Pit stop efficiency analysis
14+
15+
## πŸ› οΈ Tech Stack
16+
- **Frontend**: Streamlit
17+
- **Data Processing**: Pandas, NumPy
18+
- **Visualization**: Plotly, Matplotlib, Seaborn
19+
20+
## πŸ“‚ Data Structure
21+
```text
22+
data/
23+
β”œβ”€β”€ drivers.csv
24+
β”œβ”€β”€ constructors.csv
25+
β”œβ”€β”€ races.csv
26+
β”œβ”€β”€ results.csv
27+
β”œβ”€β”€ qualifying.csv
28+
└── lap_times.csv
29+
```
30+
31+
## πŸš€ Quick Start
32+
```bash
33+
# Clone repo
34+
git clone https://github.com/yourusername/f1-dashboard.git
35+
cd f1-dashboard
36+
37+
# Install dependencies
38+
pip install -r requirements.txt
39+
40+
# Launch app
41+
streamlit run app.py
42+
```
43+
44+
## πŸ“Š Example Query
45+
```python
46+
# Get top 10 winning drivers
47+
winners = results[results['position'] == 1]
48+
top_drivers = winners['driverId'].value_counts().head(10)
49+
```
50+
51+
## πŸ“œ License
52+
MIT License - See [LICENSE](LICENSE) for details.

0 commit comments

Comments
Β (0)