Skip to content

letyrsl/bakery-sales-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿž Bakery Sales Analysis

This project analyzes and visualizes bakery sales data using Python's Pandas and Matplotlib libraries. The goal is to explore transaction patterns, revenue, and product performance based on the dataset.

๐Ÿ“Š Dataset

The dataset used for this analysis is from Kaggle. It contains information about transactions in a bakery, including the date and time of each transaction, the ticket number, the product sold, the quantity sold, and the unit price.

You can find it at the following link: https://www.kaggle.com/datasets/matthieugimbert/french-bakery-daily-sales.

โš™๏ธ Requirements

Make sure you have the following Python packages installed:

  • pandas
  • matplotlib

You can install the required packages using pip:

pip install pandas matplotlib

โ–ถ๏ธ How to Run

  1. Clone this repository to your local machine.
  2. Run the script:
python3 bakery_sales_analysis.py

๐Ÿ“ˆ Results

The script generates various plots, including:

  • Top products by revenue;
  • Sales quantity and revenue over time;
  • Sales frequency by hour and day;
  • Distribution of quantity sold and total price per transaction;
  • Distribution of unit prices;

You can find these plots in the graphs directory.

About

A comprehensive analysis and visualization of bakery sales data using Python, pandas, and matplotlib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages