A friend and I were recently debating how much caffeine is in various drinks. I felt like my hands were tied behind my back, since I had no graphs to show them. Of course, the first thing I did when I got to work was create some caffeine graphs! They turned out pretty interesting, so I thought I'd share them with you...
I found a really informative website called caffeineinformer.com that provides detailed data on many different kinds of drinks. I downloaded the data for soda, tea, and coffee by copy-n-pasting them into Excel spreadsheets, and then using Proc Import to read the data into SAS datasets.
Each category still had a few too many drinks to quickly get a mental grasp on (typically 100+), so I took a two-stage approach -- first I plotted just the handful of drinks in each category that I recognized and/or might drink, and then I plotted the entire list. I'm including images of the small subset graphs below, and you can click them to see the graphs of all the drinks in each category:
I'm not usually a big fan of embellishing graphs with things like artwork or dancing bologna. But in this case I decided to add a simple image in each graph, to let help the user quickly distinguish between them (a glass of soda, a glass of ice tea, and a cup of coffee).
So, how did your favorite drinks fare in this comparison? Did they have more, or less, caffeine than you thought? (And what do you think about the images added to the graphs - do they help, or distract?)
8 Comments
Pingback: My top 10 graph blog posts of 2016! - SAS Learning Post
And caffeinated shampoo.
https://www.google.com/?gws_rd=ssl#q=caffeinated+shampoo&tbm=shop
What in tarnation ...
https://memegenerator.net/instance/54908415
Well, you can combine the two: caffeinated soap.
Oh my! :)
There's a category for 'Energy Drinks' on the site where I got the data:
http://www.caffeineinformer.com/the-caffeine-database
Great work! Very informative and an eye opener for sure.
Thanks! ... And for a second there, I thought I remembered an old coffee commercial where they called their coffee "the eye opener" - but then when I Googled it, I guess it was Coast Soap, rather than coffee! ;)