This project performs an in-depth Exploratory Data Analysis (EDA) on an accident survival dataset to identify key factors that influence survival outcomes in road accidents.
The main objective is to understand how variables like speed of impact, safety measures (helmet/seatbelt), age, and gender affect the likelihood of survival.
This analysis helps uncover data-driven insights that can support road safety awareness and decision-making.
- File:
accident.csv - Rows: 200
- Columns: 6
AgeGenderSpeed_of_ImpactHelmet_UsedSeatbelt_UsedSurvived(Target Variable: 1 = Yes, 0 = No)
- Python 🐍
- Pandas
- Matplotlib
- Seaborn
- Jupyter Notebook
- Loaded dataset using Pandas
- Checked dataset shape, structure, and data types
- Identified missing values in:
GenderSpeed_of_Impact
- Handled missing values:
- Filled
Genderwith"Unknown" - Imputed
Speed_of_Impactusing mean values
- Filled
- Converted
Survivedfrom numeric to categorical:Survived → Yes / No
Performed analysis using:
-
Value counts for categorical variables
-
Pie charts for:
- Survival distribution
- Seatbelt usage among survivors
- Helmet usage among survivors
-
Bar plots for:
- Survival count
-
Comparative analysis:
- Survivors vs Non-survivors
- Safety measures impact
-
Statistical summaries:
- Average age
- Average speed of impact
-
🚗 Speed Matters:
Higher speed of impact is associated with lower survival rates. -
🪖 Safety Measures Save Lives:
Helmet and seatbelt usage significantly improve survival chances. -
👥 Demographic Patterns:
Age and gender show noticeable differences in survival outcomes. -
📈 Survival Distribution:
The dataset shows a clear distinction between survivors and non-survivors. -
📊 Average Trends:
Survivors tend to have lower average impact speeds compared to non-survivors.
The project explores hypotheses such as:
- Whether speed of impact significantly affects survival
- The impact of helmet and seatbelt usage on survival rates
- Differences in survival across demographic groups
The notebook includes:
- Pie charts 📊
- Bar graphs 📈
- Count distributions 📉
These visualizations help in understanding relationships between safety measures and survival outcomes.
git clone https://github.com/Dev1822/Road-Accident-EDA
cd Road-Accident-EDA
pip install pandas matplotlib seaborn
Made By : https://github.com/Dev1822