Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashishsingh789/traffic_accident_analysis
Analyzed traffic accident data to identify patterns related to road conditions, weather, and time of day. Visualized accident hotspots using heatmaps and bar plots.
https://github.com/ashishsingh789/traffic_accident_analysis
excel matplotlib numpy pandas pandas-dataframe python seborn
Last synced: 5 days ago
JSON representation
Analyzed traffic accident data to identify patterns related to road conditions, weather, and time of day. Visualized accident hotspots using heatmaps and bar plots.
- Host: GitHub
- URL: https://github.com/ashishsingh789/traffic_accident_analysis
- Owner: AshishSingh789
- Created: 2024-10-01T17:52:20.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-01T18:09:18.000Z (about 2 months ago)
- Last Synced: 2024-10-19T12:04:29.737Z (about 1 month ago)
- Topics: excel, matplotlib, numpy, pandas, pandas-dataframe, python, seborn
- Language: Jupyter Notebook
- Homepage:
- Size: 673 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Traffic Accident Analysis
# Overview
This repository contains an analysis of traffic accident data, focusing on identifying patterns related to road conditions, weather, and time of day. The analysis aims to visualize accident hotspots and contributing factors.
# Task Description
The objective of this task was to analyze traffic accident data to uncover insights about accidents over the years and to visualize various factors influencing road safety.
# Key Visualizations
Heatmap of Accidents Across States/UTs By Months:
Visualized the distribution of accidents across different states and union territories over the months.
# Total Accidents Over the Years (2001-2014):
Created a line plot to show trends in total accidents over the years from 2001 to 2014.
# Night vs. Day Accidents:
Used seaborn bar plots to compare the number of accidents occurring during the night and day.
Total of Night and Day Accidents by State:Visualized the total number of accidents categorized by night and day for each state.
Comparison of Night and Day Accidents by State:# Presented a bar plot comparing night and day accidents across different states to highlight patterns in road safety.
# Libraries Used
Pandas
Matplotlib
Seaborn
NumPy# Conclusion
This analysis provides valuable insights into traffic accidents and can assist policymakers and researchers in enhancing road safety measures.# Glimps Of Data Analysis and Visualisation
![Total_Accidents_Over_Years](https://github.com/user-attachments/assets/c827e956-c067-4d6a-954f-3a810553188b)
![Total_of_Night_and_Day_Accidents_by_State](https://github.com/user-attachments/assets/91d90389-648c-4d7d-aebf-d624c785c76e)
![Accidents_States_Months_Heatmap](https://github.com/user-attachments/assets/fd0c8f43-888e-4440-a34f-70aabb45e701)
![Comparison_of_Night_and_Day_Accidents_by_State](https://github.com/user-attachments/assets/007cab3d-671a-450d-bc0a-3bbb42d40564)
![Night_vs_Day_Accidents](https://github.com/user-attachments/assets/8c8231fa-4cec-45a5-9f94-8779c2ed7947)
![Total Accidents By States](https://github.com/user-attachments/assets/c89df8f2-e7be-4101-893a-71437b880f04)