Skip to content

Data app to provide analytics for myfitnesspal users: a calorie counter and food journal

Notifications You must be signed in to change notification settings

ismailmo1/mfp-wrapped

Repository files navigation

Ismail's LinkedIN

myfitnesspal WRAPPED

cards Visit the live website here and try it out for yourself!

Inspired by spotify's wrapped marketing campaign I wanted to create something similar to analyse my eating habits. Many people use myfitnesspal: a food diary app to track their meals and food intake - usually to help them achieve some fitness goal, however myfitnesspal's free tier provides limited capabilities to analyse this data in any meaningful way.

How it works

  1. Make your myfitnesspal diary public so the app can access your food diary.

  2. Enter your username and the date range in the sidebar and click 'Get Data'

enter details

  1. Wait while your diary data is gathered and analysed

diary scraping

Analysis and Plots

You can view how many days you logged food and your totals

total intake

Play around with the interactive treemap plot to discover which foods make up your calorie intake for each macronutrient i.e. what food is your largest source of carbohydrates, fats and protein?

screen-capture.mp4

Analyse adherence by viewing how well you have been sticking to your goal intake - you can measure by calories or grams for each macronutrient

adherence measure

View your favourite food items by which food items you logged most often in your diary.

most common foods