📌 Project Introduction and Objective This project was developed as part of the Google Data Analytics Capstone and focuses on analyzing product demand in the retail sector.
📈 An interactive version is available on Tableau Public:[https://public.tableau.com/app/profile/domenico.monteleone/viz/Dashboard-retail-demand-forecast/Dashbordretaildemandforecast]
Objective: Analyze historical order data to identify trends, seasonality, and provide strategic insights for forecasting future demand.
The dataset is first loaded and cleaned. Here’s a summary of the key steps:
Renamed columns to lowercase and replaced spaces with underscores.
Converted order_demand to numeric, handling negative values.
Removed rows with missing values.
Created a month column to aggregate data.
This chart shows how total demand has evolved over time on a monthly basis.
Demand patterns are evaluated by month and year to identify recurring trends.
Applied a rolling average to smooth demand and help forecast future trends.
Filtered the top 5 products and visualized them with a line chart.
Color legend
🟥 Dark red = High demand
🟧 Orange = Medium demand
🟨 Light yellow = Low demand
Use the filters above the Warehouse and
Product Category columns to explore the data.
The Total column sums the annual demand for each
combination. Values are color-coded accordingly.
write.csv(df, "data/Historical_Product_Demand_Tableau.csv", row.names = FALSE)