Skip to content

CrashLens analyzes traffic accident data through visualizations (histograms, pie charts, line plots, scatter plots) and DBSCAN clustering to identify accident hotspots. It includes data cleaning and supports datasets from various locations, with a focus on NYC crash data.

Notifications You must be signed in to change notification settings

tejakiransirivella/CrashLens-NYC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CrashLens-NYC

New York City traffic can be chaotic, and accidents are unfortunately a common occurrence. CrashLens provides a data-driven approach to understand these accidents, using powerful visualizations and clustering techniques to identify hotspots and uncover valuable insights.

🚀 Features

  • Data Cleaning : Handling missing values using imputation, dropping irrelevant columns
  • Visualizations : Histograms, Pie Charts, Line Plots, Scatter Plots
  • DBSCAN Clustering to Identify Accident Hotspots
  • Adaptable to Different Crash Datasets

🔧Installation

📋Prerequisites

Ensure you have the following installed on your system:

  • Python 3

⚙️Setting Up the Environment

  • Requirements : This requirements.txt file contains all the necessary Python dependencies for the project. Place any additional required dependencies here.

    Execute pip install -r requirements.txt to install all the required dependencies.

▶️Running the Project

Simply execute analysis.py {file_name.csv} to generate multiple visualizations of patterns in the data.

🔍Results

All the generated visualizations, including heatmaps, are saved in the results/ directory.

🎥 Demo

Watch the project in action! Check out the demo video:

CrashLens NYC Demo

Click the image or this link to watch the demo.

About

CrashLens analyzes traffic accident data through visualizations (histograms, pie charts, line plots, scatter plots) and DBSCAN clustering to identify accident hotspots. It includes data cleaning and supports datasets from various locations, with a focus on NYC crash data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages