Last active
November 3, 2015 17:48
-
-
Save yan2014/222b7fc184672cdfa6ea to your computer and use it in GitHub Desktop.
Week 10: Small Multiples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> | |
<style> | |
.container { | |
width: 1050px; | |
} | |
h1 { | |
font-size: 26px; | |
padding: 0px 0 5px 0; | |
line-height: 1.2em; | |
color: #000; | |
margin-bottom: 0px; | |
} | |
#lead { | |
clear: both; | |
width: 600px; | |
} | |
#lead p { | |
color: #444; | |
font-family: Georgia,Palatino,serif; | |
font-size: 1.0em; | |
line-height: 1.4em; | |
} | |
.chart { | |
float: left; | |
padding-right: 5px; | |
padding-bottom: 5px; | |
padding-top:0; | |
padding-left:0; | |
} | |
svg { | |
font-size: 9px; | |
} | |
.background { | |
fill: none; | |
} | |
.area { | |
fill: #99CCFF; | |
} | |
.line { | |
fill: none; | |
stroke: #334C80; | |
stroke-width: 1.4px; | |
} | |
.title { | |
font-size: 12px; | |
} | |
.axis line, .grid line { | |
stroke-width: .5px; | |
shape-rendering: crispEdges; | |
stroke: #fff; | |
opacity: 0.5; | |
pointer-events: none; | |
} | |
.axis path { | |
display: none; | |
} | |
.hidden { | |
display:none; | |
opacity: 0.0; | |
} | |
#button-wrap { | |
width: 220px; | |
margin-left: auto; | |
margin-right: auto; | |
height: 40px; | |
margin-bottom: 10px; | |
padding-left: 5px; | |
} | |
.button { | |
cursor: pointer; | |
float: left; | |
width: 100px; | |
height: 30px; | |
text-align: center; | |
background: #fcfcfc; | |
border: 1px solid #cecece; | |
display: block; | |
padding-top: 5px; | |
margin-top: 10px; | |
border-radius: 5px 5px 5px 5px; | |
} | |
.button.active { | |
box-shadow: inset 0px 0px 7px rgba(0,0,0,0.18); | |
pointer-events: none; | |
background-color: #e6e6e6; | |
} | |
#count { | |
border-radius: 5px 0px 0px 5px; | |
} | |
#name { | |
border-radius: 0px 5px 5px 0px; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"> | |
<h1>Country-specific neonatal mortality rate</h1> | |
<div id="lead"> | |
<p>Data Source: UNICEF</p> | |
</div> | |
<div id="explain">When your mouse is on the data point that represent mortality rate in Korea DPR in 1996, you will find that the country suffered severe famine at that time.Here is the <a href="http://www.bbc.com/news/world-asia-pacific-15278612">key events</a> happened in Korea DPR.</div> | |
<div id="main"> | |
<div id="button-wrap"> | |
<div id="count" class="button">COUNT</div> | |
<div id="country" class="button active">COUNTRY</div> | |
</div> | |
<div id="vis"> | |
</div> | |
</div> | |
</div> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> | |
<script src="isotope.pkgd.min.js"></script> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script> | |
<script src="main.js"></script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Isotope PACKAGED v2.0.1 | |
* Filter & sort magical layouts | |
* http://isotope.metafizzy.co | |
*/ | |
(function(t){function e(){}function i(t){function i(e){e.prototype.option||(e.prototype.option=function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))})}function n(e,i){t.fn[e]=function(n){if("string"==typeof n){for(var s=o.call(arguments,1),a=0,u=this.length;u>a;a++){var p=this[a],h=t.data(p,e);if(h)if(t.isFunction(h[n])&&"_"!==n.charAt(0)){var f=h[n].apply(h,s);if(void 0!==f)return f}else r("no such method '"+n+"' for "+e+" instance");else r("cannot call methods on "+e+" prior to initialization; "+"attempted to call '"+n+"'")}return this}return this.each(function(){var o=t.data(this,e);o?(o.option(n),o._init()):(o=new i(this,n),t.data(this,e,o))})}}if(t){var r="undefined"==typeof console?e:function(t){console.error(t)};return t.bridget=function(t,e){i(e),n(t,e)},t.bridget}}var o=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):i(t.jQuery)})(window),function(t){function e(e){var i=t.event;return i.target=i.target||i.srcElement||e,i}var i=document.documentElement,o=function(){};i.addEventListener?o=function(t,e,i){t.addEventListener(e,i,!1)}:i.attachEvent&&(o=function(t,i,o){t[i+o]=o.handleEvent?function(){var i=e(t);o.handleEvent.call(o,i)}:function(){var i=e(t);o.call(t,i)},t.attachEvent("on"+i,t[i+o])});var n=function(){};i.removeEventListener?n=function(t,e,i){t.removeEventListener(e,i,!1)}:i.detachEvent&&(n=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(o){t[e+i]=void 0}});var r={bind:o,unbind:n};"function"==typeof define&&define.amd?define("eventie/eventie",r):"object"==typeof exports?module.exports=r:t.eventie=r}(this),function(t){function e(t){"function"==typeof t&&(e.isReady?t():r.push(t))}function i(t){var i="readystatechange"===t.type&&"complete"!==n.readyState;if(!e.isReady&&!i){e.isReady=!0;for(var o=0,s=r.length;s>o;o++){var a=r[o];a()}}}function o(o){return o.bind(n,"DOMContentLoaded",i),o.bind(n,"readystatechange",i),o.bind(t,"load",i),e}var n=t.document,r=[];e.isReady=!1,"function"==typeof define&&define.amd?(e.isReady="function"==typeof requirejs,define("doc-ready/doc-ready",["eventie/eventie"],o)):t.docReady=o(t.eventie)}(this),function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var o=t.prototype,n=this,r=n.EventEmitter;o.getListeners=function(t){var e,i,o=this._getEvents();if(t instanceof RegExp){e={};for(i in o)o.hasOwnProperty(i)&&t.test(i)&&(e[i]=o[i])}else e=o[t]||(o[t]=[]);return e},o.flattenListeners=function(t){var e,i=[];for(e=0;t.length>e;e+=1)i.push(t[e].listener);return i},o.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&(e={},e[t]=i),e||i},o.addListener=function(t,i){var o,n=this.getListenersAsObject(t),r="object"==typeof i;for(o in n)n.hasOwnProperty(o)&&-1===e(n[o],i)&&n[o].push(r?i:{listener:i,once:!1});return this},o.on=i("addListener"),o.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},o.once=i("addOnceListener"),o.defineEvent=function(t){return this.getListeners(t),this},o.defineEvents=function(t){for(var e=0;t.length>e;e+=1)this.defineEvent(t[e]);return this},o.removeListener=function(t,i){var o,n,r=this.getListenersAsObject(t);for(n in r)r.hasOwnProperty(n)&&(o=e(r[n],i),-1!==o&&r[n].splice(o,1));return this},o.off=i("removeListener"),o.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},o.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},o.manipulateListeners=function(t,e,i){var o,n,r=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(o=i.length;o--;)r.call(this,e,i[o]);else for(o in e)e.hasOwnProperty(o)&&(n=e[o])&&("function"==typeof n?r.call(this,o,n):s.call(this,o,n));return this},o.removeEvent=function(t){var e,i=typeof t,o=this._getEvents();if("string"===i)delete o[t];else if(t instanceof RegExp)for(e in o)o.hasOwnProperty(e)&&t.test(e)&&delete o[e];else delete this._events;return this},o.removeAllListeners=i("removeEvent"),o.emitEvent=function(t,e){var i,o,n,r,s=this.getListenersAsObject(t);for(n in s)if(s.hasOwnProperty(n))for(o=s[n].length;o--;)i=s[n][o],i.once===!0&&this.removeListener(t,i.listener),r=i.listener.apply(this,e||[]),r===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},o.trigger=i("emitEvent"),o.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},o.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},o._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},o._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return n.EventEmitter=r,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof o[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,n=0,r=i.length;r>n;n++)if(e=i[n]+t,"string"==typeof o[e])return e}}var i="Webkit Moz ms Ms O".split(" "),o=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return e}):"object"==typeof exports?module.exports=e:t.getStyleProperty=e}(window),function(t){function e(t){var e=parseFloat(t),i=-1===t.indexOf("%")&&!isNaN(e);return i&&e}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=s.length;i>e;e++){var o=s[e];t[o]=0}return t}function o(t){function o(t){if("string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var o=r(t);if("none"===o.display)return i();var n={};n.width=t.offsetWidth,n.height=t.offsetHeight;for(var h=n.isBorderBox=!(!p||!o[p]||"border-box"!==o[p]),f=0,d=s.length;d>f;f++){var l=s[f],c=o[l];c=a(t,c);var y=parseFloat(c);n[l]=isNaN(y)?0:y}var m=n.paddingLeft+n.paddingRight,g=n.paddingTop+n.paddingBottom,v=n.marginLeft+n.marginRight,_=n.marginTop+n.marginBottom,I=n.borderLeftWidth+n.borderRightWidth,L=n.borderTopWidth+n.borderBottomWidth,z=h&&u,S=e(o.width);S!==!1&&(n.width=S+(z?0:m+I));var b=e(o.height);return b!==!1&&(n.height=b+(z?0:g+L)),n.innerWidth=n.width-(m+I),n.innerHeight=n.height-(g+L),n.outerWidth=n.width+v,n.outerHeight=n.height+_,n}}function a(t,e){if(n||-1===e.indexOf("%"))return e;var i=t.style,o=i.left,r=t.runtimeStyle,s=r&&r.left;return s&&(r.left=t.currentStyle.left),i.left=e,e=i.pixelLeft,i.left=o,s&&(r.left=s),e}var u,p=t("boxSizing");return function(){if(p){var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style[p]="border-box";var i=document.body||document.documentElement;i.appendChild(t);var o=r(t);u=200===e(o.width),i.removeChild(t)}}(),o}var n=t.getComputedStyle,r=n?function(t){return n(t,null)}:function(t){return t.currentStyle},s=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],o):"object"==typeof exports?module.exports=o(require("get-style-property")):t.getSize=o(t.getStyleProperty)}(window),function(t,e){function i(t,e){return t[a](e)}function o(t){if(!t.parentNode){var e=document.createDocumentFragment();e.appendChild(t)}}function n(t,e){o(t);for(var i=t.parentNode.querySelectorAll(e),n=0,r=i.length;r>n;n++)if(i[n]===t)return!0;return!1}function r(t,e){return o(t),i(t,e)}var s,a=function(){if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0,o=t.length;o>i;i++){var n=t[i],r=n+"MatchesSelector";if(e[r])return r}}();if(a){var u=document.createElement("div"),p=i(u,"div");s=p?i:r}else s=n;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return s}):window.matchesSelector=s}(this,Element.prototype),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){for(var e in t)return!1;return e=null,!0}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function n(t,n,r){function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var u=r("transition"),p=r("transform"),h=u&&p,f=!!r("perspective"),d={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[u],l=["transform","transition","transitionDuration","transitionProperty"],c=function(){for(var t={},e=0,i=l.length;i>e;e++){var o=l[e],n=r(o);n&&n!==o&&(t[o]=n)}return t}();e(a.prototype,t.prototype),a.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},a.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},a.prototype.getSize=function(){this.size=n(this.element)},a.prototype.css=function(t){var e=this.element.style;for(var i in t){var o=c[i]||i;e[o]=t[i]}},a.prototype.getPosition=function(){var t=s(this.element),e=this.layout.options,i=e.isOriginLeft,o=e.isOriginTop,n=parseInt(t[i?"left":"right"],10),r=parseInt(t[o?"top":"bottom"],10);n=isNaN(n)?0:n,r=isNaN(r)?0:r;var a=this.layout.size;n-=i?a.paddingLeft:a.paddingRight,r-=o?a.paddingTop:a.paddingBottom,this.position.x=n,this.position.y=r},a.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={};e.isOriginLeft?(i.left=this.position.x+t.paddingLeft+"px",i.right=""):(i.right=this.position.x+t.paddingRight+"px",i.left=""),e.isOriginTop?(i.top=this.position.y+t.paddingTop+"px",i.bottom=""):(i.bottom=this.position.y+t.paddingBottom+"px",i.top=""),this.css(i),this.emitEvent("layout",[this])};var y=f?function(t,e){return"translate3d("+t+"px, "+e+"px, 0)"}:function(t,e){return"translate("+t+"px, "+e+"px)"};a.prototype._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=parseInt(t,10),r=parseInt(e,10),s=n===this.position.x&&r===this.position.y;if(this.setPosition(t,e),s&&!this.isTransitioning)return this.layoutPosition(),void 0;var a=t-i,u=e-o,p={},h=this.layout.options;a=h.isOriginLeft?a:-a,u=h.isOriginTop?u:-u,p.transform=y(a,u),this.transition({to:p,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},a.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},a.prototype.moveTo=h?a.prototype._transitionTo:a.prototype.goTo,a.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},a.prototype._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},a.prototype._transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return this._nonTransition(t),void 0;var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var o=this.element.offsetHeight;o=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var m=p&&o(p)+",opacity";a.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:m,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(d,this,!1))},a.prototype.transition=a.prototype[u?"_transition":"_nonTransition"],a.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},a.prototype.onotransitionend=function(t){this.ontransitionend(t)};var g={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};a.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,o=g[t.propertyName]||t.propertyName;if(delete e.ingProperties[o],i(e.ingProperties)&&this.disableTransition(),o in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[o]),o in e.onEnd){var n=e.onEnd[o];n.call(this),delete e.onEnd[o]}this.emitEvent("transitionEnd",[this])}},a.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(d,this,!1),this.isTransitioning=!1},a.prototype._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var v={transitionProperty:"",transitionDuration:""};return a.prototype.removeTransitionStyles=function(){this.css(v)},a.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.emitEvent("remove",[this])},a.prototype.remove=function(){if(!u||!parseFloat(this.layout.options.transitionDuration))return this.removeElem(),void 0;var t=this;this.on("transitionEnd",function(){return t.removeElem(),!0}),this.hide()},a.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options;this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0})},a.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options;this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:{opacity:function(){this.isHidden&&this.css({display:"none"})}}})},a.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}var r=t.getComputedStyle,s=r?function(t){return r(t,null)}:function(t){return t.currentStyle};"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property"],n):(t.Outlayer={},t.Outlayer.Item=n(t.EventEmitter,t.getSize,t.getStyleProperty))}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){return"[object Array]"===f.call(t)}function o(t){var e=[];if(i(t))e=t;else if(t&&"number"==typeof t.length)for(var o=0,n=t.length;n>o;o++)e.push(t[o]);else e.push(t);return e}function n(t,e){var i=l(e,t);-1!==i&&e.splice(i,1)}function r(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()}function s(i,s,f,l,c,y){function m(t,i){if("string"==typeof t&&(t=a.querySelector(t)),!t||!d(t))return u&&u.error("Bad "+this.constructor.namespace+" element: "+t),void 0;this.element=t,this.options=e({},this.constructor.defaults),this.option(i);var o=++g;this.element.outlayerGUID=o,v[o]=this,this._create(),this.options.isInitLayout&&this.layout()}var g=0,v={};return m.namespace="outlayer",m.Item=y,m.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},e(m.prototype,f.prototype),m.prototype.option=function(t){e(this.options,t)},m.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),e(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},m.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},m.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0,r=e.length;r>n;n++){var s=e[n],a=new i(s,this);o.push(a)}return o},m.prototype._filterFindItemElements=function(t){t=o(t);for(var e=this.options.itemSelector,i=[],n=0,r=t.length;r>n;n++){var s=t[n];if(d(s))if(e){c(s,e)&&i.push(s);for(var a=s.querySelectorAll(e),u=0,p=a.length;p>u;u++)i.push(a[u])}else i.push(s)}return i},m.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;i>e;e++)t.push(this.items[e].element);return t},m.prototype.layout=function(){this._resetLayout(),this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},m.prototype._init=m.prototype.layout,m.prototype._resetLayout=function(){this.getSize()},m.prototype.getSize=function(){this.size=l(this.element)},m.prototype._getMeasurement=function(t,e){var i,o=this.options[t];o?("string"==typeof o?i=this.element.querySelector(o):d(o)&&(i=o),this[t]=i?l(i)[e]:o):this[t]=0},m.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},m.prototype._getItemsForLayout=function(t){for(var e=[],i=0,o=t.length;o>i;i++){var n=t[i];n.isIgnored||e.push(n)}return e},m.prototype._layoutItems=function(t,e){function i(){o.emitEvent("layoutComplete",[o,t])}var o=this;if(!t||!t.length)return i(),void 0;this._itemsOn(t,"layout",i);for(var n=[],r=0,s=t.length;s>r;r++){var a=t[r],u=this._getItemLayoutPosition(a);u.item=a,u.isInstant=e||a.isLayoutInstant,n.push(u)}this._processLayoutQueue(n)},m.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},m.prototype._processLayoutQueue=function(t){for(var e=0,i=t.length;i>e;e++){var o=t[e];this._positionItem(o.item,o.x,o.y,o.isInstant)}},m.prototype._positionItem=function(t,e,i,o){o?t.goTo(e,i):t.moveTo(e,i)},m.prototype._postLayout=function(){this.resizeContainer()},m.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},m.prototype._getContainerSize=h,m.prototype._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},m.prototype._itemsOn=function(t,e,i){function o(){return n++,n===r&&i.call(s),!0}for(var n=0,r=t.length,s=this,a=0,u=t.length;u>a;a++){var p=t[a];p.on(e,o)}},m.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},m.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},m.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,i=t.length;i>e;e++){var o=t[e];this.ignore(o)}}},m.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;i>e;e++){var o=t[e];n(o,this.stamps),this.unignore(o)}},m.prototype._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o(t)):void 0},m.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;e>t;t++){var i=this.stamps[t];this._manageStamp(i)}}},m.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},m.prototype._manageStamp=h,m.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,o=l(t),n={left:e.left-i.left-o.marginLeft,top:e.top-i.top-o.marginTop,right:i.right-e.right-o.marginRight,bottom:i.bottom-e.bottom-o.marginBottom};return n},m.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},m.prototype.bindResize=function(){this.isResizeBound||(i.bind(t,"resize",this),this.isResizeBound=!0)},m.prototype.unbindResize=function(){this.isResizeBound&&i.unbind(t,"resize",this),this.isResizeBound=!1},m.prototype.onresize=function(){function t(){e.resize(),delete e.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var e=this;this.resizeTimeout=setTimeout(t,100)},m.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},m.prototype.needsResizeLayout=function(){var t=l(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},m.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},m.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},m.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},m.prototype.reveal=function(t){var e=t&&t.length;if(e)for(var i=0;e>i;i++){var o=t[i];o.reveal()}},m.prototype.hide=function(t){var e=t&&t.length;if(e)for(var i=0;e>i;i++){var o=t[i];o.hide()}},m.prototype.getItem=function(t){for(var e=0,i=this.items.length;i>e;e++){var o=this.items[e];if(o.element===t)return o}},m.prototype.getItems=function(t){if(t&&t.length){for(var e=[],i=0,o=t.length;o>i;i++){var n=t[i],r=this.getItem(n);r&&e.push(r)}return e}},m.prototype.remove=function(t){t=o(t);var e=this.getItems(t);if(e&&e.length){this._itemsOn(e,"remove",function(){this.emitEvent("removeComplete",[this,e])});for(var i=0,r=e.length;r>i;i++){var s=e[i];s.remove(),n(s,this.items)}}},m.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,i=this.items.length;i>e;e++){var o=this.items[e];o.destroy()}this.unbindResize(),delete this.element.outlayerGUID,p&&p.removeData(this.element,this.constructor.namespace)},m.data=function(t){var e=t&&t.outlayerGUID;return e&&v[e]},m.create=function(t,i){function o(){m.apply(this,arguments)}return Object.create?o.prototype=Object.create(m.prototype):e(o.prototype,m.prototype),o.prototype.constructor=o,o.defaults=e({},m.defaults),e(o.defaults,i),o.prototype.settings={},o.namespace=t,o.data=m.data,o.Item=function(){y.apply(this,arguments)},o.Item.prototype=new y,s(function(){for(var e=r(t),i=a.querySelectorAll(".js-"+e),n="data-"+e+"-options",s=0,h=i.length;h>s;s++){var f,d=i[s],l=d.getAttribute(n);try{f=l&&JSON.parse(l)}catch(c){u&&u.error("Error parsing "+n+" on "+d.nodeName.toLowerCase()+(d.id?"#"+d.id:"")+": "+c);continue}var y=new o(d,f);p&&p.data(d,t,y)}}),p&&p.bridget&&p.bridget(t,o),o},m.Item=y,m}var a=t.document,u=t.console,p=t.jQuery,h=function(){},f=Object.prototype.toString,d="object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1===t.nodeType&&"string"==typeof t.nodeName},l=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++)if(t[i]===e)return i;return-1};"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","doc-ready/doc-ready","eventEmitter/EventEmitter","get-size/get-size","matches-selector/matches-selector","./item"],s):t.Outlayer=s(t.eventie,t.docReady,t.EventEmitter,t.getSize,t.matchesSelector,t.Outlayer.Item)}(window),function(t){function e(t){function e(){t.Item.apply(this,arguments)}e.prototype=new t.Item,e.prototype._create=function(){this.id=this.layout.itemGUID++,t.Item.prototype._create.call(this),this.sortData={}},e.prototype.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var i=e.prototype.destroy;return e.prototype.destroy=function(){i.apply(this,arguments),this.css({display:""})},e}"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],e):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window),function(t){function e(t,e){function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}return function(){function t(t){return function(){return e.prototype[t].apply(this.isotope,arguments)}}for(var o=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"],n=0,r=o.length;r>n;n++){var s=o[n];i.prototype[s]=t(s)}}(),i.prototype.needsVerticalResizeLayout=function(){var e=t(this.isotope.element),i=this.isotope.size&&e;return i&&e.innerHeight!==this.isotope.size.innerHeight},i.prototype._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},i.prototype.getColumnWidth=function(){this.getSegmentSize("column","Width")},i.prototype.getRowHeight=function(){this.getSegmentSize("row","Height")},i.prototype.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},i.prototype.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},i.prototype.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},i.prototype.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function o(){i.apply(this,arguments)}return o.prototype=new i,e&&(o.options=e),o.prototype.namespace=t,i.modes[t]=o,o},i}"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window),function(t){function e(t,e){var o=t.create("masonry");return o.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0);this.maxY=0},o.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}this.columnWidth+=this.gutter,this.cols=Math.floor((this.containerWidth+this.gutter)/this.columnWidth),this.cols=Math.max(this.cols,1)},o.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},o.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,o=e&&1>e?"round":"ceil",n=Math[o](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var r=this._getColGroup(n),s=Math.min.apply(Math,r),a=i(r,s),u={x:this.columnWidth*a,y:s},p=s+t.size.outerHeight,h=this.cols+1-r.length,f=0;h>f;f++)this.colYs[a+f]=p;return u},o.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;i>o;o++){var n=this.colYs.slice(o,o+t);e[o]=Math.max.apply(Math,n)}return e},o.prototype._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this.options.isOriginLeft?o.left:o.right,r=n+i.outerWidth,s=Math.floor(n/this.columnWidth);s=Math.max(0,s);var a=Math.floor(r/this.columnWidth);a-=r%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var u=(this.options.isOriginTop?o.top:o.bottom)+i.outerHeight,p=s;a>=p;p++)this.colYs[p]=Math.max(u,this.colYs[p])},o.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this.options.isFitWidth&&(t.width=this._getContainerFitWidth()),t},o.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},o}var i=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++){var n=t[i];if(n===e)return i}return-1};"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size"],e):t.Masonry=e(t.Outlayer,t.getSize)}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t,i){var o=t.create("masonry"),n=o.prototype._getElementOffset,r=o.prototype.layout,s=o.prototype._getMeasurement;e(o.prototype,i.prototype),o.prototype._getElementOffset=n,o.prototype.layout=r,o.prototype._getMeasurement=s;var a=o.prototype.measureColumns;o.prototype.measureColumns=function(){this.items=this.isotope.filteredItems,a.call(this)};var u=o.prototype._manageStamp;return o.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,u.apply(this,arguments)},o}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],i):i(t.Isotope.LayoutMode,t.Masonry)}(window),function(t){function e(t){var e=t.create("fitRows");return e.prototype._resetLayout=function(){this.x=0,this.y=0,this.maxY=0},e.prototype._getItemLayoutPosition=function(t){t.getSize(),0!==this.x&&t.size.outerWidth+this.x>this.isotope.size.innerWidth&&(this.x=0,this.y=this.maxY);var e={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=t.size.outerWidth,e},e.prototype._getContainerSize=function(){return{height:this.maxY}},e}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],e):e(t.Isotope.LayoutMode)}(window),function(t){function e(t){var e=t.create("vertical",{horizontalAlignment:0});return e.prototype._resetLayout=function(){this.y=0},e.prototype._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},e.prototype._getContainerSize=function(){return{height:this.y}},e}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],e):e(t.Isotope.LayoutMode)}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){return"[object Array]"===h.call(t)}function o(t){var e=[];if(i(t))e=t;else if(t&&"number"==typeof t.length)for(var o=0,n=t.length;n>o;o++)e.push(t[o]);else e.push(t);return e}function n(t,e){var i=f(e,t);-1!==i&&e.splice(i,1)}function r(t,i,r,u,h){function f(t,e){return function(i,o){for(var n=0,r=t.length;r>n;n++){var s=t[n],a=i.sortData[s],u=o.sortData[s];if(a>u||u>a){var p=void 0!==e[s]?e[s]:e,h=p?1:-1;return(a>u?1:-1)*h}}return 0}}var d=t.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});d.Item=u,d.LayoutMode=h,d.prototype._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),t.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var e in h.modes)this._initLayoutMode(e)},d.prototype.reloadItems=function(){this.itemGUID=0,t.prototype.reloadItems.call(this)},d.prototype._itemize=function(){for(var e=t.prototype._itemize.apply(this,arguments),i=0,o=e.length;o>i;i++){var n=e[i];n.id=this.itemGUID++}return this._updateItemsSortData(e),e},d.prototype._initLayoutMode=function(t){var i=h.modes[t],o=this.options[t]||{};this.options[t]=i.options?e(i.options,o):o,this.modes[t]=new i(this)},d.prototype.layout=function(){return!this._isLayoutInited&&this.options.isInitLayout?(this.arrange(),void 0):(this._layout(),void 0)},d.prototype._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},d.prototype.arrange=function(t){this.option(t),this._getIsInstant(),this.filteredItems=this._filter(this.items),this._sort(),this._layout()},d.prototype._init=d.prototype.arrange,d.prototype._getIsInstant=function(){var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;return this._isInstant=t,t},d.prototype._filter=function(t){function e(){f.reveal(n),f.hide(r)}var i=this.options.filter;i=i||"*";for(var o=[],n=[],r=[],s=this._getFilterTest(i),a=0,u=t.length;u>a;a++){var p=t[a];if(!p.isIgnored){var h=s(p);h&&o.push(p),h&&p.isHidden?n.push(p):h||p.isHidden||r.push(p)}}var f=this;return this._isInstant?this._noTransition(e):e(),o},d.prototype._getFilterTest=function(t){return s&&this.options.isJQueryFiltering?function(e){return s(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return r(e.element,t)}},d.prototype.updateSortData=function(t){this._getSorters(),t=o(t); | |
var e=this.getItems(t);e=e.length?e:this.items,this._updateItemsSortData(e)},d.prototype._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=l(i)}},d.prototype._updateItemsSortData=function(t){for(var e=0,i=t.length;i>e;e++){var o=t[e];o.updateSortData()}};var l=function(){function t(t){if("string"!=typeof t)return t;var i=a(t).split(" "),o=i[0],n=o.match(/^\[(.+)\]$/),r=n&&n[1],s=e(r,o),u=d.sortDataParsers[i[1]];return t=u?function(t){return t&&u(s(t))}:function(t){return t&&s(t)}}function e(t,e){var i;return i=t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&p(i)}}return t}();d.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},d.prototype._sort=function(){var t=this.options.sortBy;if(t){var e=[].concat.apply(t,this.sortHistory),i=f(e,this.options.sortAscending);this.filteredItems.sort(i),t!==this.sortHistory[0]&&this.sortHistory.unshift(t)}},d.prototype._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw Error("No layout mode: "+t);return e.options=this.options[t],e},d.prototype._resetLayout=function(){t.prototype._resetLayout.call(this),this._mode()._resetLayout()},d.prototype._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},d.prototype._manageStamp=function(t){this._mode()._manageStamp(t)},d.prototype._getContainerSize=function(){return this._mode()._getContainerSize()},d.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()},d.prototype.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},d.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps();var o=this._filterRevealAdded(e);this.layoutItems(i),this.filteredItems=o.concat(this.filteredItems)}},d.prototype._filterRevealAdded=function(t){var e=this._noTransition(function(){return this._filter(t)});return this.layoutItems(e,!0),this.reveal(e),t},d.prototype.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;n>i;i++)o=e[i],this.element.appendChild(o.element);var r=this._filter(e);for(this._noTransition(function(){this.hide(r)}),i=0;n>i;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;n>i;i++)delete e[i].isLayoutInstant;this.reveal(r)}};var c=d.prototype.remove;return d.prototype.remove=function(t){t=o(t);var e=this.getItems(t);if(c.call(this,t),e&&e.length)for(var i=0,r=e.length;r>i;i++){var s=e[i];n(s,this.filteredItems)}},d.prototype.shuffle=function(){for(var t=0,e=this.items.length;e>t;t++){var i=this.items[t];i.sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},d.prototype._noTransition=function(t){var e=this.options.transitionDuration;this.options.transitionDuration=0;var i=t.call(this);return this.options.transitionDuration=e,i},d.prototype.getFilteredItemElements=function(){for(var t=[],e=0,i=this.filteredItems.length;i>e;e++)t.push(this.filteredItems[e].element);return t},d}var s=t.jQuery,a=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},u=document.documentElement,p=u.textContent?function(t){return t.textContent}:function(t){return t.innerText},h=Object.prototype.toString,f=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++)if(t[i]===e)return i;return-1};"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","matches-selector/matches-selector","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],r):t.Isotope=r(t.Outlayer,t.getSize,t.matchesSelector,t.Isotope.Item,t.Isotope.LayoutMode)}(window); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var width = 150, | |
height = 120, | |
margin = {top: 15,right: 20,bottom: 40,left: 50}; | |
var data = [], | |
circle = null, | |
caption = null, | |
curYear = null; | |
var bisect = d3.bisector(function(d) { | |
return dateFormat.parse(d.year); | |
}).left; | |
var dateFormat = d3.time.format("%Y"); | |
var xScale = d3.time.scale().range([0, width]); | |
var yScale = d3.scale.linear().range([height, 0]); | |
var yAxis = d3.svg.axis() | |
.scale(yScale) | |
.orient("left") | |
.ticks(4) | |
.outerTickSize(0) | |
.tickSubdivide(1) | |
.tickSize(-width); | |
var area = d3.svg.area() | |
.x(function(d) { | |
return xScale(dateFormat.parse(d.year)); | |
}) | |
.y0(height) | |
.y1(function(d) { | |
return yScale(+d.amount); | |
}); | |
var line = d3.svg.line() | |
.x(function(d) { | |
return xScale(dateFormat.parse(d.year)); | |
}) | |
.y(function(d) { | |
return yScale(+d.amount); | |
}); | |
// a jquery lib to do the small multiple sorting for us! | |
function setupIsotope() { | |
$("#vis").isotope({ | |
itemSelector: '.chart', | |
layoutMode: 'fitRows', | |
getSortData: { | |
count: function(e) { | |
var d, sum; | |
d = d3.select(e).datum(); | |
sum = d3.sum(d.Deaths, function(d) { | |
return d.amount; | |
}); | |
return sum * -1; | |
}, | |
country: function(e) { | |
var d; | |
d = d3.select(e).datum(); | |
return d.country; | |
} | |
} | |
}); | |
return $("#vis").isotope({ | |
sortBy: 'amount' | |
}); | |
} | |
d3.csv("NeonatalRate.csv", function(error, data) { | |
console.log("raw data", data); | |
var years = ["1990", "1991", "1992", "1993", "1994", "1995", "1996", "1997", "1998", "1999", "2000", "2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014", "2015"]; | |
var dataset = []; | |
data.forEach(function (d, i) { | |
var NDeaths = []; | |
years.forEach(function (y) { | |
if (d[y]) { | |
NDeaths.push({ | |
year: y, | |
amount: d[y] | |
}); | |
} | |
}); | |
dataset.push( { | |
country: d.Country, | |
Deaths: NDeaths // we just built this! | |
} ); | |
}); | |
console.log("structured data", dataset); | |
xScale.domain( | |
d3.extent(years, function(d) { | |
return dateFormat.parse(d); | |
})); | |
yScale.domain([0, | |
d3.max(dataset, function(d) { | |
return d3.max(d.Deaths, function(d) { | |
return +d.amount; | |
}); | |
}) | |
]); | |
d3.select("#vis").datum(dataset).each(function(myData) { | |
data = myData; | |
console.log(data); | |
var div = d3.select(this).selectAll(".chart").data(data); | |
div.enter() | |
.append("div") | |
.attr("class", "chart") | |
.append("svg") | |
.append("g"); | |
var svg = div.select("svg") | |
.attr("width", width + margin.left + margin.right) | |
.attr("height", height + margin.top + margin.bottom); | |
var g = svg.select("g") | |
.attr("transform", "translate(" + margin.left + "," + margin.top + ")"); | |
g.append("rect") | |
.attr("class", "background") | |
.style("pointer-events", "all") | |
.attr("width", width + margin.right) | |
.attr("height", height) | |
.on("mouseover", mouseover) | |
.on("mousemove", mousemove) | |
.on("mouseout", mouseout); | |
var lines = g.append("g"); | |
lines.append("path") | |
.attr("class", "area") | |
.style("pointer-events", "none") | |
.attr("d", function(c) { | |
return area(c.Deaths); | |
}); | |
lines.append("path") | |
.attr("class", "line") | |
.style("pointer-events", "none") | |
.attr("d", function(c) { | |
return line(c.Deaths); | |
}); | |
lines.append("text") | |
.attr("class", "title") | |
.attr("text-anchor", "middle") | |
.attr("y", height) | |
.attr("dy", margin.bottom / 2 + 5) | |
.attr("x", width / 2).text(function(c) { | |
return c.country; | |
}); | |
lines.append("text") | |
.attr("class", "static_year") | |
.attr("text-anchor", "start") | |
.style("pointer-events", "none") | |
.attr("dy", 13).attr("y", height) | |
.attr("x", 0).text(function(c) { | |
return c.Deaths[0].year; | |
}); | |
lines.append("text") | |
.attr("class", "static_year") | |
.attr("text-anchor", "end") | |
.style("pointer-events", "none").attr("dy", 13) | |
.attr("y", height).attr("x", width).text(function(c) { | |
return c.Deaths[c.Deaths.length-1].year; | |
}); | |
circle = lines.append("circle") | |
.attr("r", 2.2) | |
.attr("opacity", 0) | |
.style("pointer-events", "none"); | |
caption = lines.append("text") | |
.attr("class", "caption") | |
.attr("text-anchor", "middle") | |
.style("pointer-events", "none") | |
.attr("dy", -8); | |
curYear = lines.append("text") | |
.attr("class", "year") | |
.attr("text-anchor", "middle") | |
.style("pointer-events", "none") | |
.attr("dy", 13) | |
.attr("y", height); | |
g.append("g").attr("class", "y axis").call(yAxis); | |
}); // end of creating the chart for each data row | |
function mouseover() { | |
circle.attr("opacity", 1.0); | |
d3.selectAll(".static_year").classed("hidden", true); | |
return mousemove.call(this); | |
}; | |
function mousemove() { | |
var date, index, year; | |
year = xScale.invert(d3.mouse(this)[0]).getFullYear(); | |
date = dateFormat.parse('' + year); | |
index = 0; | |
circle | |
.attr("cx", xScale(date)) | |
.attr("cy", function(c) { | |
index = bisect(c.Deaths, date, 0, c.Deaths.length - 1); | |
return yScale(c.Deaths[index].amount); | |
}); | |
caption.attr("x", xScale(date)).attr("y", function(c) { | |
return yScale(c.Deaths[index].amount); | |
}).text(function(c) { | |
if(c.country==="Korea DPR"&& c.Deaths[index].year==="1996"){return (c.Deaths[index].amount)+": Flood and famine";} | |
else{return (c.Deaths[index].amount); } | |
}); | |
return curYear.attr("x", xScale(date)).text(year); | |
}; | |
function mouseout() { | |
d3.selectAll(".static_year").classed("hidden", false); | |
circle.attr("opacity", 0); | |
caption.text(""); | |
return curYear.text(""); | |
}; | |
setupIsotope(); | |
d3.select("#button-wrap").selectAll("div").on("click", function() { | |
var id; | |
id = d3.select(this).attr("id"); | |
d3.select("#button-wrap").selectAll("div").classed("active", false); | |
d3.select("#" + id).classed("active", true); | |
return $("#vis").isotope({ | |
sortBy: id | |
}); | |
}); // end button setup | |
}); // end of read tsv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Country | 1990 | 1991 | 1992 | 1993 | 1994 | 1995 | 1996 | 1997 | 1998 | 1999 | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Afghanistan | 52.8 | 51.9 | 50.9 | 49.9 | 49.1 | 48.2 | 47.5 | 47 | 46.1 | 45.6 | 45.2 | 44.5 | 43.9 | 43.2 | 42.5 | 41.7 | 41 | 40.4 | 39.8 | 39.1 | 38.7 | 38.1 | 37.4 | 36.8 | 36.1 | 35.5 | |
Albania | 13.4 | 13.2 | 13 | 12.9 | 12.9 | 12.7 | 12.5 | 12.3 | 11.9 | 11.7 | 11.3 | 11 | 10.7 | 10.3 | 9.8 | 9.4 | 8.9 | 8.5 | 8.2 | 7.9 | 7.5 | 7.2 | 7 | 6.8 | 6.5 | 6.2 | |
Algeria | 22.4 | 22.1 | 22 | 21.8 | 21.7 | 21.5 | 21.3 | 21.1 | 21 | 21 | 21 | 20.9 | 20.7 | 20.4 | 20 | 19.5 | 18.8 | 18.2 | 17.5 | 17 | 16.5 | 16.2 | 15.9 | 15.7 | 15.6 | 15.5 | |
Andorra | 4.3 | 4 | 3.7 | 3.4 | 3.2 | 3 | 2.8 | 2.6 | 2.4 | 2.3 | 2.2 | 2.1 | 2.1 | 2 | 2 | 1.9 | 1.9 | 1.8 | 1.8 | 1.7 | 1.7 | 1.6 | 1.6 | 1.5 | 1.5 | 1.4 | |
Angola | 59.1 | 59.2 | 59.4 | 59.4 | 59.3 | 59.4 | 59.5 | 59.4 | 58.9 | 58.7 | 58.4 | 58.2 | 57.5 | 57.2 | 56.7 | 56.1 | 55.5 | 55 | 54.1 | 53.4 | 52.6 | 51.9 | 51.1 | 50.4 | 49.6 | 48.7 | |
Antigua & Barbuda | 14.7 | 14.1 | 13.5 | 12.9 | 12.3 | 11.7 | 11.2 | 10.7 | 10.3 | 9.9 | 9.4 | 9 | 8.6 | 8.2 | 7.9 | 7.5 | 7.2 | 6.9 | 6.6 | 6.3 | 6 | 5.8 | 5.5 | 5.3 | 5.1 | 4.9 | |
Argentina | 15.4 | 15 | 14.7 | 14.4 | 14 | 13.3 | 12.6 | 12 | 11.5 | 11.3 | 11.3 | 11.1 | 10.6 | 10 | 9.5 | 9.2 | 8.8 | 8.5 | 8.1 | 7.8 | 7.5 | 7.2 | 7 | 6.8 | 6.5 | 6.3 | |
Armenia | 23 | 22.5 | 21.9 | 21.2 | 20.5 | 19.8 | 19.1 | 18.3 | 17.5 | 16.7 | 15.9 | 15.1 | 14.4 | 13.7 | 13 | 12.4 | 11.8 | 11.1 | 10.6 | 10 | 9.5 | 9.1 | 8.6 | 8.2 | 7.7 | 7.4 | |
Australia | 4.6 | 4.4 | 4.2 | 4 | 3.9 | 3.7 | 3.7 | 3.6 | 3.6 | 3.5 | 3.5 | 3.5 | 3.4 | 3.4 | 3.3 | 3.3 | 3.2 | 3.1 | 3 | 2.9 | 2.8 | 2.6 | 2.5 | 2.4 | 2.3 | 2.2 | |
Austria | 4.6 | 4.4 | 4.2 | 4 | 3.7 | 3.5 | 3.4 | 3.2 | 3.2 | 3.1 | 3.1 | 3.1 | 3 | 3 | 2.9 | 2.8 | 2.8 | 2.7 | 2.6 | 2.6 | 2.5 | 2.4 | 2.4 | 2.3 | 2.2 | 2.1 | |
Azerbaijan | 35.9 | 36.2 | 36.6 | 37 | 37.3 | 37.4 | 37.1 | 36.6 | 35.8 | 34.7 | 33.4 | 32.1 | 30.6 | 29.2 | 27.8 | 26.6 | 25.4 | 24.4 | 23.4 | 22.5 | 21.7 | 21 | 20.4 | 19.7 | 18.9 | 18.2 | |
Bahamas | 14 | 13.3 | 12.6 | 12 | 11.4 | 10.7 | 10.2 | 9.6 | 9.2 | 8.9 | 8.7 | 8.6 | 8.6 | 8.6 | 8.7 | 8.7 | 8.6 | 8.5 | 8.4 | 8.2 | 8 | 7.8 | 7.5 | 7.3 | 7.1 | 6.9 | |
Bahrain | 15.2 | 14.5 | 13.5 | 12.3 | 10.9 | 9.5 | 8.2 | 7 | 6.1 | 5.3 | 4.7 | 4.2 | 3.7 | 3.2 | 2.8 | 2.4 | 2.1 | 1.8 | 1.6 | 1.5 | 1.4 | 1.3 | 1.2 | 1.2 | 1.1 | 1.1 | |
Bangladesh | 63.4 | 61 | 58.7 | 56.4 | 54 | 51.8 | 49.6 | 47.7 | 45.9 | 44.2 | 42.6 | 41 | 39.6 | 38.2 | 36.8 | 35.5 | 34.2 | 32.8 | 31.5 | 30.2 | 28.9 | 27.6 | 26.3 | 25.2 | 24.2 | 23.3 | |
Barbados | 11.6 | 11 | 10.4 | 9.9 | 9.5 | 9.2 | 8.9 | 8.7 | 8.6 | 8.6 | 8.7 | 8.8 | 9.2 | 9.5 | 9.8 | 10 | 9.9 | 9.8 | 9.5 | 9.3 | 9.1 | 8.9 | 8.7 | 8.4 | 8.2 | 8 | |
Belarus | 9.3 | 9.2 | 9.3 | 9.5 | 9.6 | 9.7 | 9.8 | 9.5 | 9 | 8.3 | 7.4 | 6.6 | 5.9 | 5.3 | 4.7 | 4.2 | 3.7 | 3.2 | 2.8 | 2.5 | 2.3 | 2.2 | 2.1 | 2 | 1.9 | 1.9 | |
Belgium | 4.6 | 4.4 | 4.2 | 4.1 | 3.9 | 3.8 | 3.6 | 3.5 | 3.3 | 3.1 | 3 | 2.9 | 2.8 | 2.8 | 2.7 | 2.6 | 2.6 | 2.5 | 2.4 | 2.4 | 2.3 | 2.3 | 2.3 | 2.2 | 2.2 | 2.2 | |
Belize | 18.9 | 18.2 | 17.4 | 16.6 | 15.8 | 15.1 | 14.5 | 13.9 | 13.4 | 13 | 12.6 | 12.2 | 11.8 | 11.5 | 11.2 | 11 | 10.7 | 10.4 | 10.1 | 9.9 | 9.6 | 9.4 | 9.1 | 8.9 | 8.6 | 8.3 | |
Benin | 46.3 | 45.4 | 44.4 | 43.6 | 42.9 | 42.3 | 41.9 | 41.4 | 40.9 | 40.3 | 39.6 | 38.6 | 37.8 | 36.9 | 36.1 | 35.5 | 35 | 34.5 | 34.1 | 33.8 | 33.5 | 33.3 | 32.9 | 32.6 | 32.2 | 31.8 | |
Bhutan | 44 | 42.9 | 42 | 40.8 | 39.7 | 38.5 | 37.4 | 36.2 | 35.1 | 33.9 | 32.7 | 31.8 | 30.7 | 29.8 | 28.8 | 27.7 | 26.6 | 25.5 | 24.4 | 23.3 | 22.2 | 21.3 | 20.4 | 19.7 | 19.1 | 18.3 | |
Bolivia | 42 | 40.9 | 39.9 | 39 | 38.1 | 37 | 35.6 | 34 | 32.5 | 31 | 29.9 | 29 | 28.4 | 28 | 27.6 | 27.1 | 26.3 | 25.3 | 24.4 | 23.4 | 22.6 | 21.9 | 21.2 | 20.7 | 20.1 | 19.6 | |
Bosnia & Herzegovina | 11.3 | 11.1 | 10.9 | 10.5 | 10 | 9.5 | 9 | 8.4 | 7.8 | 7.2 | 6.6 | 6.1 | 5.7 | 5.4 | 5.2 | 5.1 | 5.1 | 5.1 | 5.1 | 5.2 | 5.1 | 5 | 4.7 | 4.5 | 4.2 | 4 | |
Botswana | 25.9 | 25.7 | 25.4 | 25.2 | 25 | 24.7 | 24.4 | 24.2 | 24 | 23.9 | 24 | 24.3 | 24.7 | 25.1 | 25.4 | 25.5 | 25.5 | 25.3 | 25 | 24.6 | 24.2 | 23.7 | 23.3 | 22.9 | 22.4 | 21.9 | |
Brazil | 24.3 | 23.3 | 22.4 | 21.5 | 20.7 | 20 | 19.3 | 18.5 | 17.8 | 17 | 16 | 14.9 | 13.9 | 13 | 12.2 | 11.5 | 10.8 | 10.4 | 10.3 | 10.5 | 10.7 | 10.8 | 10.7 | 10.3 | 9.6 | 8.9 | |
Brunei | 6.4 | 6.2 | 6 | 5.8 | 5.6 | 5.4 | 5.2 | 5.1 | 5 | 4.9 | 4.9 | 4.9 | 4.9 | 4.9 | 4.9 | 4.9 | 4.9 | 4.8 | 4.7 | 4.7 | 4.6 | 4.5 | 4.4 | 4.3 | 4.3 | 4.3 | |
Bulgaria | 11.6 | 11.9 | 12.1 | 12.2 | 12.2 | 12.2 | 12.3 | 12.3 | 12.2 | 11.8 | 11.3 | 10.8 | 10.3 | 9.8 | 9.2 | 8.6 | 8.1 | 7.7 | 7.4 | 7.2 | 7.1 | 6.8 | 6.5 | 6.2 | 5.9 | 5.6 | |
Burkina Faso | 46.3 | 45.8 | 45.4 | 45 | 44.6 | 44.3 | 44 | 43.8 | 43.5 | 43 | 42.4 | 41.7 | 40.8 | 39.6 | 38.3 | 36.7 | 35.2 | 33.9 | 32.7 | 31.6 | 30.4 | 29.4 | 28.6 | 27.9 | 27.2 | 26.7 | |
Burundi | 42 | 42.1 | 42.1 | 42 | 41.9 | 41.7 | 41.3 | 40.9 | 40.5 | 39.9 | 39.4 | 38.9 | 38.3 | 37.7 | 36.9 | 36 | 35.2 | 34.2 | 33.3 | 32.3 | 31.7 | 31 | 30.4 | 29.8 | 29.3 | 28.6 | |
Cambodia | 40.7 | 40.3 | 40 | 40 | 39.9 | 39.9 | 39.8 | 39.5 | 38.8 | 37.6 | 36.1 | 34.2 | 32 | 30.1 | 28.3 | 26.8 | 25.5 | 24.3 | 23.1 | 21.9 | 20.7 | 19.4 | 18.2 | 16.9 | 15.7 | 14.8 | |
Cameroon | 40.7 | 40.5 | 40.4 | 40.2 | 40 | 39.7 | 39.3 | 38.6 | 37.5 | 36.1 | 34.7 | 33.5 | 32.5 | 31.7 | 31.1 | 30.7 | 30.2 | 29.6 | 29 | 28.5 | 28.1 | 27.5 | 26.9 | 26.5 | 26.1 | 25.7 | |
Canada | 4.4 | 4.3 | 4.2 | 4.1 | 4.1 | 4.1 | 4 | 3.9 | 3.8 | 3.7 | 3.7 | 3.8 | 3.8 | 3.9 | 4 | 4 | 4 | 3.9 | 3.8 | 3.8 | 3.7 | 3.6 | 3.5 | 3.4 | 3.3 | 3.2 | |
Cape Verde | 22.1 | 22.1 | 22 | 22 | 22 | 21.7 | 21.3 | 20.6 | 19.6 | 18.5 | 17.3 | 15.9 | 14.8 | 14.2 | 13.9 | 13.8 | 13.9 | 14 | 14.1 | 14.1 | 13.9 | 13.7 | 13.3 | 12.9 | 12.6 | 12.2 | |
Central African Republic | 51.3 | 51 | 50.6 | 50.3 | 49.9 | 49.7 | 49.5 | 49.3 | 49.2 | 49.1 | 49 | 48.9 | 48.7 | 48.5 | 48.4 | 48.1 | 47.9 | 47.8 | 47.4 | 47 | 46.4 | 45.7 | 44.9 | 44.2 | 43.3 | 42.6 | |
Chad | 53.9 | 52.9 | 52 | 51.3 | 50.8 | 50.4 | 49.8 | 49.2 | 48.3 | 47.4 | 46.7 | 46.2 | 45.8 | 45.5 | 45.2 | 44.8 | 44.5 | 44.1 | 43.7 | 43.1 | 42.5 | 41.8 | 41.1 | 40.5 | 39.9 | 39.3 | |
Chile | 8.6 | 8 | 7.4 | 7.1 | 6.8 | 6.5 | 6.4 | 6.3 | 6.2 | 6 | 5.7 | 5.5 | 5.3 | 5.3 | 5.4 | 5.4 | 5.5 | 5.5 | 5.5 | 5.5 | 5.4 | 5.4 | 5.3 | 5.2 | 5.1 | 4.9 | |
China | 29.7 | 29.7 | 29.4 | 28.8 | 28 | 26.9 | 25.7 | 24.4 | 23.3 | 22.2 | 21.2 | 20.1 | 18.6 | 17.1 | 15.5 | 14 | 12.6 | 11.3 | 10.1 | 9.1 | 8.2 | 7.5 | 6.9 | 6.3 | 5.9 | 5.5 | |
Colombia | 17.9 | 17.6 | 17.2 | 16.8 | 16.3 | 15.9 | 15.4 | 14.9 | 14.4 | 14 | 13.5 | 13.1 | 12.7 | 12.3 | 12 | 11.7 | 11.4 | 11 | 10.7 | 10.4 | 10 | 9.7 | 9.4 | 9.1 | 8.8 | 8.5 | |
Comoros | 50.1 | 48.3 | 46.7 | 45.6 | 44.7 | 44 | 43.6 | 43 | 42.6 | 42.2 | 41.8 | 41.8 | 41.6 | 41.3 | 40.9 | 40.7 | 40.2 | 39.7 | 38.9 | 38.2 | 37.6 | 36.9 | 36.2 | 35.5 | 34.7 | 34 | |
Congo | 29.1 | 29.3 | 29.7 | 30.2 | 30.8 | 31.5 | 32.1 | 32.7 | 33.2 | 33.3 | 33.2 | 32.7 | 31.9 | 30.9 | 29.6 | 28.4 | 27.1 | 25.7 | 24.4 | 23.1 | 21.9 | 20.9 | 19.9 | 19.2 | 18.6 | 18 | |
Congo DR | 41.6 | 41.3 | 41 | 40.7 | 40.4 | 40.2 | 40 | 39.8 | 39.3 | 39 | 38.7 | 38.4 | 38 | 37.6 | 37.1 | 36.5 | 35.7 | 35 | 34.3 | 33.6 | 32.9 | 32.3 | 31.7 | 31.2 | 30.6 | 30.1 | |
Cook Islands | 13.2 | 13 | 12.8 | 12.6 | 12.2 | 11.8 | 11.3 | 10.7 | 10.1 | 9.6 | 9.1 | 8.6 | 8.2 | 7.8 | 7.4 | 7 | 6.6 | 6.2 | 5.9 | 5.6 | 5.3 | 5.1 | 4.9 | 4.7 | 4.5 | 4.4 | |
Costa Rica | 8.9 | 8.8 | 8.8 | 8.8 | 8.7 | 8.6 | 8.5 | 8.4 | 8.2 | 8 | 7.7 | 7.4 | 7.2 | 7.1 | 7 | 7 | 6.9 | 6.8 | 6.7 | 6.6 | 6.6 | 6.5 | 6.5 | 6.4 | 6.3 | 6.2 | |
Cote d Ivoire | 50.5 | 50.4 | 50.6 | 50.9 | 51.1 | 51.3 | 51.3 | 51.1 | 50.8 | 50.4 | 49.9 | 49.3 | 48.7 | 47.9 | 47.1 | 46.1 | 45.2 | 44.2 | 43.4 | 42.6 | 41.8 | 41 | 40.2 | 39.4 | 38.6 | 37.9 | |
Croatia | 8.1 | 8 | 7.8 | 7.4 | 6.9 | 6.4 | 6 | 5.7 | 5.7 | 5.7 | 5.5 | 5.3 | 5 | 4.7 | 4.5 | 4.2 | 4 | 3.9 | 3.8 | 3.7 | 3.5 | 3.3 | 3.1 | 2.9 | 2.7 | 2.6 | |
Cuba | 6.7 | 6.4 | 6.2 | 6 | 5.9 | 5.6 | 5.2 | 4.7 | 4.3 | 4.2 | 4.2 | 4.1 | 4 | 3.8 | 3.6 | 3.4 | 3.2 | 3.1 | 2.9 | 2.8 | 2.7 | 2.6 | 2.5 | 2.4 | 2.4 | 2.3 | |
Cyprus | 5.6 | 5.5 | 5.3 | 5.1 | 4.8 | 4.5 | 4.2 | 4 | 3.7 | 3.5 | 3.2 | 3 | 2.8 | 2.6 | 2.5 | 2.4 | 2.3 | 2.2 | 2.1 | 2 | 1.9 | 1.8 | 1.7 | 1.6 | 1.5 | 1.5 | |
Czech Republic | 10.3 | 9.7 | 8.9 | 8.1 | 7.3 | 6.5 | 5.8 | 5.2 | 4.6 | 4.2 | 3.9 | 3.7 | 3.5 | 3.4 | 3.3 | 3.1 | 3 | 2.8 | 2.7 | 2.5 | 2.4 | 2.3 | 2.1 | 2 | 1.9 | 1.8 | |
Denmark | 4.4 | 4.2 | 4.1 | 4 | 3.9 | 3.8 | 3.8 | 3.7 | 3.7 | 3.6 | 3.5 | 3.4 | 3.3 | 3.2 | 3.1 | 3.1 | 3 | 2.9 | 2.9 | 2.8 | 2.8 | 2.7 | 2.7 | 2.6 | 2.6 | 2.5 | |
Djibouti | 49.8 | 49.3 | 49 | 48.6 | 48 | 47.4 | 46.7 | 46 | 45.2 | 44.7 | 44.1 | 43.6 | 43 | 42.3 | 41.7 | 41.1 | 40.4 | 39.7 | 39 | 38.2 | 37.4 | 36.7 | 35.9 | 35.2 | 34.2 | 33.4 | |
Dominica | 10.5 | 10.5 | 10.7 | 10.8 | 10.9 | 10.9 | 11 | 11.1 | 11.1 | 11.2 | 11.2 | 11.2 | 11.2 | 11.2 | 11.3 | 11.5 | 11.8 | 12.2 | 12.7 | 13.2 | 13.9 | 14.6 | 15.1 | 15.5 | 15.6 | 15.6 | |
Dominican Republic | 24.6 | 24.2 | 23.9 | 23.7 | 23.7 | 23.7 | 23.8 | 24 | 24.1 | 24.1 | 24.1 | 24 | 23.9 | 23.8 | 23.7 | 23.8 | 23.8 | 23.9 | 23.8 | 23.7 | 23.5 | 23.3 | 23 | 22.6 | 22.1 | 21.7 | |
Ecuador | 24.2 | 23.4 | 22.6 | 21.9 | 21.2 | 20.4 | 19.7 | 19.1 | 18.5 | 17.9 | 17.3 | 16.7 | 16.1 | 15.6 | 15.1 | 14.6 | 14.2 | 13.8 | 13.4 | 13 | 12.6 | 12.2 | 11.8 | 11.4 | 11.1 | 10.8 | |
Egypt | 33.4 | 32 | 30.7 | 29.4 | 28.1 | 26.9 | 25.9 | 24.9 | 24 | 23.1 | 22.3 | 21.5 | 20.8 | 20.2 | 19.5 | 19 | 18.4 | 17.6 | 16.9 | 16.2 | 15.5 | 14.9 | 14.3 | 13.8 | 13.3 | 12.8 | |
El Salvador | 22.5 | 21.8 | 21 | 20.2 | 19.3 | 18.4 | 17.5 | 16.7 | 15.9 | 15.3 | 14.4 | 13.6 | 12.9 | 12.3 | 11.8 | 11.3 | 10.9 | 10.6 | 10.3 | 10 | 9.8 | 9.5 | 9.2 | 8.9 | 8.6 | 8.3 | |
Equatorial Guinea | 50.6 | 49.8 | 49.4 | 48.9 | 48.1 | 47.6 | 47 | 46.2 | 45.7 | 45.3 | 44.8 | 44 | 43.3 | 42.6 | 41.8 | 40.8 | 39.7 | 38.6 | 37.8 | 37.1 | 36.4 | 35.7 | 35.1 | 34.4 | 33.7 | 33.1 | |
Eritrea | 33.6 | 32.8 | 32.2 | 31.7 | 31.1 | 30.4 | 29.5 | 28.6 | 27.7 | 26.9 | 26.3 | 25.7 | 25.2 | 24.7 | 24.1 | 23.4 | 22.9 | 22.2 | 21.6 | 21.1 | 20.5 | 20 | 19.6 | 19.2 | 18.8 | 18.4 | |
Estonia | 13.8 | 13.4 | 12.8 | 12.1 | 11.3 | 10.3 | 9.3 | 8.3 | 7.5 | 6.8 | 6.3 | 5.7 | 5.3 | 4.8 | 4.4 | 4 | 3.7 | 3.4 | 3.1 | 2.8 | 2.5 | 2.3 | 2 | 1.8 | 1.7 | 1.5 | |
Ethiopia | 60.9 | 60 | 58.9 | 57.5 | 56.1 | 54.7 | 53.2 | 51.8 | 50.5 | 49.5 | 48.4 | 47.2 | 45.9 | 44.4 | 42.7 | 40.9 | 39 | 37.3 | 35.5 | 33.9 | 32.5 | 31.4 | 30.4 | 29.3 | 28.5 | 27.7 | |
Federated States of Micronesia | 26.2 | 26 | 25.9 | 26 | 26 | 26.1 | 26.3 | 26.3 | 26.2 | 26 | 25.7 | 25.3 | 25 | 24.5 | 24 | 23.5 | 23 | 22.6 | 22.1 | 21.7 | 21.2 | 20.7 | 20.2 | 19.7 | 19.2 | 18.8 | |
Fiji | 17 | 16.5 | 16 | 15.6 | 15.2 | 14.9 | 14.7 | 14.4 | 14.2 | 14.1 | 13.9 | 13.7 | 13.5 | 13.2 | 12.9 | 12.5 | 11.8 | 11.1 | 10.7 | 10.4 | 10.3 | 10.3 | 10.2 | 10 | 9.8 | 9.6 | |
Finland | 3.9 | 3.7 | 3.6 | 3.4 | 3.2 | 3.1 | 2.9 | 2.8 | 2.7 | 2.6 | 2.5 | 2.4 | 2.3 | 2.2 | 2.2 | 2.1 | 2 | 2 | 1.9 | 1.8 | 1.7 | 1.6 | 1.5 | 1.4 | 1.3 | 1.3 | |
France | 3.6 | 3.4 | 3.2 | 3.1 | 3.1 | 3.1 | 3.1 | 3 | 2.9 | 2.8 | 2.8 | 2.7 | 2.7 | 2.6 | 2.5 | 2.4 | 2.3 | 2.3 | 2.3 | 2.3 | 2.3 | 2.2 | 2.2 | 2.3 | 2.3 | 2.2 | |
Gabon | 31.7 | 31.6 | 31.4 | 31.2 | 31 | 30.7 | 30.5 | 30.3 | 30.1 | 30 | 29.8 | 29.6 | 29.3 | 28.8 | 28.5 | 28.2 | 27.8 | 27.4 | 27 | 26.4 | 25.9 | 25.3 | 24.7 | 24.2 | 23.8 | 23.2 | |
Gambia The | 50.7 | 49.8 | 48.5 | 47.5 | 46.7 | 45.7 | 44.8 | 44.1 | 43.3 | 42.5 | 41.7 | 40.6 | 39.9 | 39.1 | 38.4 | 37.3 | 36.2 | 35.3 | 34.6 | 33.9 | 33.2 | 32.7 | 32.1 | 31.4 | 30.7 | 29.9 | |
Georgia | 24.7 | 24.7 | 24.6 | 24.5 | 24.2 | 23.9 | 23.6 | 23.1 | 22.4 | 21.8 | 21 | 20 | 18.7 | 17.4 | 16.1 | 14.8 | 13.7 | 12.6 | 11.6 | 10.8 | 10 | 9.3 | 8.7 | 8.2 | 7.6 | 7.2 | |
Germany | 3.4 | 3.5 | 3.5 | 3.3 | 3.2 | 3.1 | 3 | 2.9 | 2.9 | 2.8 | 2.8 | 2.7 | 2.7 | 2.7 | 2.6 | 2.6 | 2.6 | 2.5 | 2.4 | 2.4 | 2.3 | 2.3 | 2.3 | 2.2 | 2.2 | 2.1 | |
Ghana | 42.3 | 41.4 | 40.7 | 40.1 | 39.6 | 39.2 | 38.7 | 38.2 | 37.8 | 37.1 | 36.4 | 35.7 | 34.9 | 34.4 | 33.9 | 33.6 | 33.4 | 33.1 | 32.8 | 32.4 | 31.9 | 31.2 | 30.5 | 29.7 | 29 | 28.3 | |
Greece | 9.5 | 9 | 8.6 | 8.4 | 8.1 | 7.8 | 7.5 | 7.1 | 6.6 | 6.1 | 5.6 | 5.1 | 4.7 | 4.3 | 3.9 | 3.6 | 3.4 | 3.2 | 3.1 | 3.1 | 3 | 3 | 3 | 3 | 3 | 2.9 | |
Grenada | 13.2 | 12.6 | 11.8 | 11 | 10.1 | 9.3 | 8.7 | 8.2 | 7.9 | 7.8 | 7.7 | 7.6 | 7.5 | 7.5 | 7.4 | 7.3 | 7.2 | 7.1 | 7 | 6.9 | 6.8 | 6.7 | 6.5 | 6.4 | 6.2 | 6 | |
Guatemala | 29 | 28 | 27.1 | 26.3 | 25.4 | 24.6 | 23.8 | 23.1 | 22.4 | 21.6 | 21 | 20.3 | 19.6 | 19.1 | 18.5 | 17.9 | 17.5 | 17 | 16.6 | 16.2 | 15.8 | 15.3 | 14.8 | 14.3 | 13.8 | 13.4 | |
Guinea | 62.9 | 61.6 | 60.5 | 59.8 | 59.3 | 58.7 | 57.7 | 56.2 | 54 | 51.1 | 48.3 | 46.1 | 44.5 | 43.3 | 42.1 | 40.9 | 39.4 | 37.7 | 36.4 | 35.3 | 34.6 | 33.9 | 33.2 | 32.6 | 31.8 | 31.3 | |
Guinea-Bissau | 65.4 | 64.7 | 64.2 | 63.6 | 62.6 | 61.6 | 60.6 | 59.5 | 58.3 | 57.1 | 55.7 | 54.6 | 53.6 | 52.5 | 51.9 | 51.1 | 50.4 | 49.3 | 48.2 | 46.9 | 45.5 | 44.2 | 42.8 | 41.6 | 40.6 | 39.7 | |
Guyana | 30.1 | 30 | 29.8 | 29.5 | 29.2 | 28.8 | 28.4 | 27.9 | 27.3 | 26.6 | 26 | 25.5 | 25.1 | 24.8 | 24.6 | 24.4 | 24.2 | 24.1 | 24.1 | 24 | 23.9 | 23.8 | 23.7 | 23.5 | 23.2 | 22.8 | |
Haiti | 39.2 | 37.5 | 36.2 | 35.2 | 34.3 | 33.6 | 32.8 | 32.1 | 31.5 | 31 | 30.6 | 30.3 | 30.2 | 30.2 | 30.1 | 29.8 | 29.4 | 29 | 28.5 | 28.1 | 29.9 | 27.3 | 26.9 | 26.5 | 26 | 25.4 | |
Honduras | 21.6 | 20.8 | 20.1 | 19.6 | 19.2 | 18.9 | 18.7 | 18.5 | 18.5 | 17.9 | 17.6 | 17.3 | 17 | 16.5 | 16.1 | 15.7 | 15.3 | 14.8 | 14.3 | 13.7 | 13.1 | 12.6 | 12.2 | 11.8 | 11.4 | 11 | |
Hungary | 13.6 | 12.8 | 11.9 | 10.8 | 9.9 | 9.1 | 8.5 | 8.1 | 7.7 | 7.4 | 7 | 6.6 | 6.1 | 5.7 | 5.3 | 5 | 4.8 | 4.6 | 4.4 | 4.2 | 4 | 3.9 | 3.8 | 3.7 | 3.6 | 3.5 | |
Iceland | 3.5 | 3.3 | 3.1 | 3 | 2.8 | 2.7 | 2.6 | 2.5 | 2.3 | 2.2 | 2.1 | 2 | 1.8 | 1.7 | 1.6 | 1.5 | 1.4 | 1.3 | 1.3 | 1.2 | 1.2 | 1.1 | 1.1 | 1 | 1 | 0.9 | |
India | 57.4 | 56.1 | 54.8 | 53.7 | 52.5 | 51.4 | 50.3 | 49 | 47.8 | 46.5 | 45.1 | 43.7 | 42.3 | 40.9 | 39.5 | 38.3 | 37.1 | 36 | 34.9 | 33.8 | 32.7 | 31.6 | 30.6 | 29.5 | 28.6 | 27.7 | |
Indonesia | 30.3 | 29.6 | 28.9 | 28.2 | 27.4 | 26.5 | 25.6 | 24.7 | 23.9 | 23.1 | 22.3 | 21.6 | 20.9 | 20.3 | 19.8 | 19.2 | 18.6 | 18.1 | 17.6 | 17.1 | 16.4 | 15.7 | 15.1 | 14.5 | 14 | 13.5 | |
Iran | 26.5 | 25.6 | 24.8 | 24 | 23.3 | 22.6 | 22 | 21.3 | 20.6 | 19.9 | 19.2 | 18.4 | 17.5 | 16.8 | 16 | 15.3 | 14.6 | 13.9 | 13.1 | 12.4 | 11.7 | 11.2 | 10.7 | 10.2 | 9.8 | 9.5 | |
Iraq | 27.1 | 26.6 | 26.2 | 25.9 | 25.6 | 25.3 | 25.1 | 24.9 | 24.7 | 24.5 | 24.3 | 24 | 23.7 | 23.4 | 23 | 22.6 | 22.3 | 21.9 | 21.5 | 21.1 | 20.7 | 20.4 | 20 | 19.5 | 19 | 18.4 | |
Ireland | 4.7 | 4.6 | 4.5 | 4.4 | 4.3 | 4.2 | 4.1 | 4.1 | 4.1 | 4.1 | 4 | 3.9 | 3.7 | 3.5 | 3.2 | 3 | 2.8 | 2.6 | 2.5 | 2.5 | 2.5 | 2.5 | 2.5 | 2.4 | 2.3 | 2.3 | |
Israel | 6.3 | 5.9 | 5.5 | 5.1 | 4.7 | 4.5 | 4.2 | 4 | 3.8 | 3.7 | 3.6 | 3.5 | 3.3 | 3.2 | 2.9 | 2.7 | 2.5 | 2.5 | 2.4 | 2.4 | 2.4 | 2.4 | 2.3 | 2.3 | 2.2 | 2.1 | |
Italy | 6.4 | 6.1 | 5.6 | 5.3 | 5 | 4.7 | 4.5 | 4.2 | 3.9 | 3.7 | 3.4 | 3.2 | 3.1 | 2.9 | 2.8 | 2.7 | 2.6 | 2.5 | 2.5 | 2.5 | 2.4 | 2.4 | 2.3 | 2.2 | 2.1 | 2.1 | |
Jamaica | 20.6 | 20.3 | 20 | 19.7 | 19.3 | 18.9 | 18.6 | 18.3 | 17.9 | 17.5 | 17 | 16.5 | 16 | 15.5 | 15.1 | 14.7 | 14.5 | 14.3 | 14 | 13.7 | 13.5 | 13.1 | 12.7 | 12.4 | 12 | 11.6 | |
Japan | 2.5 | 2.5 | 2.4 | 2.3 | 2.2 | 2.2 | 2.1 | 2 | 1.9 | 1.8 | 1.8 | 1.7 | 1.7 | 1.6 | 1.5 | 1.4 | 1.3 | 1.3 | 1.2 | 1.2 | 1.1 | 1 | 1 | 1 | 1 | 0.9 | |
Jordan | 20.2 | 19.7 | 19.3 | 18.9 | 18.5 | 18.1 | 17.8 | 17.5 | 17.3 | 17 | 16.6 | 16.3 | 15.9 | 15.4 | 15 | 14.5 | 14.1 | 13.6 | 13.3 | 12.9 | 12.5 | 12.1 | 11.7 | 11.3 | 11 | 10.6 | |
Kazakhstan | 22.3 | 22.3 | 22.4 | 22.7 | 22.9 | 22.8 | 22.6 | 22.2 | 21.5 | 20.9 | 20.1 | 19.4 | 18.6 | 17.9 | 17.2 | 16.2 | 15.1 | 14 | 12.9 | 11.8 | 10.7 | 9.8 | 8.9 | 8.1 | 7.5 | 7 | |
Kenya | 27.4 | 27.2 | 27.2 | 27.1 | 27.1 | 27.3 | 27.6 | 28 | 28.4 | 28.8 | 29.1 | 29.3 | 29.3 | 29.3 | 29.2 | 29 | 28.5 | 28 | 27.3 | 26.6 | 25.9 | 25.1 | 24.3 | 23.6 | 22.9 | 22.2 | |
Kiribati | 36.1 | 35.2 | 34.4 | 33.7 | 33.1 | 32.5 | 31.9 | 31.1 | 30.4 | 29.7 | 28.9 | 28.2 | 27.5 | 26.9 | 26.5 | 26.2 | 26 | 26 | 26 | 25.9 | 25.7 | 25.3 | 24.9 | 24.6 | 24.1 | 23.7 | |
Korea DPR | 21.9 | 23.7 | 25.7 | 27.8 | 29.5 | 30.9 | 31.7 | 31.7 | 30.9 | 29.4 | 27.3 | 24.8 | 22.3 | 20.2 | 18.7 | 17.7 | 17.4 | 17.4 | 17.5 | 17.3 | 16.9 | 16.2 | 15.5 | 14.8 | 14.1 | 13.5 | |
Korea Rep | 2.7 | 2.5 | 2.4 | 2.2 | 2.1 | 1.9 | 1.8 | 1.8 | 1.9 | 2.1 | 2.4 | 2.7 | 2.9 | 2.9 | 2.7 | 2.5 | 2.2 | 2 | 1.9 | 1.8 | 1.7 | 1.7 | 1.7 | 1.7 | 1.7 | 1.6 | |
Kuwait | 10.4 | 9.9 | 9.4 | 8.9 | 8.5 | 8.1 | 7.7 | 7.3 | 7 | 6.7 | 6.5 | 6.4 | 6.2 | 6 | 5.9 | 5.9 | 5.8 | 5.7 | 5.4 | 5.1 | 4.6 | 4.2 | 3.8 | 3.6 | 3.4 | 3.2 | |
Kyrgyzstan | 25.2 | 25.5 | 25.6 | 25.6 | 25.5 | 25.1 | 24.4 | 23.7 | 23.1 | 22.3 | 21.8 | 21.2 | 20.7 | 20.3 | 20 | 19.8 | 19.5 | 19 | 18.4 | 17.3 | 16.1 | 14.8 | 13.7 | 12.8 | 12.1 | 11.5 | |
Lao PDR | 54.7 | 53.5 | 52.2 | 51 | 49.8 | 48.6 | 47.4 | 46.4 | 45.3 | 44.4 | 43.3 | 42.3 | 41.4 | 40.3 | 39.3 | 38.3 | 37.2 | 36.3 | 35.3 | 34.5 | 33.6 | 32.7 | 32 | 31.3 | 30.7 | 30.1 | |
Latvia | 12 | 13.7 | 15 | 15.9 | 16.2 | 15.9 | 15.2 | 14 | 12.7 | 11.5 | 10.4 | 9.7 | 9.1 | 8.6 | 8.2 | 7.9 | 7.5 | 7.2 | 6.9 | 6.6 | 6.3 | 6 | 5.8 | 5.6 | 5.4 | 5.2 | |
Lebanon | 20.8 | 19.6 | 18.5 | 17.5 | 16.5 | 15.6 | 14.8 | 14 | 13.3 | 12.6 | 11.8 | 11.2 | 10.4 | 9.7 | 9 | 8.3 | 7.6 | 7.1 | 6.6 | 6.2 | 5.9 | 5.6 | 5.4 | 5.2 | 5 | 4.8 | |
Lesotho | 40.3 | 40.6 | 40.8 | 40.8 | 40.8 | 40.7 | 40.4 | 39.9 | 39.2 | 38.5 | 37.7 | 37 | 36.4 | 35.9 | 35.5 | 35.2 | 34.8 | 34.7 | 34.7 | 34.7 | 34.8 | 34.7 | 34.3 | 33.9 | 33.4 | 32.7 | |
Liberia | 57 | 55.5 | 54.3 | 52.9 | 52 | 51.1 | 50.3 | 49.1 | 47.4 | 45.6 | 43.7 | 41.7 | 39.7 | 37.9 | 36.2 | 34.5 | 32.9 | 31.3 | 29.9 | 28.6 | 27.6 | 26.8 | 26 | 25.3 | 24.7 | 24.1 | |
Libya | 20.9 | 20.3 | 19.6 | 19.1 | 18.5 | 17.9 | 17.2 | 16.6 | 16.1 | 15.6 | 15.1 | 14.7 | 14.2 | 13.7 | 13.1 | 12.4 | 11.7 | 10.8 | 10.1 | 9.5 | 8.9 | 8.5 | 8.1 | 7.8 | 7.5 | 7.2 | |
Lithuania | 9.5 | 11.1 | 12.5 | 12.8 | 11.3 | 9.3 | 7.8 | 6.8 | 6.2 | 5.8 | 5.5 | 5.3 | 5.2 | 5.2 | 5.2 | 5.1 | 4.8 | 4.4 | 4.1 | 3.7 | 3.4 | 3.2 | 2.9 | 2.7 | 2.6 | 2.5 | |
Luxembourg | 4.3 | 4 | 3.8 | 3.6 | 3.4 | 3.2 | 3 | 2.8 | 2.7 | 2.6 | 2.4 | 2.3 | 2.2 | 2 | 1.9 | 1.8 | 1.6 | 1.5 | 1.4 | 1.3 | 1.2 | 1.1 | 1.1 | 1 | 1 | 0.9 | |
Macedonia | 17.3 | 16.4 | 15.6 | 14.6 | 13.6 | 12.6 | 11.6 | 10.9 | 10.3 | 9.7 | 9.2 | 8.7 | 8.5 | 8.5 | 8.8 | 8.9 | 8.7 | 8.4 | 7.9 | 7.3 | 6.5 | 5.6 | 4.8 | 4.2 | 3.8 | 3.5 | |
Madagascar | 40.2 | 39.6 | 39.1 | 38.5 | 37.9 | 37.1 | 36.2 | 35.2 | 34.1 | 32.9 | 31.7 | 30.6 | 29.5 | 28.4 | 27.4 | 26.4 | 25.5 | 24.6 | 23.7 | 22.9 | 22.3 | 21.7 | 21.1 | 20.5 | 20.1 | 19.7 | |
Malawi | 48.6 | 47.1 | 45.7 | 44.4 | 43.4 | 42.6 | 41.8 | 40.8 | 39.5 | 37.8 | 35.8 | 33.7 | 31.7 | 30 | 28.6 | 27.7 | 27 | 26.7 | 26.5 | 26.2 | 25.7 | 24.9 | 24 | 23.2 | 22.4 | 21.8 | |
Malaysia | 9 | 8.5 | 8.1 | 7.7 | 7.4 | 7.1 | 6.8 | 6.6 | 6.2 | 5.8 | 5.3 | 4.9 | 4.6 | 4.4 | 4.3 | 4.2 | 4.2 | 4.3 | 4.4 | 4.3 | 4.3 | 4.2 | 4.1 | 4.1 | 4 | 3.9 | |
Maldives | 42.9 | 41.7 | 40.4 | 39 | 37.7 | 36.1 | 34.4 | 32.4 | 30.4 | 28.1 | 25.7 | 23.2 | 20.8 | 18.1 | 15.7 | 13.6 | 11.8 | 10.4 | 9.2 | 8.2 | 7.4 | 6.7 | 6.1 | 5.6 | 5.2 | 4.9 | |
Mali | 73.1 | 71.4 | 69.8 | 68.9 | 67.8 | 66.5 | 64.8 | 63 | 61.1 | 59.1 | 56.8 | 54.4 | 52.3 | 50.6 | 49.2 | 47.7 | 46.4 | 45.1 | 43.9 | 43 | 42.1 | 41.1 | 40.2 | 39.4 | 38.6 | 37.8 | |
Malta | 7.5 | 7.3 | 7.1 | 6.8 | 6.6 | 6.4 | 6.1 | 5.8 | 5.6 | 5.4 | 5.2 | 5 | 4.9 | 4.8 | 4.7 | 4.7 | 4.6 | 4.6 | 4.6 | 4.6 | 4.6 | 4.5 | 4.5 | 4.5 | 4.4 | 4.4 | |
Marshall Islands | 19.7 | 19.2 | 18.7 | 18.2 | 17.9 | 17.7 | 17.7 | 17.9 | 18.2 | 18.4 | 18.5 | 18.5 | 18.4 | 18.2 | 18.1 | 18.1 | 18 | 17.9 | 17.9 | 17.8 | 17.7 | 17.6 | 17.5 | 17.2 | 17 | 16.7 | |
Mauritania | 45.9 | 45.2 | 44.7 | 44.3 | 44.3 | 44.3 | 44.2 | 44 | 43.7 | 43.3 | 43 | 42.7 | 42.6 | 42.5 | 42.4 | 42.1 | 41.8 | 41.1 | 40.5 | 39.9 | 39.1 | 38.3 | 37.7 | 36.9 | 36.3 | 35.7 | |
Mauritius | 14.6 | 14.1 | 13.9 | 14 | 14.4 | 15 | 15.5 | 15.5 | 14.8 | 13.6 | 12.3 | 11 | 10.2 | 9.9 | 9.8 | 9.9 | 10 | 9.9 | 9.6 | 9.3 | 9.1 | 9.1 | 9 | 8.9 | 8.7 | 8.4 | |
Mexico | 20.6 | 19.4 | 18.3 | 17.2 | 16.2 | 15.3 | 14.2 | 13.1 | 12 | 11 | 10.1 | 9.3 | 8.6 | 8.1 | 7.9 | 7.8 | 7.5 | 6.9 | 6.6 | 6.9 | 7.7 | 8.2 | 8.1 | 7.7 | 7.4 | 7 | |
Moldova | 18.6 | 18.9 | 19.6 | 20.4 | 21.4 | 22.3 | 23 | 23.3 | 23.1 | 22.3 | 20.7 | 18.9 | 17.1 | 15.6 | 14.5 | 13.8 | 13.3 | 13.2 | 13.1 | 13 | 12.9 | 12.8 | 12.6 | 12.4 | 12.1 | 11.9 | |
Monaco | 4.2 | 4 | 3.8 | 3.7 | 3.5 | 3.4 | 3.2 | 3.1 | 3 | 2.9 | 2.8 | 2.7 | 2.6 | 2.5 | 2.5 | 2.4 | 2.4 | 2.3 | 2.3 | 2.2 | 2.2 | 2.1 | 2.1 | 2 | 2 | 1.9 | |
Mongolia | 31.8 | 31.9 | 31.8 | 31.7 | 31.4 | 30.9 | 30 | 29 | 27.9 | 26.8 | 25.7 | 24.6 | 23.5 | 22.3 | 21.2 | 20.1 | 19.2 | 18.2 | 17.2 | 16 | 14.9 | 13.9 | 13 | 12.3 | 11.7 | 11.1 | |
Montenegro | 10.9 | 10.4 | 10.1 | 10 | 9.9 | 9.8 | 9.8 | 9.7 | 9.5 | 9.3 | 9 | 8.7 | 8.3 | 7.8 | 7.4 | 6.8 | 6.4 | 5.9 | 5.4 | 5 | 4.5 | 4.1 | 3.8 | 3.5 | 3.3 | 3.1 | |
Morocco | 36.5 | 35.6 | 34.7 | 33.9 | 33 | 32.1 | 31.1 | 30.1 | 29.2 | 28.3 | 27.5 | 26.9 | 26.2 | 25.5 | 24.9 | 24.3 | 23.8 | 23.2 | 22.6 | 21.9 | 21.1 | 20.3 | 19.6 | 18.9 | 18.2 | 17.6 | |
Mozambique | 61.5 | 60.5 | 59.6 | 58.4 | 57.1 | 55.5 | 53.8 | 51.6 | 49.1 | 46.6 | 44.1 | 41.9 | 39.8 | 38.1 | 36.6 | 35.2 | 34.1 | 33.1 | 32.3 | 31.4 | 30.6 | 29.8 | 29.1 | 28.4 | 27.8 | 27.1 | |
Myanmar | 46.6 | 46 | 45.2 | 44.3 | 43.4 | 42.3 | 41.2 | 40.2 | 39.3 | 38.3 | 37.3 | 36.5 | 35.6 | 34.9 | 34.2 | 33.5 | 32.8 | 32.1 | 31.7 | 30.5 | 29.7 | 29 | 28.4 | 27.7 | 27 | 26.4 | |
Namibia | 27.7 | 27 | 26.1 | 25.2 | 24.3 | 23.3 | 22.5 | 21.7 | 21 | 20.3 | 19.6 | 18.9 | 18.3 | 17.8 | 17.4 | 17.1 | 17 | 17.1 | 17.1 | 17.1 | 17.1 | 16.9 | 16.7 | 16.4 | 16.1 | 15.9 | |
Nauru | 28.8 | 28.3 | 27.7 | 27.3 | 26.9 | 26.7 | 26.4 | 25.9 | 25.5 | 25.1 | 24.8 | 24.6 | 24.5 | 24.5 | 24.5 | 24.5 | 24.5 | 24.6 | 24.7 | 24.6 | 24.6 | 24.2 | 23.8 | 23.5 | 23.1 | 22.7 | |
Nepal | 58.5 | 56.2 | 54 | 51.9 | 49.8 | 47.7 | 45.8 | 44 | 42.4 | 40.8 | 39.3 | 37.8 | 36.5 | 35.1 | 33.8 | 32.5 | 31.3 | 30.1 | 29 | 27.8 | 26.7 | 25.6 | 24.7 | 23.8 | 23 | 22.2 | |
Netherlands | 4.6 | 4.5 | 4.4 | 4.3 | 4.2 | 4.1 | 4 | 3.9 | 3.9 | 3.9 | 3.8 | 3.8 | 3.7 | 3.6 | 3.5 | 3.4 | 3.3 | 3.2 | 3 | 2.9 | 2.8 | 2.7 | 2.6 | 2.5 | 2.4 | 2.4 | |
New Zealand | 4.3 | 4.2 | 4 | 3.8 | 3.6 | 3.5 | 3.5 | 3.5 | 3.5 | 3.5 | 3.5 | 3.4 | 3.4 | 3.3 | 3.2 | 3.1 | 3 | 3 | 3.1 | 3.2 | 3.3 | 3.4 | 3.3 | 3.3 | 3.2 | 3.1 | |
Nicaragua | 23.5 | 22.8 | 22.2 | 21.6 | 21 | 20.3 | 19.7 | 19 | 18.5 | 17.8 | 17.2 | 16.7 | 16.2 | 15.7 | 15 | 14.4 | 13.8 | 13.3 | 12.7 | 12.3 | 11.8 | 11.4 | 11 | 10.6 | 10.3 | 9.8 | |
Niger | 54.5 | 53.6 | 52.7 | 51.6 | 50.3 | 49.2 | 48 | 46.9 | 45.8 | 44.6 | 43.4 | 42.1 | 40.7 | 39.3 | 37.9 | 36.6 | 35.4 | 34.2 | 33 | 31.9 | 30.8 | 29.8 | 28.9 | 28.1 | 27.3 | 26.8 | |
Nigeria | 50.4 | 50.7 | 51.1 | 51.3 | 51.4 | 51.4 | 51.1 | 50.7 | 50.1 | 49.3 | 48.3 | 47.2 | 46.1 | 45 | 43.8 | 42.7 | 41.6 | 40.7 | 39.8 | 39 | 38.2 | 37.4 | 36.5 | 35.8 | 35 | 34.3 | |
Niue | 7.5 | 7.9 | 8.3 | 8.7 | 9.2 | 9.7 | 10.2 | 10.7 | 11.2 | 11.9 | 12.5 | 13.2 | 13.8 | 14.5 | 14.9 | 15.1 | 15.1 | 15 | 14.8 | 14.6 | 14.3 | 13.9 | 13.5 | 13.2 | 12.8 | 12.5 | |
Norway | 4 | 3.8 | 3.6 | 3.4 | 3.2 | 3.1 | 2.9 | 2.8 | 2.8 | 2.7 | 2.7 | 2.6 | 2.5 | 2.4 | 2.4 | 2.3 | 2.2 | 2.1 | 2 | 1.9 | 1.9 | 1.8 | 1.7 | 1.6 | 1.6 | 1.5 | |
Oman | 17.3 | 16 | 14.6 | 13.3 | 12.1 | 11 | 10.2 | 9.4 | 8.7 | 8.1 | 7.5 | 7 | 6.6 | 6.2 | 6 | 5.8 | 5.6 | 5.5 | 5.4 | 5.3 | 5.3 | 5.3 | 5.3 | 5.3 | 5.3 | 5.2 | |
Pakistan | 64.3 | 65.4 | 66.4 | 67.1 | 67 | 66.4 | 65.5 | 64.5 | 63.2 | 61.8 | 60.4 | 59 | 57.8 | 56.3 | 54.8 | 53.4 | 52.5 | 51.8 | 51.2 | 50.6 | 50 | 49.2 | 48.4 | 47.4 | 46.6 | 45.5 | |
Palau | 19.3 | 18.9 | 18.5 | 18.1 | 17.6 | 17 | 16.5 | 16 | 15.5 | 15 | 14.6 | 14.1 | 13.7 | 13.3 | 12.8 | 12.5 | 12 | 11.6 | 11.3 | 10.9 | 10.6 | 10.2 | 9.9 | 9.6 | 9.3 | 9 | |
Panama | 17.4 | 17 | 16.6 | 16.3 | 16.1 | 15.9 | 15.7 | 15.5 | 15.3 | 15 | 14.7 | 14.4 | 14 | 13.7 | 13.3 | 13 | 12.6 | 12.3 | 12 | 11.6 | 11.3 | 10.9 | 10.6 | 10.2 | 9.9 | 9.6 | |
Papua New Guinea | 31.8 | 31.6 | 31.4 | 31.3 | 31.1 | 30.9 | 30.8 | 30.6 | 30.4 | 30.2 | 30.1 | 29.9 | 29.8 | 29.7 | 29.5 | 29.2 | 28.9 | 28.5 | 28.1 | 27.7 | 27.1 | 26.5 | 26 | 25.4 | 24.9 | 24.5 | |
Paraguay | 22.7 | 22.1 | 21.6 | 21 | 20.5 | 19.9 | 19.5 | 19.1 | 18.6 | 18.3 | 17.7 | 17.2 | 16.7 | 16.3 | 15.8 | 15.4 | 14.9 | 14.4 | 13.9 | 13.5 | 13 | 12.6 | 12.2 | 11.8 | 11.4 | 10.9 | |
Peru | 27.8 | 26.8 | 25.9 | 24.8 | 23.6 | 22.3 | 20.8 | 19.3 | 18 | 16.8 | 15.8 | 15 | 14.3 | 13.6 | 13 | 12.5 | 12 | 11.6 | 11.1 | 10.7 | 10.2 | 9.8 | 9.4 | 8.9 | 8.6 | 8.2 | |
Philippines | 19.6 | 19 | 18.5 | 18.1 | 17.8 | 17.5 | 17.3 | 17.1 | 17 | 16.9 | 16.8 | 16.7 | 16.6 | 16.4 | 16.2 | 16 | 15.7 | 15.4 | 15 | 14.6 | 14.3 | 14 | 13.7 | 13.3 | 12.9 | 12.6 | |
Poland | 11.1 | 10.7 | 10.5 | 10.5 | 10.4 | 9.7 | 8.8 | 7.8 | 6.9 | 6.2 | 5.8 | 5.4 | 5.2 | 5 | 4.8 | 4.6 | 4.4 | 4.2 | 4 | 3.8 | 3.6 | 3.4 | 3.3 | 3.2 | 3.2 | 3.1 | |
Portugal | 7.2 | 6.6 | 6 | 5.5 | 5.1 | 4.7 | 4.3 | 4 | 3.8 | 3.5 | 3.4 | 3.2 | 3 | 2.8 | 2.6 | 2.3 | 2.2 | 2.1 | 2.1 | 2.1 | 2.1 | 2.1 | 2.1 | 2.1 | 2 | 2 | |
Qatar | 11.3 | 10.6 | 9.9 | 9.3 | 8.8 | 8.3 | 7.9 | 7.5 | 7.2 | 6.8 | 6.5 | 6.2 | 6 | 5.7 | 5.5 | 5.2 | 5 | 4.9 | 4.8 | 4.6 | 4.5 | 4.4 | 4.3 | 4.1 | 4 | 3.8 | |
Romania | 13.5 | 13.4 | 13.3 | 13.3 | 13.2 | 13.1 | 13.1 | 13.1 | 13.1 | 13.1 | 13.1 | 13 | 13 | 12.8 | 12.3 | 11.7 | 10.9 | 10 | 9.2 | 8.5 | 7.9 | 7.4 | 7.1 | 6.8 | 6.5 | 6.3 | |
Russian Federation | 14 | 14 | 14 | 14.2 | 14.3 | 14.3 | 14.1 | 13.8 | 13.5 | 13.1 | 12.5 | 11.9 | 11.2 | 10.5 | 9.7 | 9 | 8.3 | 7.7 | 7.2 | 6.7 | 6.3 | 6 | 5.7 | 5.4 | 5.2 | 5 | |
Rwanda | 40.8 | 41.2 | 42 | 43.3 | 46 | 46.1 | 45.4 | 45.8 | 45.6 | 44 | 42.3 | 40.3 | 38 | 35.7 | 33.4 | 31.2 | 29.5 | 28 | 26.7 | 25.5 | 24.3 | 22.9 | 21.6 | 20.4 | 19.5 | 18.7 | |
Saint Kitts & Nevis | 17.5 | 16.7 | 16 | 15.4 | 14.9 | 14.3 | 13.8 | 13.2 | 12.6 | 12.1 | 11.6 | 11.1 | 10.7 | 10.3 | 9.9 | 9.5 | 9.1 | 8.8 | 8.4 | 8.1 | 7.8 | 7.5 | 7.2 | 7 | 6.8 | 6.5 | |
Saint Lucia | 12.8 | 12.4 | 12.1 | 11.8 | 11.5 | 11.2 | 11.1 | 11 | 11 | 11.1 | 11.2 | 11.3 | 11.3 | 11.3 | 11.2 | 11.2 | 11.1 | 10.9 | 10.8 | 10.6 | 10.5 | 10.2 | 10 | 9.8 | 9.5 | 9.3 | |
Samoa | 16.7 | 16.2 | 15.7 | 15.1 | 14.5 | 14 | 13.5 | 13 | 12.6 | 12.1 | 11.7 | 11.4 | 11.1 | 10.8 | 10.6 | 10.5 | 10.4 | 10.3 | 10.2 | 10.2 | 10.2 | 10.1 | 10 | 9.9 | 9.7 | 9.5 | |
San Marino | 6.6 | 5.8 | 4.9 | 3.9 | 3.1 | 2.4 | 2 | 1.7 | 1.5 | 1.4 | 1.3 | 1.2 | 1.2 | 1.1 | 1 | 1 | 1 | 1 | 0.9 | 0.9 | 0.8 | 0.8 | 0.8 | 0.7 | 0.7 | 0.7 | |
Sao Tome & Principe | 28.4 | 28.2 | 28 | 27.7 | 27.3 | 26.9 | 26.3 | 25.9 | 25.5 | 25.1 | 24.5 | 23.9 | 23.3 | 22.7 | 22.2 | 21.6 | 21 | 20.5 | 20 | 19.5 | 19 | 18.6 | 18.2 | 17.8 | 17.5 | 17.1 | |
Saudi Arabia | 22.3 | 20.9 | 19.6 | 18.5 | 17.2 | 16 | 15.1 | 14.2 | 13.5 | 12.9 | 12.4 | 11.9 | 11.6 | 11.2 | 10.9 | 10.7 | 10.5 | 10.2 | 9.9 | 9.6 | 9.3 | 9 | 8.7 | 8.5 | 8.2 | 7.9 | |
Senegal | 40.2 | 40 | 39.9 | 40 | 40.1 | 40.3 | 40.4 | 40.3 | 40.1 | 39.6 | 38.9 | 37.9 | 36.7 | 35.4 | 34 | 32.5 | 31 | 29.6 | 28.1 | 26.8 | 25.5 | 24.3 | 23.2 | 22.2 | 21.5 | 20.8 | |
Serbia | 17.5 | 16 | 15 | 14.3 | 13.5 | 12.2 | 10.8 | 9.5 | 8.6 | 8 | 7.7 | 7.5 | 7.1 | 6.6 | 6 | 5.5 | 5.2 | 5.1 | 5 | 4.9 | 4.8 | 4.7 | 4.5 | 4.4 | 4.3 | 4.2 | |
Seychelles | 11.3 | 10.8 | 10.4 | 10.1 | 9.8 | 9.5 | 9.3 | 9.2 | 9.2 | 9.2 | 9.2 | 9.2 | 9.2 | 9.2 | 9.1 | 9.1 | 9.1 | 9 | 9 | 9 | 9 | 9 | 9 | 8.9 | 8.8 | 8.6 | |
Sierra Leone | 53.9 | 54 | 53.8 | 53.6 | 53.4 | 53 | 52.4 | 51.8 | 51.4 | 50.8 | 50.1 | 49.4 | 48.7 | 48.2 | 47.5 | 46.7 | 45.7 | 44.6 | 43.3 | 42 | 40.7 | 39.4 | 38.2 | 37 | 35.8 | 34.9 | |
Singapore | 4 | 3.5 | 3.1 | 2.7 | 2.4 | 2.3 | 2.1 | 2 | 1.9 | 1.8 | 1.6 | 1.5 | 1.4 | 1.3 | 1.3 | 1.3 | 1.2 | 1.2 | 1.2 | 1.2 | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 | 1 | |
Slovakia | 12.5 | 12 | 11.5 | 11 | 10.5 | 9.9 | 9.3 | 8.8 | 8.2 | 7.7 | 7.3 | 6.9 | 6.6 | 6.2 | 5.9 | 5.6 | 5.4 | 5.3 | 5.2 | 5.1 | 5 | 4.9 | 4.7 | 4.6 | 4.4 | 4.2 | |
Slovenia | 5.7 | 5.3 | 4.9 | 4.6 | 4.3 | 4 | 3.8 | 3.7 | 3.5 | 3.4 | 3.3 | 3.1 | 3 | 2.8 | 2.6 | 2.5 | 2.3 | 2.2 | 2.1 | 1.9 | 1.8 | 1.7 | 1.6 | 1.5 | 1.5 | 1.4 | |
Solomon Islands | 16 | 15.6 | 15.3 | 15 | 14.8 | 14.6 | 14.6 | 14.6 | 14.6 | 14.4 | 14.4 | 14.3 | 14.2 | 14.3 | 14.3 | 14.4 | 14.5 | 14.5 | 14.3 | 14 | 13.8 | 13.5 | 13.2 | 12.9 | 12.5 | 12.2 | |
Somalia | 45.1 | 44.6 | 44.5 | 44.1 | 44.1 | 44.2 | 44.2 | 44.2 | 44.2 | 44.4 | 44.5 | 44.9 | 45.2 | 45.4 | 45.4 | 45.3 | 45.2 | 44.8 | 44.3 | 43.6 | 43 | 42.4 | 41.9 | 41.2 | 40.5 | 39.7 | |
South Africa | 20.4 | 20 | 19.5 | 19.2 | 18.8 | 18.4 | 17.9 | 17.4 | 16.9 | 16.4 | 16 | 15.5 | 15.1 | 14.6 | 14.2 | 13.7 | 13.2 | 12.8 | 12.3 | 11.9 | 11.7 | 11.5 | 11.3 | 11.2 | 11.1 | 11 | |
South Sudan | 66.7 | 66.1 | 65.4 | 64.6 | 63.7 | 63.1 | 62.1 | 61.1 | 60.1 | 58.8 | 57.5 | 56 | 54.4 | 53 | 51.6 | 50.1 | 48.6 | 47.3 | 46 | 44.8 | 43.7 | 42.7 | 41.8 | 41 | 40.1 | 39.3 | |
Spain | 7.1 | 6.7 | 6.4 | 6 | 5.6 | 5.2 | 4.9 | 4.6 | 4.3 | 4.1 | 4 | 4 | 3.9 | 3.8 | 3.7 | 3.5 | 3.4 | 3.2 | 3.1 | 3.1 | 3 | 3 | 3 | 2.9 | 2.8 | 2.8 | |
Sri Lanka | 14.3 | 14.2 | 14 | 13.7 | 13.2 | 12.6 | 12.1 | 11.5 | 11 | 10.5 | 10.1 | 9.8 | 9.6 | 9.4 | 9.4 | 8.7 | 8.2 | 7.7 | 7.2 | 6.8 | 6.4 | 6.1 | 5.9 | 5.7 | 5.6 | 5.4 | |
St Vincent & the Grenadines | 13 | 12.9 | 12.8 | 12.8 | 12.8 | 12.9 | 13 | 13.2 | 13.3 | 13.4 | 13.5 | 13.6 | 13.7 | 13.8 | 13.8 | 13.8 | 13.7 | 13.6 | 13.5 | 13.3 | 13.1 | 12.8 | 12.5 | 12.2 | 11.8 | 11.5 | |
State of Palestine | 22.1 | 21.5 | 20.8 | 20.1 | 19.5 | 18.9 | 18.4 | 17.7 | 17.2 | 16.7 | 16.4 | 16.1 | 15.8 | 15.6 | 15.3 | 14.9 | 14.5 | 14.2 | 13.9 | 13.6 | 13.4 | 13.1 | 12.8 | 12.4 | 12.1 | 11.8 | |
Sudan | 40.7 | 40.1 | 39.5 | 39 | 38.4 | 37.9 | 37.4 | 37 | 36.5 | 36.1 | 35.6 | 35.1 | 34.6 | 34 | 33.6 | 33.2 | 32.9 | 32.8 | 32.6 | 32.4 | 32.2 | 31.8 | 31.4 | 30.9 | 30.4 | 29.8 | |
Suriname | 23.3 | 22.8 | 22.3 | 21.9 | 21.4 | 21 | 20.5 | 20.1 | 19.6 | 19.1 | 18.6 | 18 | 17.3 | 16.8 | 16.3 | 15.9 | 15.4 | 14.9 | 14.4 | 13.9 | 13.5 | 13 | 12.6 | 12.2 | 11.8 | 11.5 | |
Swaziland | 22.1 | 22.2 | 22.3 | 22.4 | 22.5 | 22.5 | 22.5 | 22.4 | 22.2 | 21.8 | 21.3 | 20.6 | 19.8 | 19 | 18.3 | 17.8 | 17.4 | 17.1 | 16.9 | 16.8 | 16.6 | 16.3 | 15.7 | 15.1 | 14.6 | 14.2 | |
Sweden | 3.5 | 3.4 | 3.2 | 3 | 2.9 | 2.7 | 2.5 | 2.4 | 2.4 | 2.3 | 2.3 | 2.3 | 2.2 | 2.1 | 2 | 1.9 | 1.8 | 1.8 | 1.7 | 1.6 | 1.6 | 1.6 | 1.6 | 1.6 | 1.6 | 1.6 | |
Switzerland | 3.9 | 3.8 | 3.6 | 3.5 | 3.5 | 3.4 | 3.4 | 3.4 | 3.4 | 3.5 | 3.5 | 3.5 | 3.4 | 3.4 | 3.3 | 3.3 | 3.3 | 3.3 | 3.2 | 3.2 | 3.1 | 3 | 3 | 2.9 | 2.8 | 2.7 | |
Syria | 16.6 | 16.1 | 15.7 | 15.1 | 14.7 | 14.3 | 13.9 | 13.6 | 13.2 | 12.8 | 12.4 | 12 | 11.6 | 11.2 | 10.7 | 10.3 | 9.9 | 9.5 | 9.1 | 8.7 | 8.4 | 8.1 | 7.8 | 7.6 | 7.3 | 7 | |
Tajikistan | 32.3 | 32.3 | 32.5 | 32.7 | 32.8 | 32.5 | 32.2 | 31.9 | 31.4 | 30.9 | 30.1 | 29.2 | 28.4 | 27.5 | 26.4 | 25.6 | 24.9 | 24.4 | 23.9 | 23.3 | 22.8 | 22.3 | 21.8 | 21.4 | 20.9 | 20.5 | |
Tanzania | 39.5 | 38.8 | 38.1 | 37.5 | 36.8 | 36.2 | 35.5 | 34.8 | 34 | 33.1 | 32 | 30.8 | 29.6 | 28.4 | 27.3 | 26.2 | 25.2 | 24.1 | 23.2 | 22.3 | 21.5 | 20.9 | 20.3 | 19.8 | 19.3 | 18.8 | |
Thailand | 20.4 | 19.5 | 18.5 | 17.5 | 16.6 | 15.9 | 15.2 | 14.5 | 13.9 | 13.3 | 12.7 | 12.1 | 11.5 | 11 | 10.5 | 10 | 9.5 | 9.1 | 8.8 | 8.4 | 8.1 | 7.8 | 7.5 | 7.3 | 7 | 6.7 | |
Timor Leste | 55.9 | 54.4 | 52.7 | 50.8 | 48.8 | 46.6 | 44.6 | 42.8 | 40.9 | 39.1 | 37.4 | 35.7 | 34.1 | 32.6 | 31.3 | 29.9 | 28.8 | 27.8 | 26.9 | 26.2 | 25.3 | 24.7 | 24 | 23.4 | 22.9 | 22.3 | |
Togo | 43.4 | 42.6 | 42 | 41.3 | 40.5 | 39.8 | 39 | 38.2 | 37.5 | 36.8 | 36 | 35.3 | 34.6 | 34 | 33.4 | 32.7 | 32 | 31.2 | 30.4 | 29.8 | 29.2 | 28.7 | 28.2 | 27.7 | 27.2 | 26.7 | |
Tonga | 10.1 | 9.7 | 9.3 | 9 | 8.7 | 8.5 | 8.3 | 8.1 | 7.9 | 7.8 | 7.6 | 7.4 | 7.3 | 7.2 | 7.1 | 7.1 | 7.1 | 7.1 | 7.1 | 7.1 | 7.2 | 7.3 | 7.3 | 7.2 | 7.1 | 6.9 | |
Trinidad & Tobago | 19.9 | 19.5 | 19.3 | 19.2 | 19 | 18.9 | 18.9 | 18.8 | 18.8 | 18.8 | 18.7 | 18.6 | 18.5 | 18.2 | 17.8 | 17.4 | 17.1 | 16.6 | 16.2 | 15.8 | 15.3 | 14.9 | 14.5 | 14 | 13.6 | 13.2 | |
Tunisia | 27.7 | 27.1 | 26.5 | 25.8 | 25 | 24.1 | 23.1 | 22 | 20.8 | 19.7 | 18.4 | 17.2 | 16.1 | 15.1 | 14.3 | 13.4 | 12.6 | 11.9 | 11.3 | 10.6 | 10.1 | 9.6 | 9.2 | 8.8 | 8.5 | 8.2 | |
Turkey | 32.7 | 31.4 | 30 | 28.7 | 27.3 | 26 | 24.7 | 23.5 | 22.3 | 21.2 | 20.1 | 19 | 18 | 16.8 | 15.6 | 14.5 | 13.5 | 12.6 | 11.7 | 10.8 | 10.1 | 9.3 | 8.7 | 8.1 | 7.5 | 7.1 | |
Turkmenistan | 30.1 | 30.9 | 31.5 | 32 | 32.3 | 32.3 | 32.2 | 32 | 31.6 | 31.1 | 30.6 | 30.2 | 29.7 | 29.1 | 28.5 | 28 | 27.5 | 26.9 | 26.3 | 25.9 | 25.3 | 24.8 | 24.3 | 23.7 | 23.2 | 22.6 | |
Tuvalu | 30 | 29.8 | 29.5 | 29.1 | 28.6 | 28 | 27.5 | 26.9 | 26.3 | 25.7 | 25.3 | 25.1 | 24.8 | 24.5 | 24.1 | 23.6 | 23.2 | 22.7 | 22.1 | 21.4 | 20.8 | 20.2 | 19.5 | 18.9 | 18.3 | 17.6 | |
Uganda | 38.5 | 37.2 | 36.1 | 35.3 | 34.9 | 34.6 | 34.4 | 34.1 | 33.8 | 33.2 | 32.5 | 31.6 | 30.5 | 29.4 | 28.3 | 27.3 | 26.3 | 25.2 | 24.1 | 23.1 | 22.1 | 21.2 | 20.4 | 19.7 | 19.2 | 18.7 | |
Ukraine | 12.1 | 12 | 12.1 | 12.2 | 12.4 | 12.6 | 12.6 | 12.4 | 12.1 | 11.7 | 11.2 | 10.6 | 10.1 | 9.6 | 9.1 | 8.8 | 8.5 | 8.2 | 7.8 | 7.5 | 7.1 | 6.8 | 6.4 | 6.1 | 5.7 | 5.5 | |
United Arab Emirates | 8.2 | 7.9 | 7.6 | 7.3 | 6.9 | 6.6 | 6.4 | 6.2 | 6 | 5.8 | 5.6 | 5.5 | 5.4 | 5.2 | 5.1 | 5 | 4.9 | 4.7 | 4.6 | 4.5 | 4.3 | 4.1 | 4 | 3.8 | 3.6 | 3.5 | |
United Kingdom | 4.5 | 4.4 | 4.4 | 4.3 | 4.2 | 4.1 | 4 | 3.9 | 3.9 | 3.8 | 3.8 | 3.7 | 3.6 | 3.6 | 3.5 | 3.5 | 3.4 | 3.3 | 3.2 | 3.1 | 3 | 2.9 | 2.8 | 2.7 | 2.5 | 2.4 | |
United States of America | 5.8 | 5.6 | 5.4 | 5.2 | 5.1 | 5 | 4.9 | 4.8 | 4.7 | 4.6 | 4.6 | 4.6 | 4.6 | 4.6 | 4.5 | 4.5 | 4.4 | 4.3 | 4.3 | 4.2 | 4.1 | 4 | 3.9 | 3.8 | 3.7 | 3.6 | |
Uruguay | 12.2 | 11.9 | 11.6 | 11.2 | 10.8 | 10.3 | 9.6 | 9.1 | 8.7 | 8.5 | 8.4 | 8.3 | 8.2 | 8 | 7.7 | 7.4 | 7 | 6.6 | 6.4 | 6.2 | 6.1 | 5.9 | 5.8 | 5.5 | 5.3 | 5.1 | |
Uzbekistan | 30.9 | 30.7 | 30.7 | 30.6 | 30.5 | 30.4 | 30.3 | 30 | 29.8 | 29.5 | 29 | 28.5 | 27.9 | 27.4 | 26.6 | 26 | 25.4 | 24.9 | 24.3 | 23.7 | 23.1 | 22.6 | 22.1 | 21.5 | 20.9 | 20.4 | |
Vanuatu | 16.3 | 15.7 | 15.1 | 14.5 | 14 | 13.6 | 13.3 | 13.1 | 12.7 | 12.5 | 12.2 | 12 | 11.9 | 11.8 | 11.9 | 12 | 12 | 12.1 | 12.1 | 12.1 | 12.1 | 12.1 | 12.1 | 12 | 11.8 | 11.6 | |
Venezuela | 13 | 13.5 | 14 | 14.1 | 13.8 | 13.3 | 13 | 12.9 | 12.7 | 12.4 | 12 | 11.6 | 11.1 | 10.5 | 9.8 | 9.3 | 9.4 | 9.7 | 10.1 | 10.2 | 10.1 | 9.9 | 9.7 | 9.5 | 9.2 | 8.9 | |
Vietnam | 23.9 | 23.5 | 23.1 | 22.4 | 21.7 | 20.8 | 19.9 | 18.9 | 17.7 | 16.7 | 15.7 | 14.8 | 13.9 | 13.3 | 12.9 | 12.6 | 12.5 | 12.5 | 12.7 | 12.8 | 12.8 | 12.7 | 12.4 | 12.1 | 11.7 | 11.4 | |
Yemen | 44 | 43.1 | 42.3 | 41.6 | 41.1 | 40.8 | 40.4 | 39.9 | 39.2 | 38.4 | 37.4 | 36.3 | 35.2 | 34.1 | 33 | 31.9 | 30.8 | 29.7 | 28.6 | 27.5 | 26.4 | 25.4 | 24.4 | 23.6 | 22.8 | 22.1 | |
Zambia | 36.2 | 35.7 | 35.1 | 34.6 | 34.4 | 34.4 | 34.6 | 34.9 | 35 | 35 | 34.5 | 33.6 | 32.3 | 30.7 | 29.3 | 28 | 27.1 | 26.5 | 26 | 25.6 | 25 | 24.4 | 23.5 | 22.8 | 22 | 21.4 | |
Zimbabwe | 22 | 21.3 | 20.8 | 20.5 | 20.4 | 20.3 | 20.4 | 20.5 | 20.6 | 20.7 | 21 | 21.4 | 21.8 | 22.2 | 22.6 | 23.1 | 23.7 | 24.3 | 24.8 | 25.2 | 25.3 | 25.1 | 24.8 | 24.4 | 23.9 | 23.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment