Skip to content

shrutimalap/customer_behavior_analysis

Repository files navigation

Customer Behavior Analysis

Data Analysis project using SQL, Python, and Power BI to analyze customer behavior, uncover purchasing trends, perform data cleaning, and build interactive dashboards for business insights.

Overview

This is an end-to-end Data Analytics project that analyzes customer behavior using Python, SQL, and Power BI. The project follows a complete analytics workflow, including data loading, cleaning, exploratory data analysis (EDA), SQL-based business analysis, dashboard creation, and reporting to generate actionable business insights.


Dataset

The dataset contains customer-related information such as purchasing behavior, demographics, and transaction details. It is used to identify patterns, analyze trends, and support data-driven business decisions.


Tools & Technologies

  • Python
    • Pandas
    • NumPy
    • Matplotlib
    • Seaborn
  • SQL
    • PostgreSQL / MySQL / SQL Server
  • Power BI
  • Jupyter Notebook
  • Microsoft Excel

Project Workflow

1. Data Loading

  • Imported the dataset into Python using Pandas.
  • Performed initial inspection of the data.

2. Data Cleaning

  • Removed duplicate records.
  • Handled missing values.
  • Corrected inconsistent data.
  • Standardized data formats.

3. Exploratory Data Analysis (EDA)

  • Analyzed customer demographics.
  • Identified purchasing patterns.
  • Explored sales trends.
  • Generated visualizations for key metrics.

4. SQL Analysis

  • Imported the cleaned dataset into SQL.
  • Wrote SQL queries to answer business questions.
  • Performed aggregations, joins, filtering, grouping, and ranking.
  • Extracted meaningful business insights.

5. Power BI Dashboard

  • Built an interactive dashboard.
  • Created KPI cards and charts.
  • Added filters and slicers for dynamic analysis.
  • Visualized customer and sales insights.

6. Reporting

  • Documented key findings and business recommendations.
  • Summarized insights in a professional report.

Dashboard

The interactive Power BI dashboard provides insights into customer behavior, purchasing trends, sales performance, and key business metrics.

Dashboard Preview

Sales Dashboard

Dashboard Features

  • Customer Overview
  • Sales Performance
  • Customer Segmentation
  • Purchasing Trends
  • Key Performance Indicators (KPIs)
  • Interactive Filters and Slicers

Key Results

  • Identified customer purchasing trends.
  • Discovered high-value customer segments.
  • Analyzed product and sales performance.
  • Generated actionable insights to support business decision-making.
  • Presented findings through an interactive dashboard and professional presentation.

Repository Structure

Customer-Behavior-Analysis/
│── Customer_Behavior_Analysis.ipynb
│── Customer_Behavior_Analysis.sql
│── Customer Behavior Analysis.pbix
│── customer_shopping_behavior.csv
│── sales_dashboard.png
│── README.md
└── LICENSE

How to Run

  1. Clone this repository.
git clone https://github.com/shrutimalap/Customer-Behavior-Analysis.git
  1. Install the required Python libraries.
pip install pandas numpy matplotlib seaborn
  1. Open the Jupyter Notebook and run the analysis.

  2. Execute the SQL script in PostgreSQL, MySQL, or SQL Server.

  3. Open the Power BI (.pbix) file to explore the interactive dashboard.


Skills Demonstrated

  • Data Cleaning
  • Exploratory Data Analysis (EDA)
  • SQL Query Writing
  • Data Visualization
  • Business Intelligence
  • Dashboard Development
  • Reporting
  • Data Storytelling

Author

Shruti Malap

Aspiring Data Analyst passionate about transforming raw data into meaningful insights using Python, SQL, Excel, and Power BI.


About

Data Analysis project using SQL, Python, and Power BI to analyze customer behavior, uncover purchasing trends, perform data cleaning, and build interactive dashboards for business insights.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages