Skip to content

Exploratory Data Analysis (EDA) of 149,000+ sales transactions to identify revenue trends, peak operational hours, and location-based customer preferences using Python.

Notifications You must be signed in to change notification settings

flawiya/NYC-Coffee-Sales-Analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

NYC Coffee Shop Sales Analytics β˜•

Python Status License

Executive Summary: An analysis of sales patterns across three Maven Roasters locations in NYC (Astoria, Lower Manhattan, Hell's Kitchen). The project identifies key drivers of revenue, seasonal demand shifts, and opportunities for operational optimization.

🎯 Project Objectives

The goal of this analysis was to support strategic decision-making by:

  1. Cleaning & Processing raw transaction data (149k+ records).
  2. Identifying Sales Patterns by time of day, season, and product type.
  3. Comparing Location Performance to tailor marketing strategies.

πŸ›  Tools & Technologies

πŸ“Š Key Findings

1. Peak Operational Hours

  • Observation: Revenue peaks consistently between 7:00 AM and 10:00 AM across all product categories.
  • Business Insight: Staffing levels and inventory preparation (pre-brewing) must be maximized during this 3-hour window to reduce wait times and capture maximum revenue.

2. Location-Based Preferences

  • Astoria: Strong preference for Gourmet Brewed Coffee (>6,000 transactions).
  • Hell's Kitchen & Lower Manhattan: Higher demand for Barista Espresso.
  • Strategy: Marketing in Astoria should focus on "Single Origin/Gourmet" messaging, while the other locations should focus on "Artisan Espresso" quality.

3. Seasonal Trends

  • Winter: Shows the highest sales volume (likely due to cold weather driving hot drink demand).
  • Autumn Dip: A noticeable decline in sales during Autumn.
  • Recommendation: Launch aggressive promotional campaigns (e.g., "Pumpkin Spice" or loyalty boosters) in September/October to counteract the seasonal slump.

πŸ“ˆ Visualizations

(Note: Full visualizations can be found in the Jupyter Notebook)

  • Hourly Revenue Heatmap: Shows the concentration of sales in the morning commute.
  • Seasonal Sales Count: Highlights the winter surge and autumn dip.
  • Revenue by Location (Boxplot): Displays the variability of transaction sizes in Hell's Kitchen vs. the consistency in Lower Manhattan.

πŸ“‚ File Structure

β”œβ”€β”€ data/
β”‚   └── Coffee Shop Sales.csv   # Raw dataset (or link to source)
β”œβ”€β”€ notebooks/
β”‚   └── coffee_sales_eda.ipynb  # The main analysis code
β”œβ”€β”€ images/                     # Output graphs (Heatmaps, Boxplots)
└── README.md                   # Project documentation

About

Exploratory Data Analysis (EDA) of 149,000+ sales transactions to identify revenue trends, peak operational hours, and location-based customer preferences using Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published