Skip to content

Traffic pattern analysis using vehicle count data to identify peak hours, anomalies, and predict congestion for smart city planning.

Notifications You must be signed in to change notification settings

Aarohisingh09/Traffic-Pattern-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🚦 Traffic Pattern Analysis

πŸ“‹ Project Overview

This project analyzes vehicle traffic data collected hourly over 7 days to identify peak traffic periods, detect anomalies, and predict future congestion. Using visualizations like heatmaps, line plots, and bar charts along with linear regression modeling, it provides actionable insights for smart city traffic management and planning.

✨ Features

  • πŸ“ˆ Visualize average vehicle counts per hour across days
  • πŸ”₯ Heatmap showing traffic density by day and hour
  • ⚠️ Detect sudden traffic anomalies (spikes or drops)
  • πŸ€– Linear regression to predict traffic volume at different hours
  • πŸ“Š Trend analysis of daily average traffic patterns
  • 🚦 Identify top 3 peak traffic hours

πŸ“‚ Dataset

  • File: traffic_data_7days.csv
  • Columns:
    • Day (1 to 7) β€” Day of the week
    • Hour (0 to 23) β€” Hour of the day
    • Vehicle_Count β€” Number of vehicles recorded per hour

πŸ’» Dependencies

  • Python 3.x
  • pandas
  • matplotlib
  • seaborn
  • scikit-learn

🀝 About

Developed by Aarohi Singh
RISE Internship Program – Tamizhan Skills


This project aims to contribute towards smart and efficient city traffic management using data-driven analysis and machine learning.

About

Traffic pattern analysis using vehicle count data to identify peak hours, anomalies, and predict congestion for smart city planning.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published