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
Here at Political Calculations, we occasionally generate some really interesting charts and data as we work on other projects behind the scenes. With that in mind, we've tapped the U.S. Census' income data going back to 1947 showing the average income earned by individual men and women in the U.S., and also the combined average income for all individual Americans.
What makes the chart somewhat more interesting is that it captures the changing distribution of the U.S. work force by sex over the years, which we can see in the relative placement of the combined mean income line with respect to the lines for men and women.
Starting in 1947, we see that there were more than 2 men for every 1 woman in the work force at that time. That was changing rapidly however as the relative number of women in the U.S. workforce grew steadily until 1979, when women slightly outnumbered men in the U.S. work force for the first time.
And for that matter, every year since 1979 as well! Overall, the U.S. workforce has been very nearly equally balanced by sex since that time, with women peaking at 51.13% of the U.S. work force in 1988. In 2010, the percentage of women in the U.S. work force was 50.2%, just barely over half.
It's also interesting to note that since 1947, the annual average income earned by all individual women has nearly tripled, while the income for men has increased by a factor of 2.1. Meanwhile, the average income earned by all Americans has gone up by slightly less, doing just better than doubling in value during the time from 1947 to 2010.
That's largely due to the greatly increased number of women working today as compared to 1947, combined with their generally lower incomes. Although women's incomes have risen much more quickly than men, their greater numbers in the work force combine with their lower incomes overall to produce the result where average income in the U.S. has grown more slowly than it has for either men or women separately.
Labels: data visualization, income
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.