You Are What You Eat - an interactive visualization of food data

- 1 min

I have created a visual dashboard, which allows to explore daily food diaries. I wanted to try using some of the interactive capabilities of D3.js and Crossfilter. I have ended up leveraging the dc.js library, which integrates the two with good templates.

The data is scraped from 200 users of the MyFitnessPal app, who shared their food logs publicly. I used ontology of food to categorize each food item in its food group and to estimate the calories and macronutrients consumed.

While quite easy to use and visually appealing, using dc.js still required a bit of attention. Sure, my javascript skills are minimal, but there were a number of little details which required to dig into stackoverflow,etc. It’s a good tool to create and expose stable dashboards, but probably not great for quick prototyping of different metrics.

rss facebook twitter github youtube mail spotify lastfm instagram linkedin google google-plus pinterest orcid medium vimeo stackoverflow reddit quora