McDonald

McDonald's Menu Analysis

Python Pandas NumPy Seaborn Matplotlib Plotly Statsmodels Scikit-Learn Isolation Forest Linear Regression LightGBM

Project Overview

This project provides a comprehensive analysis of the McDonald's menu dataset to understand the nutritional composition, calorie distribution, and category-wise breakdown of food items. The aim is to offer insights into health factors and help identify high-calorie or high-sodium items that may influence consumer choices.

Key Insights

  • Nutritional Analysis:
    • Identified top calorie-contributing items across categories
    • Highlighted menu items with excessive sodium, fat, and sugar
    • Comparison of portion sizes and their effect on nutritional values
  • Category-Wise Breakdown:
    • Visualized nutritional variance in Beverages, Breakfast, Burgers, and Desserts
    • Revealed trends such as higher calorie density in burgers and sandwiches
    • Analyzed healthier alternatives within the same category
  • Consumer Health Awareness:
    • Focused on items exceeding recommended daily intake limits
    • Provided visuals for nutritional comparison between items
    • Offered data-backed suggestions for informed meal planning

Technical Implementation

The project uses Python-based data analysis and data visualization tools to uncover patterns in the McDonald's menu:

  • Performed data cleaning and normalization for consistent analysis
  • Created correlation heatmaps to observe relationships between nutrition metrics
  • Built bar plots, pie charts, and histograms to display key insights
  • Used grouping and aggregation to generate comparative statistics by category
  • Enhanced data storytelling through visual summaries

Technical Challenges Solved

While working on this project, several technical challenges were addressed:

  • Handling missing and inconsistent data in the menu entries
  • Managing unit standardization across columns (e.g., grams vs mg)
  • Balancing data density and readability in visual plots
  • Aligning category comparisons with nutritional thresholds
  • Automating the identification of extreme nutritional values

Results & Recommendations

Key outcomes and strategic takeaways from the analysis include:

  • Identified top high-risk menu items from a health perspective
  • Suggested modifications for portion control and ingredient balance
  • Proposed the addition of nutritional labels and digital filters in apps
  • Encouraged the use of custom meal planners for calorie-conscious users
  • Supported data-driven decisions for product redesign or promotion focus