Skip to content

Latest commit

 

History

History
298 lines (211 loc) · 8.4 KB

File metadata and controls

298 lines (211 loc) · 8.4 KB

🛒 Amazon Sales Analysis using Python

Python Pandas NumPy Matplotlib Seaborn Jupyter Notebook


📖 Project Overview

This project presents an end-to-end Amazon Sales Analysis using Python. The objective is to transform raw sales data into meaningful business insights through data cleaning, feature engineering, exploratory data analysis (EDA), and data visualization.

The analysis identifies revenue trends, profit performance, customer purchasing behavior, product performance, shipping efficiency, and regional sales patterns to support data-driven business decisions.


🎯 Business Problem

Amazon processes thousands of customer transactions across different products and regions. Without proper analysis, it becomes difficult to identify sales trends, profitable products, customer behavior, and regional performance.

This project answers important business questions such as:

  • Which products generate the highest revenue?
  • Which products generate the highest profit?
  • Which states and cities contribute the most revenue?
  • What are the seasonal sales trends?
  • How does shipping performance affect customer orders?
  • Which business strategies can improve revenue and profitability?

📂 Dataset

Attribute Value
Domain Retail / E-Commerce
Dataset Amazon Sales Dataset
Format CSV
Analysis Tool Python
Visualization Matplotlib & Seaborn

🛠️ Tech Stack

Tool Purpose
Python Data Analysis
Pandas Data Cleaning & Manipulation
NumPy Numerical Computing
Matplotlib Data Visualization
Seaborn Statistical Visualization
Jupyter Notebook Development Environment

⭐ Key Features

  • Data Cleaning
  • Data Quality Assessment
  • Missing Value Analysis
  • Duplicate Record Detection
  • Feature Engineering
  • Exploratory Data Analysis (EDA)
  • Revenue Analysis
  • Profit Analysis
  • Product Performance Analysis
  • Customer Behavior Analysis
  • Shipping Analysis
  • Regional Sales Analysis
  • Business Insights
  • Strategic Recommendations

🔄 Project Workflow

  1. Import Libraries
  2. Load Dataset
  3. Data Inspection
  4. Data Cleaning
  5. Data Quality Checks
  6. Feature Engineering
  7. Exploratory Data Analysis
  8. Data Visualization
  9. Business Insights
  10. Business Recommendations
  11. Executive Summary

📊 Exploratory Data Analysis

The project includes detailed analysis of:

  • Revenue Distribution
  • Profit Distribution
  • Quantity Distribution
  • Revenue by Category
  • Profit by Category
  • Shipping Speed Analysis
  • Monthly Revenue Trend
  • Yearly Revenue Trend
  • Revenue by Season
  • Weekday vs Weekend Sales
  • Sales Category Analysis
  • Profit Status Analysis
  • Profit Margin Distribution
  • Revenue vs Profit
  • Quantity vs Revenue
  • Top Revenue Products
  • Top Profit Products
  • Lowest Revenue Products
  • Customer Purchase Analysis
  • Average Revenue per Product
  • State-wise Revenue
  • State-wise Profit
  • City-wise Revenue
  • State-wise Orders

📈 Visualizations & Business Insights

🌍 Revenue by State

Revenue by State

Insight

California generated the highest revenue among all states, highlighting it as the strongest regional market. A few states contributed a significant share of total sales, while many states generated comparatively lower revenue.

Recommendation

Prioritize marketing campaigns, inventory planning, and customer retention initiatives in high-performing states while developing targeted growth strategies for underperforming regions.


📊 Revenue vs Profit Analysis

Revenue vs Profit

Insight

Revenue and profit show a positive relationship, indicating that higher sales generally lead to higher profitability. However, some high-revenue transactions delivered relatively lower profit, suggesting margin differences across products.

Recommendation

Focus on increasing sales of high-margin products and review pricing strategies for products with strong revenue but weaker profitability.


🏆 Top 10 Products by Profit

Top 10 Products by Profit

Insight

A small group of products generated a substantial portion of total profit. These products consistently outperformed others and played a major role in overall business profitability.

Recommendation

Maintain sufficient inventory, increase promotional efforts, and prioritize these high-profit products to maximize business returns.


📅 Monthly Sales Trend

Monthly Sales Trend

Insight

Monthly sales followed a clear seasonal pattern, with revenue increasing toward the end of the year. November and December recorded the strongest sales performance.

Recommendation

Prepare inventory, staffing, and marketing campaigns ahead of the peak shopping season to fully capitalize on increased customer demand.


💡 Executive Summary

  • Analyzed retail sales data using Python, Pandas, NumPy, Matplotlib, and Seaborn.
  • Performed data cleaning, preprocessing, and exploratory data analysis (EDA).
  • Identified California as the highest revenue-generating state.
  • Observed a strong positive relationship between revenue and profit.
  • Determined the top 10 most profitable products contributing significantly to overall profit.
  • Identified seasonal sales trends, with peak performance during November and December.
  • Generated business insights to support inventory optimization, marketing strategies, and revenue growth.
  • Delivered data-driven recommendations to improve profitability and support informed business decision-making.

💡 Executive Summary

Key Insights

  • Sales showed consistent year-over-year growth.
  • November and December recorded the highest revenue.
  • Most customers purchased between 2 and 6 products per order.
  • Medium Shipping was the most frequently used shipping option.
  • Chairs generated the highest revenue among product categories.
  • Copiers generated the highest overall profit.
  • Canon Camera products generated the highest revenue.
  • Canon imageCLASS Copier generated the highest profit.
  • California contributed the highest revenue, profit, and customer orders.
  • Los Angeles generated the highest city-level revenue.
  • Higher revenue generally correlated with higher profit.

📌 Business Recommendations

  • Increase inventory before seasonal demand peaks.
  • Focus marketing on high-performing products and categories.
  • Improve pricing strategies for low-profit products.
  • Strengthen customer retention programs.
  • Promote premium products with high average revenue.
  • Launch weekend promotional campaigns to improve weekend sales.
  • Optimize shipping performance to improve customer satisfaction.
  • Invest more resources in high-performing states and cities.

🐍 Python Skills Demonstrated

Libraries

  • Pandas
  • NumPy
  • Matplotlib
  • Seaborn

Skills

  • Data Cleaning
  • Data Validation
  • Missing Value Handling
  • Duplicate Detection
  • Feature Engineering
  • Exploratory Data Analysis (EDA)
  • Statistical Analysis
  • Data Aggregation
  • Data Visualization
  • Business Insight Generation

📂 Project Structure

Amazon-Sales-Analysis/

│
├── Dataset/
│
├── Images/
│
├── Notebook/
│
├── README.md
│
└── Requirment.txt

🚀 Future Improvements

  • Build an interactive Power BI dashboard.
  • Develop a sales forecasting model using Machine Learning.
  • Implement customer segmentation techniques.
  • Create an automated reporting pipeline.
  • Deploy the project as an interactive web application.

👨‍💻 Author

Jatin Patidar

Aspiring Data Analyst


⭐ Support

If you found this project useful, consider giving it a ⭐ on GitHub.

Feedback and suggestions are always welcome.