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.
-
Make your myfitnesspal diary public so the app can access your food diary.
-
Enter your username and the date range in the sidebar and click 'Get Data'
- Wait while your diary data is gathered and analysed
You can view how many days you logged food and your totals
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
View your favourite food items by which food items you logged most often in your diary.