Skip to content

ProfASEM/car-sales-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš—๐Ÿ“Š Car Sales Analysis โ€” End-to-End Excel & Power BI Dashboard

____________________________________________________________________

A full Business Intelligence case study combining Excel preprocessing, data modeling, KPIs, and interactive dashboards.

๐Ÿ“Œ Project Overview

This project presents an analysis of global car sales data using a complete analytics workflow:

Excel โ†’ Data Cleaning & Preparation Power BI โ†’ Data Modeling, DAX, KPIs, Dashboards & Storytelling

The goal is to understand:

Sales distribution

Engine specifications & performance

Pricing behavior

Resale value retention

Regional market preferences

Manufacturer competitiveness

The project includes multi-page interactive dashboards for Asia, Europe, and the USA with a professional Dark Mode design.

๐ŸŽฏ Business Problem

Car dealerships, manufacturers, and distributors often face challenges such as:

Identifying top-performing models

Understanding price vs performance relationships

Discovering regional sales patterns

Evaluating resale value retention

Comparing engine efficiency vs demand

This analysis transforms raw car sales data into valuable insights that support pricing decisions, inventory planning, and marketing focus.

๐Ÿ“ Project Structure

Car-Sales-Analysis/
โ”‚
โ”œโ”€โ”€ data/
โ”‚ โ””โ”€โ”€ Car Sales Analysis.xlsx
โ”‚
โ”œโ”€โ”€ dashboards/
โ”‚ โ””โ”€โ”€ Car Sales Dashboard.pbix
โ”‚
โ”œโ”€โ”€ images/
โ”‚ โ”œโ”€โ”€ Dashboard Main.png
โ”‚ โ”œโ”€โ”€ Dashboard EU.png
โ”‚ โ”œโ”€โ”€ Dashboard Asia.png
โ”‚ โ”œโ”€โ”€ Dashboard USA.png
โ”‚ โ”œโ”€โ”€ line-chart.png
โ”‚ โ”œโ”€โ”€ bar-chart.png
โ”‚ โ””โ”€โ”€ scatter-plot.png
โ”‚
โ””โ”€โ”€ README.md

๐Ÿ“‘ Dataset Description

The dataset includes key automotive metrics:

Manufacturer โ€” Car brand

Model โ€” Model name

Unit Sales โ€” Number of units sold

Price โ€” Selling price

Resale Value โ€” Post-launch retained value

Retention % โ€” Resale Value รท Price

Engine Metrics โ€” Engine Size, Horsepower, Fuel Efficiency

Vehicle Type โ€” Passenger, Car, Truck, etc.

These fields help analyze performance, pricing, demand, and long-term value.

๐Ÿงน Data Cleaning & Preparation (Excel)

All preprocessing was performed inside Excel using:

โœ” Removal of duplicates
โœ” Fixing inconsistent manufacturer/model names
โœ” Standardizing numeric fields (Price, Engine Size, HP)
โœ” Converting date formats
โœ” Creating calculated fields:

-Retention % Category (High / Medium / Low)

-Total Units Sold

-Price Bands

โœ” Pivot tables for initial summaries
โœ” Filtering invalid or missing entries

This step simulates real-world workflows where analysts clean data before BI modeling.

๐Ÿ›  Power BI Data Modeling

The cleaned Excel file was imported into Power BI and the following steps were performed:

Creating relationships (if multiple tables)

Writing DAX measures:

-Total Revenue

-Average Price

-Retention %

-Units Sold

-Engine-Performance Score

-Creating summary tables

-Characterizing models by price tiers

-Adding region-based slicers

-Building multi-page narrative dashboards

๐Ÿ“ˆ Analysis & Visualizations

๐Ÿ”น 1. Main Dashboard (Global Overview)

Includes:

KPIs: Unit Sales, Revenue ($ Billions), Avg Price

Correlation Heatmap: Price โ†” Horsepower โ†” Engine Size

Retention Donut Chart: Distribution of resale value strength

Top Manufacturers: Global sales performance ranking

Model-Level Insights: Price bands, average HP

๐Ÿ”น 2. Regional Dashboards (Asia โ€” EU โ€” USA)

Each region includes:

Treemaps: Top 10 models by sales

Scatter Plots: Price vs Resale Value (bubble size = units sold)

Performance Trends: Area/ribbon charts

Engine Preference Analysis: HP & Engine Size distribution

๐Ÿ”น 3. Excel Exploratory Charts (Initial Analysis)

Line charts

Histograms

Sunburst charts

Scatter plots

These helped validate patterns before developing the BI model.

๐Ÿ” Key Insights

๐Ÿ“Œ 1. Strong correlation between car performance and pricing

Price increases consistently with engine size & horsepower (correlation = 0.85).

๐Ÿ“Œ 2. Asian manufacturers lead in value retention

Brands such as Toyota & Honda show high resale percentages compared to competitors.

๐Ÿ“Œ 3. Regional preferences vary significantly

-USA: High demand for high-horsepower trucks & SUVs

-Europe: Preference for compact luxury & fuel-efficient cars

-Asia: Balanced market with strong mid-range pricing

๐Ÿ“Œ 4. Some models generate high revenue despite lower unit sales

Due to premium pricing โ†’ valuable insight for pricing strategy.

๐Ÿง  Business Recommendations

โœ” Increase marketing and inventory for top-retention Asian models
โœ” Adjust pricing strategy for power-heavy vehicles in USA market
โœ” Expand hybrid/efficient models for EU market
โœ” Promote high-HP models in regions showing preference
โœ” Use retention analysis to optimize long-term pricing strategy

These insights help manufacturers refine strategy and dealerships optimize stocking.

๐Ÿ›  Tools Used

Microsoft Power BI

DAX

Data Modeling

Interactive Visualizations

Multi-page Dashboards

Microsoft Excel

Cleaning

Pivot Tables

Initial EDA

๐Ÿ“Œ Future Improvements

Add predictive modeling (Machine Learning) to forecast prices

Use Python (pandas, seaborn) to perform deeper statistical analysis

Automate report refresh via Power BI Servic

โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”


๐Ÿ‡ธ๐Ÿ‡ฆ๐Ÿ‡ฆ๐Ÿ‡ช ุชุญู„ูŠู„ ู…ุจูŠุนุงุช ุงู„ุณูŠุงุฑุงุช โ€” ู„ูˆุญุฉ ุจูŠุงู†ุงุช ุชูุงุนู„ูŠุฉ

ู…ุดุฑูˆุน ุชุญู„ูŠู„ูŠ ุดุงู…ู„ ู„ุจูŠุงู†ุงุช ู…ุจูŠุนุงุช ุงู„ุณูŠุงุฑุงุชุŒ ูŠู‡ุฏู ุฅู„ู‰ ูู‡ู… ุณู„ูˆูƒ ุงู„ุฃุณุนุงุฑุŒ ุฃุฏุงุก ุงู„ู…ูˆุฏูŠู„ุงุชุŒ ูˆู…ูˆุงุตูุงุช ุงู„ู…ุญุฑูƒุงุชุŒ ู…ุน ุงู„ุชุฑูƒูŠุฒ ุงู„ุขู† ุนู„ู‰ ู„ูˆุญุงุช ุงู„ู…ุนู„ูˆู…ุงุช ุงู„ุชูุงุนู„ูŠุฉ (Dashboards) ู„ุชู‚ุฏูŠู… ุฑุคู‰ ุฃุนู…ู‚.


๐Ÿ“Š ู†ุธุฑุฉ ุนุงู…ุฉ ุนู„ู‰ ุงู„ู…ุดุฑูˆุน

ูŠุนุชู…ุฏ ุงู„ู…ุดุฑูˆุน ุนู„ู‰ ุชุญู„ูŠู„ ุจูŠุงู†ุงุช ุงู„ุณูŠุงุฑุงุช ู„ุงุณุชุฎุฑุงุฌ ุงู„ุฃู†ู…ุงุท ูˆุงู„ุงุชุฌุงู‡ุงุช. ุชู… ุชุทูˆูŠุฑ ุงู„ุนู…ู„ ู„ูŠู†ุชู‚ู„ ู…ู† ุงู„ุชุญู„ูŠู„ ุงู„ุชู‚ู„ูŠุฏูŠ ุจุงุณุชุฎุฏุงู… Excel ุฅู„ู‰ ุจู†ุงุก ู‚ุตุต ุจูŠุงู†ูŠุฉ ุชูุงุนู„ูŠุฉ ุจุงุณุชุฎุฏุงู… Power BI.


๐Ÿ“ ู‡ูŠูƒู„ ุงู„ู…ุดุฑูˆุน

ุชู… ุฅุถุงูุฉ ู…ุฌู„ุฏ ุฎุงุต ุจู…ู„ูุงุช Power BI ูˆุตูˆุฑ ุงู„ู„ูˆุญุงุช ุงู„ุฌุฏูŠุฏุฉ ูƒู…ุง ู‡ูˆ ู…ูˆุถุญ ููŠ ุงู„ู‚ุณู… ุงู„ุฅู†ุฌู„ูŠุฒูŠ ุฃุนู„ุงู‡.


๐Ÿ“‘ ูˆุตู ุงู„ุจูŠุงู†ุงุช

ุชุดู…ู„ ุงู„ุจูŠุงู†ุงุช: ุงู„ุดุฑูƒุฉ ุงู„ู…ุตู†ุนุฉุŒ ุงู„ู…ูˆุฏูŠู„ุŒ ุงู„ู…ุจูŠุนุงุชุŒ ุงู„ุณุนุฑุŒ ู‚ูŠู…ุฉ ุฅุนุงุฏุฉ ุงู„ุจูŠุนุŒ ู†ุณุจุฉ ุงู„ุงุญุชูุงุธ ุจุงู„ู‚ูŠู…ุฉุŒ ูˆู…ูˆุงุตูุงุช ุงู„ู…ุญุฑูƒ (ุงู„ุญุฌู…ุŒ ุงู„ู‚ูˆุฉุŒ ุงู„ูƒูุงุกุฉ).


๐Ÿ“ˆ ุงู„ุชุญู„ูŠู„ ูˆุงู„ุฑุณูˆู… ุงู„ุจูŠุงู†ูŠุฉ

๐Ÿš€ 1. ู„ูˆุญุงุช Power BI (ุชุญุฏูŠุซ ุฌุฏูŠุฏ)

ุชู… ุชุตู…ูŠู… ุชู‚ุฑูŠุฑ ู…ุชุนุฏุฏ ุงู„ุตูุญุงุช ุจู†ุธุงู… ุงู„ูˆุถุน ุงู„ุฏุงูƒู† (Dark Mode):

๐Ÿ”น ุงู„ู„ูˆุญุฉ ุงู„ุฑุฆูŠุณูŠุฉ (Main Dashboard)

  • ู…ุคุดุฑุงุช ุงู„ุฃุฏุงุก (KPIs): ุฅุฌู…ุงู„ูŠ ุงู„ู…ุจูŠุนุงุช (ุจุงู„ู…ู„ูŠุงุฑ ุฏูˆู„ุงุฑ) ูˆุนุฏุฏ ุงู„ูˆุญุฏุงุช.
  • ุฎุฑูŠุทุฉ ุงู„ุงุฑุชุจุงุท (Correlation Heatmap): ุชูˆุถุญ ุงู„ุนู„ุงู‚ุฉ ุงู„ู‚ูˆูŠุฉ ุจูŠู† ุงู„ุณุนุฑุŒ ุงู„ู‚ูˆุฉ ุงู„ุญุตุงู†ูŠุฉุŒ ูˆุณุนุฉ ุงู„ู…ุญุฑูƒ.
  • ุชุญู„ูŠู„ ุงู„ู‚ูŠู…ุฉ: ุชูˆุฒูŠุน ู†ุณุจุฉ ุงู„ุงุญุชูุงุธ ุจุงู„ู‚ูŠู…ุฉ (Retention Value).

๐Ÿ”น ุงู„ู„ูˆุญุงุช ุงู„ุฅู‚ู„ูŠู…ูŠุฉ (ุขุณูŠุงุŒ ุฃูˆุฑูˆุจุงุŒ ุฃู…ุฑูŠูƒุง)

  • ุงู„ุฎุฑุงุฆุท ุงู„ุดุฌุฑูŠุฉ (Treemaps): ุชุนุฑุถ ุฃูุถู„ 10 ู…ูˆุฏูŠู„ุงุช ู…ุจูŠุนุงู‹ ููŠ ูƒู„ ู…ู†ุทู‚ุฉ.
  • ู…ุฎุทุทุงุช ุงู„ุชุดุชุช (Scatter Plots): ุนู„ุงู‚ุฉ ุงู„ุณุนุฑ ุจู‚ูŠู…ุฉ ุฅุนุงุฏุฉ ุงู„ุจูŠุน (ุญุฌู… ุงู„ุฏุงุฆุฑุฉ ูŠู…ุซู„ ุญุฌู… ุงู„ู…ุจูŠุนุงุช).
  • ุชูˆุฒูŠุน ุงู„ู…ุญุฑูƒุงุช: ุชุญู„ูŠู„ ุงู„ู…ุจูŠุนุงุช ุจู†ุงุกู‹ ุนู„ู‰ ุงู„ู‚ูˆุฉ ุงู„ุญุตุงู†ูŠุฉ ูˆุญุฌู… ุงู„ู…ุญุฑูƒ.


๐Ÿ“Š 2. ุฑุณูˆู… Excel (ุงู„ุชุญู„ูŠู„ ุงู„ุฃูˆู„ูŠ)

ุชู… ุงุณุชุฎุฏุงู… ุงู„ู…ุฎุทุทุงุช ุงู„ุฎุทูŠุฉุŒ ุงู„ุนู…ูˆุฏูŠุฉุŒ ูˆSunburst ู„ุงุณุชูƒุดุงู ุงู„ุจูŠุงู†ุงุช ู‚ุจู„ ู†ู‚ู„ู‡ุง ุฅู„ู‰ Power BI.


๐Ÿ” ุฃู‡ู… ุงู„ู†ุชุงุฆุฌ

  • ุงู„ุงุฑุชุจุงุท: ูˆุฌูˆุฏ ุนู„ุงู‚ุฉ ู‚ูˆูŠุฉ ุฌุฏุงู‹ (0.85) ุจูŠู† ุณุนุฑ ุงู„ุณูŠุงุฑุฉ ูˆู‚ูˆุชู‡ุง ุงู„ุญุตุงู†ูŠุฉ.
  • ุงู„ู‚ูŠู…ุฉ: ุงู„ุณูŠุงุฑุงุช ุงู„ุขุณูŠูˆูŠุฉ (ู…ุซู„ ุชูˆูŠูˆุชุง ูˆู‡ูˆู†ุฏุง) ุชุญุงูุธ ุนู„ู‰ ู‚ูŠู…ุฉ ุฅุนุงุฏุฉ ุจูŠุน ุฃุนู„ู‰ ู…ู‚ุงุฑู†ุฉ ุจุงู„ู…ู†ุงูุณูŠู†.
  • ุงู„ุชูุถูŠู„ุงุช ุงู„ุฅู‚ู„ูŠู…ูŠุฉ: ุงู„ุณูˆู‚ ุงู„ุฃู…ุฑูŠูƒูŠ ูŠู…ูŠู„ ู„ู„ุณูŠุงุฑุงุช ุฐุงุช ุงู„ู‚ูˆุฉ ุงู„ุญุตุงู†ูŠุฉ ุงู„ุนุงู„ูŠุฉุŒ ุจูŠู†ู…ุง ุงู„ุณูˆู‚ ุงู„ุฃูˆุฑูˆุจูŠ ูŠู…ูŠู„ ู„ู„ูƒูุงุกุฉ ูˆุงู„ูุฎุงู…ุฉ ุงู„ู…ุฏู…ุฌุฉ.

๐Ÿ›  ุงู„ุฃุฏูˆุงุช ุงู„ู…ุณุชุฎุฏู…ุฉ

  • Microsoft Power BI (ุชุตู…ูŠู… ุงู„ู„ูˆุญุงุชุŒ ู…ุนุงุฏู„ุงุช DAX).
  • Microsoft Excel (ุงู„ุฌุฏุงูˆู„ ุงู„ู…ุญูˆุฑูŠุฉ Pivot Tables).

๐Ÿ“Œ ุชุทูˆูŠุฑุงุช ู…ุณุชู‚ุจู„ูŠุฉ

  • ุจู†ุงุก ู†ู…ูˆุฐุฌ ุชุนู„ู… ุขู„ุฉ (Machine Learning) ู„ุชูˆู‚ุน ุฃุณุนุงุฑ ุงู„ุณูŠุงุฑุงุช.
  • ุงุณุชุฎุฏุงู… Python ู„ุฅุฌุฑุงุก ุชุญู„ูŠู„ุงุช ุฅุญุตุงุฆูŠุฉ ู…ุชู‚ุฏู…ุฉ.

About

This is an Excel Sheets that provides an analysis of car sales from 2008 to 2012 and contains some visualizations

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors