to your HTML Add class="sortable" to any table you'd like to make sortable Click on the headers to sort Thanks to many, many people for contributions and suggestions. Licenced as X11: http://www.kryogenix.org/code/browser/licence.html This basically means: do what you want with it. */ var stIsIE = /*@cc_on!@*/false; sorttable = { init: function() { // quit if this function has already been called if (arguments.callee.done) return; // flag this function so we don't do the same thing twice arguments.callee.done = true; // kill the timer if (_timer) clearInterval(_timer); if (!document.createElement || !document.getElementsByTagName) return; sorttable.DATE_RE = /^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/; forEach(document.getElementsByTagName('table'), function(table) { if (table.className.search(/\bsortable\b/) != -1) { sorttable.makeSortable(table); } }); }, makeSortable: function(table) { if (table.getElementsByTagName('thead').length == 0) { // table doesn't have a tHead. Since it should have, create one and // put the first table row in it. the = document.createElement('thead'); the.appendChild(table.rows[0]); table.insertBefore(the,table.firstChild); } // Safari doesn't support table.tHead, sigh if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0]; if (table.tHead.rows.length != 1) return; // can't cope with two header rows // Sorttable v1 put rows with a class of "sortbottom" at the bottom (as // "total" rows, for example). This is B&R, since what you're supposed // to do is put them in a tfoot. So, if there are sortbottom rows, // for backwards compatibility, move them to tfoot (creating it if needed). sortbottomrows = []; for (var i=0; i
Every now and again, we run into historic price data that we weren't expecting to find. When we do, we visualize it!
Today, we're exploring 150 years worth of the price of a bushel of wheat in the United States, first in a normal linear scale....
What do you know - it looks like a hockey stick!
Now, let's see what it looks like on a logarithmic scale, which takes exponential growth and makes it look like a straight line....
In this latter chart, we see that inflation we see that the price of a bushel of wheat generally ranged between $0.50 and $1.50 per bushel during the first 80 years for which we have data, from 1866 through 1945, with some notable exceptions, such as inflationary highs of $2.10-$2.14 during and immediately after World War I (1917-1919) and the low of $0.33 per bushel in 1931, marking the bottom for wheat prices during the Great Depression.
But after World War II ended in 1945, we see that wheat prices quickly rose to $2.00 per bushel, only dropping significantly below that threshold during the years from 1963 through 1972. After which wheat prices have stepped up in two main increments, the first in the years from 1973 to 2005 where wheat prices ranged between $2.25 and $4.59 per bushel, then again after 2005, when wheat prices have consistently ranged between $5.00 and $7.48 per bushel.
For 2015, we've estimated the average price of wheat to be approximately $5.28 per bushel, although this is based on the average prices of a bushel of wheat during each month of 2015. Since it doesn't reflect a weighted average however, as the USDA reports and which would better reflect the prices that people actually paid farmers for the wheat they grew in that year, it should be considered to be a preliminary estimate.
U.S. Department of Agriculture. National Agricultural Statistics Service. Northern Plains Regional Field Office. Kansas Wheat History. [PDF Document Internet Archive PDF Document]. Last Updated: October 2015. Accessed 7 May 2016.
Update 10 June 2020: We've noticed this post is getting quite a lot of traffic, where we've just found the link to the source for the data we've visualized is no longer working. Since the USDA has broken the link, here is a link to where you can find the Kansas Wheat History document we originally referenced at the Internet Archive: [PDF Document].
If you want to find potentially newer editions of the data, here's a filepath you might be able to use to track where the latest edition of the report might now be located.
The final link we've pointed to here will take you to the October 2019 edition of the report, which is the latest available at the time of this update, at least until the USDA's data jocks might restructure all their datapaths again!...
Labels: data visualization, food, inflation
Welcome to the blogosphere's toolchest! Here, unlike other blogs dedicated to analyzing current events, we create easy-to-use, simple tools to do the math related to them so you can get in on the action too! If you would like to learn more about these tools, or if you would like to contribute ideas to develop for this blog, please e-mail us at:
ironman at politicalcalculations
Thanks in advance!
Closing values for previous trading day.
This site is primarily powered by:
The tools on this site are built using JavaScript. If you would like to learn more, one of the best free resources on the web is available at W3Schools.com.