Deployment can be found at 👉 https://airlines-flight-data-analysis.streamlit.app/
This project presents a professional Streamlit dashboard built for analyzing airline flights data. It provides interactive and insightful visualizations to uncover trends, understand flight pricing, and support strategic decisions in the airline industry.
The dataset contains records of flights including the following columns:
airline: Airline operating the flightflight: Flight numbersource_city: Origin citydeparture_time: Category of departure time (Morning, Evening, etc.)stops: Number of stops (Non-stop, 1 Stop, etc.)arrival_time: Category of arrival timedestination_city: Destination cityclass: Travel class (Economy/Business)duration: Total travel timedays_left: Days left for the flight from the booking dateprice: Ticket price in local currency
- ✅ General data overview: record count, airline count, and city count
- 📈 Airline vs Average Price bar chart
- 🕒 Duration vs Price line chart
- ⏱️ Departure Time Category vs Average Price bar chart
- 🛫 Source and Destination vs Price box plots
- 🧠 Correlation Heatmap
- 🎯 Fully interactive filters
- Python 3.8+
- Streamlit
- Pandas
- Matplotlib
- Seaborn
git clone https://github.com/yourusername/airlines-flights-dashboard.git
cd airlines-flights-dashboardCreate a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`Install the dependencies:
pip install -r requirements.txtstreamlit run app.pyairlines-flights-dashboard/
│
├── dataset/
│ └── airlines_flights_data.csv # Dataset file
├── app.py # Streamlit app script
├── requirements.txt # Python dependencies
└── README.md # Project documentation
Save this as requirements.txt:
streamlit
pandas
matplotlib
seaborn
This project is licensed under the MIT License.
You are free to use, modify, and distribute this project with attribution.