Skip to content

Exploratory data analysis on electronic shop sales for 1 whole year

Notifications You must be signed in to change notification settings

teguharia172/Electronic-Sales-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Electronic-Sales-Analysis

Exploratory data analysis on electronic shop sales for 1 whole year

Background Information:

Sales analysis is examining sales reports to see what goods and services have and have not sold well. The analysis is used to determine how to stock inventory, how to measure the effectiveness of a sales force, how to set manufacturing capacity and to see how the company is performing against its goals.

In this repo we're doing sales analysis on the electronic shop for one entire year using python pandas, matplotlib, and seaborn to analyze and answer business question. the data contains hundred of thousands of electronic store purchase with this variable :

image

Workflow :

  • Data cleaning :

    • Dropping Null values from the data frame
    • Dropping rows based on condition
    • Changing the types of columns (astype, to_datetime, etc)
  • Data Preparation :

    • Feature Engineering (adding columns to the table to get a better analysis)
  • Analyze based on business questions

Business questions :

  • what was the best month for sales ? and how much was earned that month
  • what city has the best total sales ?
  • when is the best time to display an advertisement
  • what product sold the most

Conclusion / Summary :

  • December is the best month of sales this might be affected due to Christmas holliday, the total sales of december itself is 4.6 million $

  • San Francisco California is the city with the highest number of sales with total sales more than 8 million $

  • There 2 best period to display advertisements the morning period and evening period

    • for morning period the best time to display advertisements is during 9am - 12 pm
    • for evening period the best time to display advertisements is during 5pm - 7pm
  • Triple AAA battery has the highest number of product sold while LG Dryer and LG Washing Machine has the lowest number of product sold

    • We also conclude that :
        1. Product with lower prices has more quantity ordered compared with product with high prices
        1. Personal electornic product (phone / laptop ) with higher prices tend to sell better compared to house appliance electronic

Click to see the full analysis


Analysis

What was the best month for sales and how much was earned that month

image

Based on the graph above we can clearly see that the best month of sales happened during December, this dataset is US dataset and the biggest US holiday happened during December (Chirstmas) so that might why sales in december is skyrocketing. The total sales during that month is somewhere around 4.6 million $

What City Has the Best Total Sales

image

From our analysis we findout that San Francisco has the highest number of sales with more than 8 million $ total sales while Portland Maine has the lowest total sales and becoming the only city with less than 1 million $ total of sales. This might be affected with number of population is various different city, and San Francisco widely known as the tech mecca of the world might have a factor in high total sales in that city

when is the best time to display an advertisement

image

We conclude there are 2 best period to display advertisement Morning Period and Evening Period

  • morning period

    • the best time to display advertisement is during 9am - 12pm because of the number of transaction is steadily going up during that period
  • Evening Period

    • During evening period the best time to display advertisements is during 5pm to 7pm
  • Note :

    • Any advertisement after 7pm is not recommended because of the number of transactions is steadily going down

What product that sold the most

image

We are comparing the the number of quantity sold with the price of the each product, the green line show the average price of each product while the bars show the quantity sold for each product.

From our data we conclude that :

  1. product with lower prices has more quantity ordered compared with product with high prices
  2. personal electornic product (phone / laptop ) with higher prices tend to sell better compared to house appliance electronic

About

Exploratory data analysis on electronic shop sales for 1 whole year

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published