Python Project _2 (SUPERMARKET EXPENSE BREAK DOWN)
Anuj Upadhyay
Published
This Python project analyzes and visualizes supermarket product sales and profits using data handling and chart plotting with pandas, numpy, and matplotlib.
The Supermart Expense Breakdown project is a Python-based data analysis tool developed to evaluate and visualize the sales and profit performance of various products in a supermarket. It uses a structured list of categories that includes product names, their categories, prices, quantities sold, and profit margins. The program calculates the total sales and profit for each product, then displays the results in a neatly formatted tabular output. Additionally, it computes and prints the overall sales, profit, and their averages using NumPy arrays. To enhance data interpretation, it employs Matplotlib to generate three types of visualizations: a line plot for product-wise sales, a bar chart for product quantity comparison, and a pie chart to show the proportional distribution of sales versus profit. This project demonstrates practical use of Python for business analytics and visualization.