Custom Cereal Selector

Rob
21 August 2016

What's for Breakfast?

Breakfast Cereals: Overwhelmed with Choices

The supermarket shelves are filled with cereal choices!

Some of the products are good for you, and some are really, really, really not-so-good!!

How is one to choose? plot of chunk unnamed-chunk-1

What's in the box?

  • U.S. law requires manufacturers to show the number of grams of carbohydrates (including sugar), fat, and protein in a single serving, as well as the number of calories.
  • We can compute the % of calories coming from each component.
  • In general, it's healthier to have less fat and less sugar in a serving, but life is about tradeoffs…

Set Your Limits

Here's what you see when you run the app: You set a maximum % of calories coming from fat and sugar

plot of chunk unnamed-chunk-2

Visualize the tradeoff

When you set your limits, this graph changes to show the remaining cereals:

plot of chunk unnamed-chunk-3