__STYLES__

Customer Data Segmentation Analysis (Excel + R + Power BI)

Tools used in this project
Customer Data Segmentation Analysis (Excel + R + Power BI)

About this project


Note that this is not an embedded interactive Power BI dashboard, which needs a Pro license and a Power BI account to see.


undefined

Dataset & Data Relabeling (Excel)

The customer dataset was obtained from Kaggle (download here). It has customer information organized into categorical variables: sex, marital status, occupation, education, and settlement size; and also numerical variables: customer ID, age, and income.

There was no need for data cleaning, I only transformed the original dataset using Excel by changing the categories' numerical legend to its respective descriptive legend:

undefinedClustering (R) & Analysis (Excel + Power BI)

Gower distance method from the “cluster” R package was used to build the matrix because data is a mix of numerical and categorical variables. Then, the dendrogram was built with Ward’s agglomeration, which showed seven distinguishable clusters. After that, Excel's pivot tables and Power BI were used to quickly analyze the seven clusters and explore/compare the male and female age group distribution and differences in age/income.

Check out the complete R script here, in one of my public Github repositories. You will also see the resulting dendrogram (original and colored).

Dashboard Design (Power BI)

A vertical orientation was used with a personalized dendrogram as the central element, dividing the visualization into male/female. Additionally, a special detail was added so that the dashboard can be filtered by clicking a male and/or female cluster.

Top Findings

  • The three main contributors to the segmentation were: sex, education, and marital status.
  • Marital status played a major role in the segmentation of male individuals, followed by education, but for female individuals, marital status had a lower effect than education.
  • Female customers are predominantly non-single (80.5%), whereas male customers are mainly single (76.3%).
  • Single or non-single male/female customers with a University/Graduate education have, on average, a higher income (M: $155.7K; F: $137.7K) and age (M: 57.6 years; F: 51.7 years).
  • Single male customers with a High school diploma have significantly higher incomes (Avg.: $129.7K) and age (Avg.: 41.0 years) than non-single males with the same education (Avg.: $113.9K / 29.1 years), whereas, in terms of age/income, marital status was not significant on female customers with High school education.

What's next?

To proceed with a customer behavior analysis and match those findings with these seven clusters. That way, products, promotions, and/or ads will have major relevancy, especially considering the customer population of non-single females and single males.

Additional project images

Cookie SettingsWe use cookies to enhance your experience, analyze site traffic and deliver personalized content. Read our Privacy Policy.