← All projects
Data Analytics

E-commerce Customer and Sales Analysis

An end-to-end analysis of customer, transaction, session and campaign data from an e-commerce business. I used Python to prepare and analyse the data, perform statistical tests and identify patterns in revenue, refunds, customer behaviour and conversion, then built an interactive Tableau dashboard to communicate the most relevant business insights.

  • Python
  • pandas
  • Statistical Analysis
  • Tableau

Project Overview

This project was developed as part of the Data Analyst Internship Program at Mayerfeld Consulting.

The objective was to analyse an e-commerce dataset containing customer, transaction, website session and marketing campaign information. The analysis focused on understanding the factors influencing revenue, refunds, customer behaviour and conversion.

Business Questions

The project explored questions such as:

  • Which product categories generate the most revenue?
  • What factors are associated with website conversion?
  • Are refunds concentrated around particular products or reasons?
  • How concentrated is revenue among the company’s customers?
  • Do website behaviour metrics relate to purchase value?
  • How effective are different marketing campaigns and acquisition channels?

Approach

I began by exploring the structure and quality of the datasets, identifying missing values, inconsistencies and the relationships between the different tables.

After preparing the data, I used Python to perform exploratory data analysis and statistical hypothesis testing. This allowed me to distinguish between patterns that appeared visually interesting and relationships that were statistically supported.

I then created an interactive Tableau dashboard presenting the most relevant results through revenue trends, geographical comparisons, category performance, refund analysis and customer behaviour metrics.

Key Insights

  1. Electronics lead revenue — and refunds. The top category also carried the highest refund value, though no single refund reason explained it.
  2. Engagement goes with conversion. Converted sessions spent noticeably more time on site than non-converted ones.
  3. Significant ≠ important. Pages viewed vs. purchase value was statistically significant but practically negligible — effect size matters more than the p-value.
  4. No dangerous dependence on a few customers. The top 10 spenders were only a small share of net revenue: a healthy, diversified base.

Outcome

The project strengthened my ability to manage an end-to-end analytical workflow, from data preparation and statistical analysis to dashboard development and insight communication.

It also reinforced the importance of connecting every visualisation and statistical result to a clear business question.

Tools

Python · pandas · Statistical Hypothesis Testing · Tableau · Data Visualisation · Data Storytelling