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
Update 16 Dec 2005: The 2004 edition is now available!
Welcome to Africa! Today's dynamic GDP table presents data for the entire African continent minus Western Sahara, for which no economic data is available. You may rank the data by clicking upon the column heads. If you're interested in comparing this data against individual states in the U.S., you may do so by looking at this dynamic table, which allow you to sort individual U.S. states according to their 2002 Gross State Product (GSP), the state equivalent of Gross Domestic Product (GDP).
As with Political Calculations' other looks at international GDP data, the data in the table below has been adjusted for each country's Purchasing Power Parity, which takes into account how much an individual can buy within a country along with the currency exchange rate between the individual country's currency and the U.S. dollar. This allows for a more direct comparison between countries with different rates of exchange in their currencies, as well as what their currencies are capable of buying within their own countries.
2002 African GDP and Population Data |
---|
Country | GDP-PPP ($USD Billions) | 2003 Estimated Population | GDP-PPP per Capita ($USD) |
---|---|---|---|
Algeria | 167 | 32818500 | 5089 |
Angola | 16.9 | 10766471 | 1570 |
Benin | 7.3 | 7041490 | 1037 |
Botswana | 15.1 | 1573267 | 9598 |
Burkina Faso | 13.6 | 13228460 | 1028 |
Burundi | 3.8 | 6096156 | 623 |
Cameroon | 27 | 15746179 | 1715 |
Cape Verde | 0.6 | 412137 | 1456 |
Central African Republic | 4.7 | 3683538 | 1276 |
Chad | 10 | 9253493 | 1081 |
Comoros | 0.4 | 632948 | 697 |
Congo, Republic of the | 2.5 | 2954258 | 846 |
Congo, Democratic Republic of the | 34 | 56625039 | 600 |
Cote d'Ivoire | 24.5 | 16962491 | 1444 |
Djibouti | 0.6 | 457130 | 1354 |
Egypt | 268 | 74718797 | 3587 |
Equatorial Guinea | 1.3 | 510473 | 2488 |
Eritrea | 3.3 | 4362254 | 756 |
Ethiopia | 50.6 | 66557553 | 760 |
Gabon | 7 | 1321560 | 5297 |
Gambia, The | 2.6 | 1501050 | 1732 |
Ghana | 42.5 | 20467747 | 2076 |
Guinea | 15.9 | 9030220 | 1761 |
Guinea-Bissaau | 1.1 | 1360827 | 808 |
Kenya | 32 | 31639091 | 1011 |
Lesotho | 5.6 | 1861959 | 3008 |
Liberia | 3.5 | 3317176 | 1055 |
Libya | 41 | 5499074 | 7456 |
Madagascar | 12.6 | 16979744 | 742 |
Malawi | 7.2 | 11651239 | 618 |
Mali | 9.8 | 11626219 | 843 |
Mauritania | 5.3 | 2912584 | 1820 |
Mauritius | 13.2 | 1210447 | 10905 |
Morocco | 115 | 31689265 | 3629 |
Mozambique | 19.2 | 17479266 | 1098 |
Namibia | 12.6 | 1927447 | 6537 |
Niger | 8.8 | 11058590 | 796 |
Nigeria | 113.5 | 133881703 | 848 |
Reunion | 3.6 | 755171 | 4767 |
Rwanda | 9 | 7810056 | 1152 |
Sao Tome and Principe | 0.2 | 175883 | 1137 |
Senegal | 16.2 | 10580307 | 1531 |
Seychelles | 0.6 | 80469 | 7779 |
Sierra Leone | 2.8 | 5732681 | 488 |
Somalia | 4.1 | 8025190 | 511 |
South Africa | 432 | 42768678 | 10101 |
Sudan | 52.9 | 38114160 | 1388 |
Swaziland | 4.8 | 1161219 | 4134 |
Tanzania | 22.5 | 32922454 | 683 |
Togo | 8 | 5429299 | 1473 |
Tunisia | 63 | 9924742 | 6348 |
Uganda | 31 | 25632794 | 1209 |
Zambia | 8.9 | 10307333 | 863 |
Zimbabwe | 27 | 12576742 | 2147 |
Africa (All) | 1806.2 | 852813020 | 2118 |
Gross Domestic Product (GDP) Data: The World Factbook, 2003 via Bartelby.
July, 2003 Population Estimate: The World Factbook, 2003 GDP Data via Bartelby.
Table Sorting Function: The Daily Kryogenix
Labels: gdp
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.