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
You can blame Felix Salmon for this post on our site, since he inspired it by linking to this map of Europe's "alcohol belts", which depicts the predominant forms of alcohol consumed across the geography of Europe.
We wondered what other maps there might be related to alcohol consumption in Europe, and we found a really cool one that breaks down the death rates due to alcohol-related mortality by geographic regions within European nations. We found the map in Eurostat's 2009 report on Who Dies of What in Europe Before the Age of 65! This map shows the male death rate per 100,000 broken down by subnational regions within Europe.
One thing led to another, and we started wondering what a similar map would look like for the United States. Unfortunately though, that kind of map doesn't exist. So we decided to create it ourselves.
We extracted the original age-adjusted U.S. state alcohol-induced death data from the U.S. Centers for Disease Control's 17 April 2009 report Deaths: Final Data for 2006. We then calculated the approximate state by state data by applying the national percentage of male deaths due to alcohol-induces causes, which we determined from data found in Table 24, to the individual states, the data for which we found in Table 29 of the report.
Then we tweaked the data to account for the age-adjustment presented in the original report by multiplying our estimated death rate per 100,000 men by the percentage adjustment taken to get from the death rate for the entire population to the age-adjusted death rate. It's not a precise calculation, but should put us in the right age-adjusted ballpark.
We've posted all our data on ManyEyes, with direct access to the interactive version of our U.S. map also available on the site.
The U.S. map showing the death rate per 100,000 men for alcohol-induced causes of death for each of the United States does not include fatalities resulting from accidents, homicides, and other causes indirectly related to alcohol use, as well as newborn deaths associated with maternal alcohol use.
Comparing the two maps, we find that Europeans, especially in northern and eastern Europe, have a much higher rate of mortality from alcohol-related medical conditions than Americans. New Mexico, the U.S. state with the highest proportion of alcohol-related deaths per 100,000 men, would fall into the middle of Europe's alcohol-induced death scale. We're also surprised by the high incidence of alcohol-related deaths recorded in northern and central France, which is on par with those seen in the former nations of the Warsaw Pact in eastern Europe.
As for Felix, who deserves the blame for this post, we'll conclude by disrupting his world. Last November, Barry Ritholtz described Rolfe Winkler as being a "thinking man's Felix Salmon." Applying what we know from Peabody's Improbable History, where a "boy and his dog" also implies that there's a "dog and his boy," we wonder just who exactly is Felix Salmon's thinking man?
Labels: data visualization, health
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.