Skip to content

DNSdecoded/network-traffic-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š Internet Usage Analysis

This project analyzes internet usage data from an ISP log file (isp.csv) to uncover session behavior, peak usage times, daily/hourly trends, anomalies, and more. It includes data preprocessing, insightful analytics, and visualizations.


πŸ“ Dataset

Input File: isp.csv

Each row in the dataset contains:

  • MAC Id: Device identifier
  • Login Time: Session start time
  • Session Time: Duration of the session (HH:MM:SS)
  • Download: Data downloaded in MB
  • Upload: Data uploaded in MB

πŸ§ͺ Objectives

  • Load and clean the dataset
  • Engineer useful time-based features
  • Analyze total download/upload, sessions, and durations
  • Identify top usage days and active hours
  • Compare weekday vs weekend usage
  • Detect anomalies (long sessions, rapid relogins, high data usage)
  • Visualize trends and insights
  • Generate a summary report

πŸ“Š Key Insights Extracted

  • πŸ“¦ Total Download: ~935 GB
  • πŸš€ Total Upload: ~68 GB
  • πŸ“ˆ Total Sessions: 1163
  • πŸ•’ Average Session Duration: ~29.27 minutes
  • πŸ’‘ Peak Download Day: 2025-06-17 (~102.78 GB)
  • πŸ”Ό Upload/Download Ratio: ~0.07
  • ⏱ Longest Session: 61.48 minutes
  • ⚑ Shortest Session: 0 minutes (rapid relogin)

πŸ“Š Visualizations

  • πŸ“… Line plot: Daily download/upload trends
  • πŸ“Š Bar chart: Top 5 usage days
  • 🧊 Heatmap: Hourly login distribution by weekday
  • πŸ“‰ Histogram: Session time distribution
  • πŸ₯§ Pie chart: Upload vs Download share
  • πŸ“ˆ Cumulative usage plot: Over time
  • πŸ“† Daily session duration: Trend over the month

🧰 Tools Used

  • pandas – data processing
  • matplotlib / seaborn – data visualization
  • numpy – numerical computations
  • jupyter notebook – analysis interface

πŸ“¦ How to Use

  1. Clone the repository
    git clone https://github.com/your-username/internet-usage-analysis.git
    cd internet-usage-analysis

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published