playing around with charts

Refactored code for Yummly API