Skincare-Sales

Project Overview

This project showcases an Exploratory Data Analysis (EDA) performed on a skincare sales dataset. The main goal was to uncover key insights into sales performance, profitability, customer behavior, and geographical market trends. By leveraging SQL queries, this analysis aims to identify strengths, weaknesses, and potential areas for strategic improvement within the business.


Dataset Description

The dataset, named Skin_Care Target.csv, contains transactional sales data. Here are the key columns:


Tools Used


General Metrics


Key Findings

  1. Subcategories in Home and Accessories and Hair care were consistently unprofitable.
    -- Drilling through sub-categories in Home and accesories and hair care category department
    SELECT
     st.subcategory,
     SUM(st.sales) AS revenue,
     SUM(st.profit) AS total_profit,
     SUM(st.qty) AS qty_sold,
     SUM(st.sales * st.discount_percent) AS total_discount_amount,
     SUM(st.profit) - SUM(st.sales * st.discount_percent) AS net_profit_after_discount
    FROM skincare_target AS st
    WHERE st.category = 'Home and Accessories' OR st.subcategory = 'Hair care'
    GROUP BY st.subcategory
    ORDER BY net_profit_after_discount;
    

    Subcategories

  2. Key geographic markets like Turkey, Nigeria, and Indonesia were operating at a significant loss due to unsustainable discounting.
    -- Least profitable countries
    SELECT 
    st.country, 
    SUM(st.sales) AS revenue, 
    SUM(st.profit) AS profit,
    SUM(st.qty) AS qty_sold,
    AVG(st.discount_percent) * 100 AS avg_discount_rate_percent,
    SUM(st.profit) - SUM(st.sales * st.discount_percent) AS net_profit_after_discount
    FROM skincare_target AS st
    GROUP BY st.country
    ORDER BY net_profit_after_discount
    LIMIT 10;
    

    Least Profitable Countries

Conclusion

The business’s failure was twofold: a sudden cessation of operations in the second half of 2024, preceded by a severe profitability crisis in the first half of the year. This crisis was driven by a collapsing customer base and a flawed, geographically inconsistent discounting strategy.


Recommendations

  1. Investigate the Operational Halt: The primary recommendation is to determine the cause of the sudden stop in sales after July 2024.
  2. Adjust Pricing Strategy: If operations were to resume, a complete overhaul of the pricing and discounting strategy would be necessary. This includes eliminating aggressive discounts on unprofitable products, especially in high-loss markets like Turkey and Indonesia.
  3. Rebuild Customer Base: A new strategy would be needed to attract and retain customers, as the business was losing a significant portion of its customer base even before the operational halt.

How to Replicate This Analysis

To run this analysis on your own:

  1. PostgreSQL Database: Ensure you have a PostgreSQL database set up.
  2. Load Data: Import your Skin_Care Target.csv dataset into a table named skincare_target in your PostgreSQL database.
  3. Execute Queries: Use a SQL client (like psql, DBeaver, PgAdmin, or VS Code with a PostgreSQL extension) to connect to your database. Then, execute the SQL queries provided in the Skincare_Sales_EDA.sql file.