A structured Formula 1 analytics database designed to store, analyze, and visualize race, driver, team, and performance data. This project is ideal for SQL practice, analytics dashboards, and Backend integration, python, streamlit. Season-wise performance dashboards built using MySQL + Python + Streamlit
f1-analytics/
β
βββ database/
β βββ schema.sql # Tables, indexes, views
β βββ seed.sql # Sample data inserts
β βββ queries.sql # Analytics queries
β
βββ README.md
βββ .gitignore
- Teams & Drivers β championships, wins, podiums
- Races & Circuits β season-based race tracking
- Lap Times β per-lap performance analysis
- Pit Stops β tyre compound & duration insights
- Tyre Stints β strategy-level data
- Qualifying Results β Q1/Q2/Q3 performance
- Views for driver & team standings
- Designing a relational database using MySQL
- Writing analytical SQL queries with joins and aggregations
- Connecting MySQL with Python
- Performing data analysis using Pandas
- Visualizing data with Matplotlib
- Building an interactive dashboard using Streamlit
- Driver standings by total points
- Team championship standings
- Fastest laps per driver
- Average pit stop duration
- Tyre compound usage trends
- Season-wise performance dashboards
-
Create the database and schema
source database/schema.sql;
-
Insert sample data
source database/seed.sql;
-
Run analytics queries
source database/queries.sql;
-
Connect database with Python
python/db_connect.py -
Run the dashboard
python/dashboard.py
- Database: MySQL
- Database connectivity: python, streamlit
- Design: Relational schema (3NF)
- Use Cases: SQL analytics, dashboards, backend APIs
- Add season-wise points calculation
- Integrate with Django REST API
- Power BI / Tableau dashboards
- Real-time race data ingestion
- Advanced SQL (CTEs, window functions)
ANUROOP DASARI Aspiring backend & data-focused developer with an interest in real-world system design and analytics.
β If you like this project, consider starring the repo!
