Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pharma sales forecasting dashboard

Overview

This project builds a drug store sales forecasting model to predict future pharmaceutical revenue trends using 3 years of historical sales data across 1,000+ stores. A linear regression model was trained on monthly aggregated sales to forecast the next 6 months of revenue.

Business Problem

Pharmaceutical companies and retail drug store networks need accurate sales forecasts to optimize inventory, plan staffing, and allocate marketing budgets. This project simulates the kind of commercial forecasting analysis consultants at firms like ZS Associates perform for pharma clients.

Key Findings

  • Clear seasonal sales patterns visible across all years — peaks in mid-year (July/August) and year-end
  • Sales show a gradual upward trend from 2013 to 2015
  • Forecast predicts stable revenue of ~193M per month for the next 6 months based on historical trend

Dataset

  • Source: Rossmann Drug Store Sales (Kaggle)
  • 1M+ rows of daily sales data across 1,000+ stores
  • Aggregated to monthly level for trend analysis

Methodology

  1. Loaded and cleaned raw sales data using Python/pandas
  2. Removed closed store days (Sales = 0)
  3. Aggregated daily sales to monthly totals
  4. Engineered time index feature for modeling
  5. Trained Linear Regression model on 31 months of data
  6. Forecasted next 6 months of sales
  7. Visualized actual vs forecasted sales in Tableau Public

Dashboard

Built in Tableau Public. Includes:

  • Line chart: actual vs forecasted sales trend
  • Bar chart: monthly sales breakdown by year

Click the link to view dashboard: https://public.tableau.com/views/Pharmasalesforecastingdashboard/Dashboard1?:language=en-US&:sid=&:redirect=auth&:display_count=n&:origin=viz_share_link

Tools Used

  • Python (pandas, matplotlib, scikit-learn)
  • Jupyter Notebook (VS Code)
  • Tableau Public
  • GitHub

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages