An open API service indexing awesome lists of open source software.

https://github.com/nafisalawalidris/sales-analysis-report

This repository conducts a sales analysis for Company XYZ, exploring the reasons behind declining sales and suggesting strategies for improvement. Analyzing 12 months of data, it uncovers the best sales month, top-selling city, optimal advertisement timing, frequently sold together products, and the best-selling item.
https://github.com/nafisalawalidris/sales-analysis-report

12-months-of-data actionable-recommendations advertisement-timing best-sales-month best-selling-item declining-sales improvement-strategies product-combinations sales-analysis top-selling-city visualizations

Last synced: 8 days ago
JSON representation

This repository conducts a sales analysis for Company XYZ, exploring the reasons behind declining sales and suggesting strategies for improvement. Analyzing 12 months of data, it uncovers the best sales month, top-selling city, optimal advertisement timing, frequently sold together products, and the best-selling item.

Awesome Lists containing this project

README

          

Sales Analysis Repository

Project Overview



This repository contains the analysis of sales data for Company XYZ. The objective of the analysis is to understand the reasons behind the decline in sales performance and suggest strategies for improvement. The analysis is based on a dataset that includes 12 months of sales transactions.

File Structure




sales_analysis/
├── data/
│ ├── month_1.csv
│ ├── month_2.csv
│ ├── ...
│ └── month_12.csv
├── notebooks/
│ ├── data_preparation.ipynb
│ ├── sales_analysis.ipynb
│ └── ...
└── README.html

Data Preparation



To perform the analysis, the individual CSV files for each month were merged into a single DataFrame. The data was cleaned by dropping NaN values, removing rows with invalid quantities or prices and converting column data types. New columns were created to represent the month and city of each transaction.




# Merge data from each month into one DataFrame
all_data = pd.concat([df1, df2, ..., df12], ignore_index=True)

# Clean up the data
all_data.dropna(inplace=True)
all_data = all_data[all_data['Quantity Ordered'] != 'Quantity Ordered']
all_data['Quantity Ordered'] = pd.to_numeric(all_data['Quantity Ordered'])
all_data['Price Each'] = pd.to_numeric(all_data['Price Each'])
all_data['Order Date'] = pd.to_datetime(all_data['Order Date'])

# Create new columns
all_data['Month'] = all_data['Order Date'].dt.month
all_data['City'] = all_data['Purchase Address'].apply(get_city)

Analysis and Insights



The analysis aims to answer the following business-level questions:



  • What was the best month for sales? How much was earned that month?

  • What city sold the most products?

  • What time should we display advertisements to maximize the likelihood of customer's buying a product?

  • What products are most often sold together?

  • What product sold the most? Why do you think it sold the most?



To answer these questions, various techniques such as grouping, aggregation, and data visualization were employed. Bar graphs and line graphs were used to present the insights in an easily understandable manner.

Conclusion



Based on the analysis, recommendations can be made to improve sales performance. These may include targeted marketing campaigns in high-performing cities, optimizing the timing of advertisements, and bundling frequently sold together products. By implementing these strategies, Company XYZ can aim to increase its sales and overall business performance.