- Overview
- Features
- Dataset
- Visualizations and Insights
- Technologies Used
- Usage
- Insights
- Contributing
- License
This project focuses on analyzing customer behavior and spending patterns using a comprehensive dataset. Through advanced data visualization and analysis techniques, we aim to uncover actionable insights to improve marketing strategies, optimize product targeting, and enhance customer engagement.
- Detailed Data Analysis: Analyze customer demographics, behavior, and spending patterns.
- Interactive Visualizations: Present insights through visually appealing and meaningful plots.
- Segmentation Analysis: Explore how attributes like age, education, marital status, and household size affect spending.
- Campaign Effectiveness: Examine campaign response rates and their correlation with spending.
The dataset contains the following features:
ID
: Unique customer identifierYear_Birth
: Year of birthEducation
: Education levelMarital_Status
: Marital statusIncome
: Yearly household incomeKidhome
: Number of childrenTeenhome
: Number of teenagersDt_Customer
: Enrollment dateRecency
: Days since last purchaseComplain
: Complaints in the last 2 years
MntWines
: Spending on wineMntFruits
: Spending on fruitsMntMeatProducts
: Spending on meatMntFishProducts
: Spending on fishMntSweetProducts
: Spending on sweetsMntGoldProds
: Spending on gold
NumDealsPurchases
: Number of purchases with discountsAcceptedCmp1
toAcceptedCmp5
: Campaign acceptance indicatorsResponse
: Acceptance of the most recent campaign
NumWebPurchases
: Purchases via the websiteNumCatalogPurchases
: Purchases through catalogsNumStorePurchases
: Purchases in-storeNumWebVisitsMonth
: Website visits in the last month
- Age Distribution: Analyzed age groups of customers to identify the dominant age range.
- Spending by Product: Highlighted spending trends across product categories.
- Campaign Effectiveness: Assessed campaign response rates and correlations.
- Website Visits vs Online Purchases: Explored the relationship between website visits and purchases.
- Income vs Total Spending: Examined how income correlates with overall spending.
- Spending by Household Size: Showed spending variations by household composition.
- Education and Spending: Analyzed spending behavior by education levels.
- Older customers spend significantly more, especially on wine and meat products.
- Single-person households have the highest spending across most categories.
- Recent campaigns have better response rates, indicating improved targeting.
- Spending on luxury items like wine and gold is correlated with higher income.
- Customers with complaints show lower spending, emphasizing the importance of customer satisfaction.
- Python: For data processing and visualization.
- Pandas: Data manipulation and analysis.
- Matplotlib: Plotting and visualization.
- Seaborn: Advanced statistical visualizations.
- NumPy: Numerical data handling.
- Use the
Consumer Personality Analysis.py
script to generate all visualizations. - The results and visualizations are saved in the
output/
directory for further use.
We welcome contributions to improve the analysis and add more features. To contribute:
- Fork the repository.
- Create a feature branch:
git checkout -b feature-name
- Commit your changes and push them:
git push origin feature-name
- Create a pull request.
This project is licensed under the MIT License. See the LICENSE
file for details.