A comprehensive data analytics system for analyzing supply chain delivery performance, agent efficiency, and operational insights using Python and interactive dashboards.
π Access Live Dashboard Here
Experience the interactive analytics dashboard deployed on Streamlit Cloud with real-time data filtering and comprehensive visualizations.
This project analyzes 43,739 delivery orders to provide actionable insights on:
- Delivery performance across vehicles, weather, and traffic conditions
- Agent performance and demographics
- Geographic distribution and time-based patterns
- Operational bottlenecks and optimization opportunities
- Delivery performance analysis
- Agent rating and demographics
- Weather and traffic impact assessment
- Geographic and temporal patterns
- High-quality PNG charts (300 DPI)
- Interactive dashboard
- Delivery time distributions
- Performance comparisons
- Heatmaps and trend analysis
- Real-time filtering (area, vehicle, weather, traffic)
- Dynamic KPI metrics
- Multiple analysis tabs
- Pre-generated visualizations gallery
- Professional green-themed UI
- Python 3.9+ - Primary programming language
- Pandas 2.1.0 - Data manipulation and analysis
- NumPy 1.25.0 - Numerical computations
- Matplotlib 3.7.2 - Static visualizations
- Seaborn 0.12.2 - Statistical data visualization
- Pillow 10.0.0 - Image processing for dashboard
- Streamlit 1.28.0 - Interactive web dashboard
- Streamlit Cloud - Dashboard deployment platform
- VS Code - Primary code editor
- Git & GitHub - Version control and collaboration
- Kaggle - Dataset source
- Dataset: Amazon Delivery Data
- Source: Kaggle
- Size: 43,739 delivery records
- Format: CSV with 16 features
supply-chain-analytics-dashboard/
β
βββ data/
β βββ raw/
β β βββ amazon_delivery.csv # Original dataset
β βββ processed/
β βββ cleaned_data.csv # Cleaned and processed data
β
βββ scripts/
β βββ explore_data.py # Data exploration
β βββ clean_data.py # Data cleaning pipeline
β βββ delivery_analytics.py # Delivery performance analysis
β βββ agent_analytics.py # Agent performance analysis
β βββ geographic_time_analytics.py # Geographic & time analysis
β β
β βββ visualizations/
β βββ delivery_visualizations.py # Delivery charts
β βββ agent_visualizations.py # Agent charts
β βββ geographic_time_visualizations.py # Geographic charts
β
βββ reports/
β βββ visualizations/
β βββ delivery_performance/ # 8 delivery charts
β βββ agent_performance/ # 7 agent charts
β βββ geographic_time_analysis/ # 8 geographic charts
β
βββ app.py # Streamlit dashboard
βββ requirements.txt # Python dependencies
βββ .gitignore # Git ignore rules
βββ README.md # Project documentation
- Python 3.9 or higher
- pip package manager
- Git
# Clone repository
git clone https://github.com/akxyverse/supply-chain-analytics-system.git
cd supply-chain-analytics-system
# Create virtual environment (optional but recommended)
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt1. Explore Data
python scripts/explore_data.py2. Clean Data
python scripts/clean_data.py3. Run Analytics
# Delivery performance analysis
python scripts/delivery_analytics.py
# Agent performance analysis
python scripts/agent_analytics.py
# Geographic and time analysis
python scripts/geographic_time_analytics.py4. Generate Visualizations
# Generate delivery charts
python scripts/visualizations/delivery_visualizations.py
# Generate agent charts
python scripts/visualizations/agent_visualizations.py
# Generate geographic charts
python scripts/visualizations/geographic_time_visualizations.py5. Launch Interactive Dashboard
streamlit run app.pyOpen browser to http://localhost:8501
Or visit the live deployed version: π https://supply-chain-analytics-system-5tlaustxwavffqjplsgutw.streamlit.app/
- Bicycle: Fastest for short distances (avg: 95 min)
- Van: Best for long-distance deliveries (avg: 130 min)
- Motorcycle: Balanced performance (avg: 120 min)
- Scooter: Urban efficiency (avg: 115 min)
- Sunny: Optimal conditions (avg: 110 min)
- Stormy: 35% increase in delivery time (avg: 150 min)
- Fog: 25% slower deliveries (avg: 140 min)
- Cloudy: Minimal impact (avg: 115 min)
- Low Traffic: 85 min average delivery
- Medium Traffic: 125 min average
- High Traffic: 145 min average
- Jam: 180+ min (60% slower than optimal)
- High-rated agents (β₯4.5): 15% faster deliveries
- Optimal age range: 26-35 years
- Rating strongly correlates with delivery efficiency
- Agent experience significantly impacts performance
- Peak Hours: 12 PM - 2 PM (highest order volume)
- Optimal Delivery Window: 6 AM - 8 AM
- Slowest Period: 8 PM - 10 PM
- Busiest Day: Monday
- 4 distinct service areas analyzed
- Urban areas: Higher order density, moderate delivery times
- Suburban areas: Lower density, faster deliveries
- Area-specific category preferences identified
- Real-time Filters: Area, vehicle type, weather, traffic
- KPI Cards: Total orders, avg delivery time, avg rating, coverage metrics
- Dynamic Charts: Automatically update based on filters
- Delivery Performance: Vehicle comparison, weather/traffic impact, time distribution
- Agent Analytics: Rating distribution, age demographics, performance correlation
- Geographic Analysis: Area distribution, category preferences, hourly patterns
- Visualizations Gallery: All 30+ pre-generated high-quality charts
- Professional green-themed interface
- Responsive design
- Clean, intuitive navigation
- Export-ready visualizations
- Data Collection: Kaggle dataset import
- Data Cleaning: Handle missing values, remove duplicates, standardize formats
- Feature Engineering: Create derived metrics (age groups, delivery categories)
- Analysis: Statistical analysis using Pandas
- Visualization: Generate insights using Matplotlib/Seaborn
- Dashboard: Interactive presentation via Streamlit
- Average delivery time
- Agent performance ratings
- Order fulfillment rates
- Geographic distribution
- Time-based patterns
- Weather/traffic correlations
This project is deployed on Streamlit Cloud for easy access and sharing.
Live Dashboard: https://supply-chain-analytics-system-5tlaustxwavffqjplsgutw.streamlit.app/
- Fork this repository
- Sign up at Streamlit Cloud
- Connect your GitHub repository
- Deploy with one click!
Akash Yadav
Let's connect! Open to:
- πΌ Project collaborations
- π‘ Data analytics discussions
- β Questions about this project
- π Job opportunities in data analytics
This project is licensed under the MIT License - see the LICENSE file for details.
- Kaggle for providing the comprehensive dataset
- Streamlit community for excellent documentation and hosting
- Python data science ecosystem
- Open-source contributors worldwide
For detailed documentation on:
- Data schema: See data exploration script
- Analytics methodology: Check individual analysis scripts
- Dashboard usage: Visit the live dashboard for interactive guide
- Visualization details: Review visualization scripts
Found a bug or have suggestions?
- Open an issue on GitHub
- Contact via email
- Submit a pull request
β If you find this project useful, please star the repository!
π Fork this project to create your own analytics system!
Last Updated: January 2026