Skip to content

An exploratory data analysis of US road accidents data using Python's data analysis and visualization libraries.

Notifications You must be signed in to change notification settings

mayuras7685/US_Accident_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

US Road Accidents Data Analysis

An exploratory data analysis of US road accidents data using Python's data analysis and visualization libraries.

Road Accidents

Table of Contents

Introduction

This project focuses on analyzing and visualizing the US road accidents dataset to gain insights into various aspects of accidents, such as their frequency, severity, time distribution, and geographic distribution. The analysis is performed using Python's data analysis and visualization libraries, including Pandas, Matplotlib, Seaborn, and Plotly.

Data Preparation and Cleaning

The dataset is loaded using Pandas and cleaned to handle missing and incorrect values. Exploratory analysis is performed to understand the data's structure and identify potential issues.

Exploratory Analysis and Visualization

The analysis includes:

  • Distribution of accidents by city, state, and timezone
  • Impact of weather conditions on accidents
  • Frequency of accidents by hour, day, month, and year
  • Severity of accidents and its impact on traffic
  • Geographic distribution of accidents using interactive maps

Insights

The analysis yields insights such as:

  • 50+ Insights
  • Most accident-prone cities and states
  • Trends in accidents over the years
  • Peak hours and days for accidents

Technologies Used

  • Python
  • Pandas
  • Matplotlib
  • Seaborn
  • Plotly
  • Jupyter Notebook

Getting Started

  1. Clone the repository:
git clone https://github.com/your-username/us-road-accidents-analysis.git
  1. Install the required packages using pip:
pip install -r requirements.txt
  1. Run the Jupyter Notebook for detailed analysis:
jupyter notebook Road_Accidents_Analysis.ipynb

Usage

Feel free to use the analysis and visualization code as a reference for your own projects or to gain insights from the US road accidents dataset.

About

An exploratory data analysis of US road accidents data using Python's data analysis and visualization libraries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published