Soda: Click here to see the SAS code. Click here to see the example. Coffee: Click here to see the SAS code. Click here to see the example. Tea: Click here to see the SAS code. Click here to see the example. --------------------------------------------------------------- See my blog for more information about this graph! I'm a soda drinker ... And I've often wondered if different sodas have different amounts of caffeine. I recently came upon the following website, and it seemed to have all the info I'd need -- but it wasn't in a format that was very easy to allow me to quickly compare various sodas (it was just sortable tables). http://www.energyfiend.com/the-caffeine-database Therefore I copy-n-pasted the data into an Excel spreadsheet, imported the spreadsheet into SAS, and plotted it in a meaningful way :) --- First, I created a sorted plot of the 'most common' sodas. Then I follow that by a plot of all the sodas. (You can mouse over each bar to see the exact value.) And finally, a table (sorted by the amount of caffeine). You can use Ctrl+f in the browser to 'find' the text name of the drink you're looking for. Back to Samples Index