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
On Thursday evening, 19 March 2020, the California's governor ordered businesses to close across the state and for residents to stay at home in an effort to prevent the further spread of the SARS-COV-2 coronavirus. By Friday evening, 20 March 2020, four other state governors had followed suit in New York, Connecticut, Illinois, and Pennsylvania, instantly throwing the U.S. economy into a national recession. At this writing, these states will soon be followed by New Jersey in imposing restrictions on the movements of their residents, putting one-in-five Americans under such orders.
Here are the tower charts showing the progression of COVID-19 infections within each of these states from 10 March 2020 through 20 March 2020. (Update 22 March 2020: Louisiana has joined the shutdown states. Update 23 March 2020: Add Delaware and Ohio to the states whose governors issued stay-at-home orders yesterday, and now Massachusetts, Michigan, and Wisconsin for today - you can see each of their tower charts through 20 March 2020 in the large skyline chart below....)
For this skyline chart presentation, the horizontal scale of the individual tower charts has been indexed to the same scale, representing 0.05% of each state's population, with the charts indicating each state's confirmed cases, recovered patients, and deaths as a percentage of the state's population. The data for each is taken directly from Johns Hopkins' CSSE time series datasets.
New York has been particularly aggressive in testing to detect COVID-19 infections within its population, particularly in New York City. As such, the state of New York now reports both the largest number of cases within the U.S. and also has the largest percentage of confirmed cases among its population.
We should note that at this point, the progression charts for each state represent more the rapid expansion of testing than the speed of the spread of new viral infections, where the limited number of tests whose results have been reported don't represent a random sampling, but instead the results of testing that has been prioritized to focus on patients already suspected of having been infected.
Update: Here's a very large chart showing the tower charts for all 50 states, and also the territories of the District of Columbia and Puerto Rico:
Labels: coronavirus, 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.