diff --git a/assets/core.js b/assets/core.js
index dbd144b..619ed33 100644
--- a/assets/core.js
+++ b/assets/core.js
@@ -1 +1 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{29:function(e,t,n){e.exports=n(66)},65:function(e,t,n){},66:function(e,t,n){"use strict";n.r(t);var a,i=n(21),r=n.n(i),o=n(0),l=n.n(o),s=n(11),c={rainbow:["#e84439","#eb642b","#f49b21","#109e68","#0089cc","#893f90","#c2135b","#f8c1b2","#f6bb9d","#fccc8e","#92cba9","#88bae5","#c189bb","#e4819b"],default:["#6c120a","#a21e25","#cd2b2a","#dc372d","#ec6250","#f6b0a0","#fbd7cb","#fce3dc"],sunflower:["#7d4712","#ba6b15","#df8000","#f7a838","#fac47e","#fedcab","#fee7c1","#feedd4"],marigold:["#7a2e05","#ac4622","#cb5730","#ee7644","#f4a57c","#facbad","#fcdbbf","#fde5d4"],rose:["#65093d","#8d0e56","#9f1459","#d12568","#e05c86","#f3a5b6","#f6b8c1","#f9cdd0"],lavendar:["#42184c","#632572","#732c85","#994d98","#af73ae","#cb98c4","#deb5d6","#ebcfe5"],bluebell:["#0c457b","#0071b1","#0089cc","#5da3d9","#77adde","#88bae5","#bcd4f0","#d3e0f4"],leaf:["#08492f","#005b3e","#00694a","#3b8c62","#74bf93","#a2d1b0","#b1d8bb","#c5e1cb"],orange:["#973915","#d85b31","#eb642b","#f18e5e","#f4a57c","#f6bb9d"]},p={color:c.default.concat(c.rainbow),legend:{left:"10%",top:10,textStyle:{fontFamily:"Geomanist Regular,sans-serif"}},tooltip:{show:!0,trigger:"item",showContent:!0,textStyle:{fontFamily:"Geomanist Regular,sans-serif"}},toolbox:{show:!0,showTitle:!1,feature:{saveAsImage:{title:"Save as PNG",pixelRatio:2}},right:20,tooltip:{show:!0,formatter:function(e){return"
"+e.title+"
"},textStyle:{fontFamily:"Geomanist Regular,sans-serif"}}},xAxis:{axisLabel:{fontFamily:"Geomanist Regular,sans-serif",fontSize:13},splitLine:{show:!1}},yAxis:{axisLabel:{fontFamily:"Geomanist Regular,sans-serif",fontSize:13},splitLine:{show:!1},nameLocation:"end",nameTextStyle:{padding:[0,50,0,0]}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0}},u=p,d=n(22),f=n(28),b=n(2),m=n.n(b),h=f.a.div(a||(a=Object(d.a)(["\n color: red;\n font-size: 11px;\n position: relative;\n padding: 5px 5px 5px 0px;\n display: block;\n"]))),g=function(e){var t=Object(o.useState)(""),n=t[0],a=t[1],i=function(t){t?"maxSelectedOptions"===t.type&&a(e.selectErrorMessage):a("")};return l.a.createElement("div",null,l.a.Children.map(e.children,(function(e){return l.a.isValidElement(e)?l.a.cloneElement(e,{onError:i}):e})),n?l.a.createElement(h,{className:"data-selector--wrapper"},n):null)};g.propTypes={selectErrorMessage:m.a.string,children:m.a.node};var v=g,y=n(23),w=n(24),x=n(1),S=n(27),O={control:function(e){return Object.assign({},e,{borderColor:"#ddd",borderRadius:"none",boxShadow:"none",":hover":{borderColor:"#8f1b13"},":active":{borderColor:"#8f1b13"}})},option:function(e){return Object.assign({},e,{fontSize:"14px"})},singleValue:function(e){return Object.assign({},e,{fontSize:"14px"})},multiValue:function(e){return Object.assign({},e,{fontSize:"14px"})},multiValueLabel:function(e,t){return t.data.isCloseable?e:Object.assign({},e,{paddingRight:6})},multiValueRemove:function(e,t){return t.data.isCloseable?e:Object.assign({},e,{display:"none"})},input:function(e){return Object.assign({},e,{fontSize:"14px"})},indicatorsContainer:function(e){return Object.assign({},e,{pointerEvents:"none"})}},C=function(e){var t=e.label,n=e.onError,a=e.maxSelectedOptions,i=e.defaultValue,r=e.singleSelectOptions,l=Object(w.a)(e,["label","onError","maxSelectedOptions","defaultValue","singleSelectOptions"]),s=Object(o.useState)(i),c=s[0],p=s[1];Object(o.useEffect)((function(){l.onChange&&l.onChange(c),n&&n()}),[c]);return Object(x.b)("div",{className:"labelled-data-selector--wrapper"},Object(x.b)("label",null,Object(x.b)("b",null,t)),Object(x.b)(S.a,Object(y.a)({},l,{value:c,onChange:function(e){if(l.isMulti)if(e.length){var t=e.findIndex((function(e){return r.find((function(t){return t.value===e.value}))}));l.isMulti&&e.length>1&&-1!==t?p(0===t?e.slice(1):[e[t]]):a&&e.length>a?n&&n({type:"maxSelectedOptions",message:"Only up to "+a+" selections allowed"}):p(e)}else p(i);else p(e)},css:{marginRight:"10px"},styles:O,isClearable:"undefined"!==l.isClearable?l.isClearable:c.length>1})))};C.propTypes={label:m.a.string,options:m.a.array,maxSelectedOptions:m.a.number,onChange:m.a.func,onError:m.a.func,defaultValue:m.a.array,singleSelectOptions:m.a.array,isMulti:m.a.bool,isClearable:m.a.bool},C.defaultProps={maxSelectedOptions:2,singleSelectOptions:[]};var L=C,E=n(25);var j=function(e){return new Promise((function(t){Object(E.parse)(e,{download:!0,header:!0,skipEmptyLines:!0,complete:function(e){var n=e.data;return t(n)}})}))},A=function(e){var t,n=document.createElement("div");return(t=n.classList).add.apply(t,["spotlight-banner","data-selector--wrapper"]),e.parentElement.insertBefore(n,e),n},M=function(e,t,n){var a;return(a=e,Array.from(new Set(a.map((function(e){return e["Region name"]}))))).map((function(a){return{name:"Other High Income Countries"===a?"Other High-Income Countries":a,type:"bar",stack:"Region",tooltip:{trigger:"item",formatter:function(e){return e.seriesName+"
"+e.name+": "+e.value+" billion"}},data:t.map((function(t){var i=[];return e.filter((function(e){return e["poverty line (2017 PPP)"]===n})).forEach((function(e){e["Region name"]===a&&e.year===t&&i.push(Number(Number(e["Population in poverty (billions)"]).toFixed(2)))})),{value:i.reduce((function(e,t){return e+t}),0).toFixed(2),emphasis:{focus:"self"}}}))}}))},V=function(){window.DICharts.handler.addChart({className:"dicharts--economic-poverty-barchart",echarts:{onAdd:function(e){Array.prototype.forEach.call(e,(function(e){var t=new window.DICharts.Chart(e.parentElement),n=window.echarts.init(e),a=A(e);Object(s.createRoot)(a).render(l.a.createElement(v,{selectErrorMessage:""},l.a.createElement(L,{label:"Select poverty line",options:[{value:"2.15",label:"US$2.15 per day"},{value:"3.65",label:"US$3.65 per day"},{value:"6.85",label:"US$6.85 per day"}],classNamePrefix:"poverty-line-select",isClearable:!1,defaultValue:[{value:"2.15",label:"US$2.15 per day",isCloseable:!0}],onChange:function(e){window.DIState.setState({povertyLine:e.value})},css:{minWidth:"100px"}}))),j("https://raw.githubusercontent.com/devinit/economic-poverty-factsheet-viz/dev/src/data/barChartData.csv").then((function(e){var a=function(e){return Array.from(new Set(e.map((function(e){return e.year}))))}(e);window.DIState&&window.DIState.addListener((function(){var i=window.DIState.getState.povertyLine,o={responsive:!1,grid:{top:"60",bottom:"20",left:"5%"},xAxis:{data:a},yAxis:{type:"value",name:"Number of people living in poverty (billions)",nameLocation:"middle",nameGap:48},series:M(e,a,i||"2.15")};u.color=c.bluebell,n.setOption(r()(u,o)),n.on("legendselectchanged",(function(e){!function(e,t){var n=t.selected,a=Object.values(n).filter((function(e){return e})).length;e.setOption({animation:!0}),0===a?Object.keys(n).forEach((function(t){e.dispatchAction({type:"legendSelect",name:t})})):n[t.name]||(e.dispatchAction({type:"legendSelect",name:t.name}),Object.keys(n).forEach((function(a){Object.prototype.hasOwnProperty.call(n,a)&&a!==t.name&&e.dispatchAction({type:"legendUnSelect",name:a})})))}(n,e)})),t.hideLoading()}))})),function(e,t){window.addEventListener("onresize",(function(){e.resize({width:t.clientWidth+"px",height:t.clientHeight+"px"})}),!0)}(n,e)}))}}})},P=n(13),R=n.n(P),I=(n(64),["#bcd4f0","#77adde","#0089cc","#0c457b"]),N=[{name:"ECA",label:"Europe & Central Asia"},{name:"MNA",label:"Middle East & North Africa"},{name:"SSA",label:"Sub-Saharan Africa"},{name:"OHI",label:"Other High-Income Countries"},{name:"SAS",label:"South Asia"},{name:"LAC",label:"Latin America & Caribbean"},{name:"EAP",label:"East Asia & Pacific"}],D=[{variable:"changepoorpop",label:"Change in number of people living in poverty",unit:"million"},{variable:"changeHC",label:"Change in the percentage of people living in poverty",unit:"%"}],k=["France","Kosovo","Norway"],z=function(e,t,n,a,i,r){var o=[];if(0===a)o=[0,.25,.5,.75,1];else for(var l=t;l<=n;l+=a)o.push(l);return i.scale(r).domain(o)(Math.abs(e))},T=function(e,t,n,a,i){var r=(i.positive.maxValue-i.positive.minValue)/I.length,o=(i.negative.maxValue-i.negative.minValue)/I.length,l=Number(e.properties[t])/1e6;return e.properties[t]?"changepoorpop"===t?l>=0?n(l,i.positive.minValue,i.positive.maxValue,r,a,I):n(l,i.negative.minValue,i.negative.maxValue,o,a,I):l>=0?n(100*Number(e.properties[t]),i.positive.minValue,i.positive.maxValue,r,a,I):n(100*Number(e.properties[t]),i.negative.minValue,i.negative.maxValue,o,a,I):"#E6E1E5"},F=function(e){return l.a.createElement("button",{className:"reset-button",onClick:e.onReset},"Reset")};F.propTypes={onReset:m.a.func};var _=F,G=function(e){return Object(x.b)(v,{selectErrorMessage:""},e.selectors.map((function(e){var t=e.label,n=e.options,a=e.defaultValue,i=e.stateProperty,r=e.classPrefix;return Object(x.b)(L,{key:t,label:t,options:n,classNamePrefix:r,isClearable:!1,defaultValue:[Object.assign({},a,{isCloseable:!0})],onChange:function(e){var t;window.DIState.setState(((t={})[i]=e.value,t))},css:{minWidth:"200px"}})})))};G.propTypes={selectors:m.a.arrayOf(m.a.shape({label:m.a.string.isRequired,defaultValue:m.a.shape({value:m.a.string,label:m.a.string}),stateProperty:m.a.string.isRequired,classPrefix:m.a.string.isRequired}))};var U=G,H=function(e,t,n,a,i,r){var o,l,s,c,p,u=["#0c457b","#0089cc","#77adde","#bcd4f0"],d=["#bcd4f0","#77adde","#0089cc","#0c457b"],f=(l=i,s=a.map((function(e){return Number(e[l])})),c=s.filter((function(e){return e>=0})),p=s.filter((function(e){return e<0})).map((function(e){return Math.abs(e)})),"changepoorpop"===l?{positive:{maxValue:Math.ceil(Math.max.apply(Math,c)/1e6),minValue:Math.ceil(Math.min.apply(Math,c)/1e6)},negative:{maxValue:Math.ceil(Math.max.apply(Math,p)/1e6),minValue:Math.ceil(Math.min.apply(Math,p)/1e6)}}:{positive:{maxValue:Math.ceil(100*Math.max.apply(Math,c)),minValue:Math.ceil(100*Math.min.apply(Math,c))},negative:{maxValue:Math.ceil(100*Math.max.apply(Math,p)),minValue:Math.ceil(100*Math.min.apply(Math,p))}}),b=r;b.onAdd=function(){var e=window.L.DomUtil.create("div","legend"),t='Change in poverty levels (see map for exact change)
Greatest increase
'+u.map((function(e){return'
\n \n '})).join("")+'
'+d.map((function(e){return'
\n \n '})).join("")+"\n
Greatest decrease
";return e.innerHTML=t,e},b.addTo(e);var m=function(t){var n;return(n={})[Number(t.properties[i])<0?"fillPattern":"fillColor"]=Number(t.properties[i])<0?new window.L.StripePattern({weight:2,spaceWeight:1,angle:45,color:T(t,i,z,R.a,f)}).addTo(e):T(t,i,z,R.a,f),n.weight=1,n.opacity=1,n.color=Number(t.properties[i])<0?T(t,i,z,R.a,f):"white",n.fillOpacity=1,n},h=function(e){o.resetStyle(e.target),e.target.closePopup()},g=function(t,n){t.properties[i]||""===t.properties[i]?n.on({mouseover:function(e){return function(e,t,n){var a=e.target;a.setStyle({fillColor:"#f7a838",color:"#484848",weight:2,fillPattern:null}),window.L.Browser.ie||window.L.Browser.opera||window.L.Browser.edge||a.bringToFront(),a.bindTooltip(""+a.feature.properties.country_name+"
"+function(e,t){return"changepoorpop"===e?t.feature.properties[e]<0?"Reduction in people living in poverty":"Additional people living in poverty":t.feature.properties[e]<0?"Reduction in proportion of population living in poverty":"Additional proportion of population living in poverty"}(t,a)+": "+("changepoorpop"===t?Math.abs((Number(a.feature.properties[t])/1e6).toFixed(2)):Math.abs((100*Number(a.feature.properties[t])).toFixed(2)))+''+n.find((function(e){return e.variable===t})).unit+"
",{direction:"bottom",opacity:1,sticky:!0}).openTooltip()}(e,i,D)},mouseout:h}):n.on({mouseover:function(){e.getContainer().querySelectorAll(".leaflet-interactive").forEach((function(e){e.classList+=" grab-cursor-enabled"}))},mouseout:function(){e.getContainer().querySelectorAll(".leaflet-interactive.grab-cursor-enabled").forEach((function(e){e.classList.remove("grab-cursor-enabled")}))}})};n.clearLayers(),o=window.L.geoJSON(t,{style:m,onEachFeature:g}),n.addLayer(o)};var $=function(){window.DICharts.handler.addChart({className:"dicharts--economic-poverty-leaflet",echarts:{onAdd:function(e){Array.prototype.forEach.call(e,(function(e){window.dataLayer=window.dataLayer||[];var t=new window.DICharts.Chart(e.parentElement),n=window.L.map(e,{maxZoom:3,minZoom:1,crs:window.L.CRS.EPSG4326,center:[6.6,20.9],zoom:1,attributionControl:!1,zIndex:0}),a=window.L.control({position:"bottomright"}),i=window.L.control({position:"bottomleft"});window.fetch("https://raw.githubusercontent.com/devinit/economic-poverty-factsheet-viz/dev/src/data/world_map.geo.json").then((function(e){return e.json()})).then((function(r){var o=window.L.featureGroup().addTo(n),c=r.features;j("https://raw.githubusercontent.com/devinit/economic-poverty-factsheet-viz/dev/src/data/map_data.csv").then((function(r){var p=function(e){return Array.from(new Set(e.map((function(e){return e.PIP_Region}))))}(r),u=[{label:"Select poverty data type",options:[{value:"changepoorpop",label:"Change in number of people living in poverty"},{value:"changeHC",label:"Change in proportion of people living in poverty"}],classPrefix:"poverty-data-select",stateProperty:"povertyData",defaultValue:{value:"changepoorpop",label:"Change in number of people living in poverty"}},{label:"Select region",options:[{value:"all",label:"All"}].concat(p.map((function(e){return{value:e,label:N.find((function(t){return t.name===e})).label}}))),classPrefix:"region-select",stateProperty:"povertyRegion",defaultValue:{value:"all",label:"All"}},{label:"Select poverty line",options:[{value:"2.15",label:"US$2.15 per day"},{value:"3.65",label:"US$3.65 per day"},{value:"6.85",label:"US$6.85 per day"}],classPrefix:"poverty-line-select",stateProperty:"mapPovertyLine",defaultValue:{value:"2.15",label:"US$2.15 per day"}}],d=A(e);Object(s.createRoot)(d).render(l.a.createElement(U,{selectors:u}));var f=function(){n.setView([6.6,20.9],1)};if(i.onAdd=function(){var e=window.L.DomUtil.create("div");return Object(s.createRoot)(e).render(l.a.createElement(_,{onReset:f})),e},i.addTo(n),window.DIState){t.showLoading();var b="all",m="changepoorpop",h="2.15";window.DIState.addListener((function(){var e=window.DIState.getState,t=e.povertyRegion,i=e.povertyData,l=e.mapPovertyLine;if(b!==t||m!==i||h!==l){m=i||"changepoorpop";var s=function(e,t,n){return"all"===n?e.filter((function(e){return e.poverty_line===t})):e.filter((function(e){return e.poverty_line===t&&e.PIP_Region===n}))}(r,h=l||"2.15",b=t||"all");H(n,function(e,t){return e.map((function(e){var n=Object.assign({},e),a=t.find((function(t){return k.includes(t.country_name)?t.ISO_A3===e.properties.WB_A3:t.ISO_A3===e.properties.ISO_A3}));return a&&(n.properties=Object.assign({},e.properties,a)),n}))}(c,s),o,s,m,a)}}))}t.hideLoading()}))})).catch((function(e){return console.log(e)}))}))}}})},q=n(26),B=n(7),W=function(){function e(){this.id=Math.random(),this.state={},this.listeners=[],Object(B.d)(this,{state:B.e,setState:B.a,getState:B.c})}var t=e.prototype;return t.setState=function(e,t){void 0===t&&(t=!0),this.state=t?Object.assign({},this.state,e):e},t.addListener=function(e){return this.listeners=this.listeners.concat(Object(B.b)(e)),this.listeners.length-1},t.removeListener=function(e){e"+e.title+""},textStyle:{fontFamily:"Geomanist Regular,sans-serif"}}},xAxis:{axisLabel:{fontFamily:"Geomanist Regular,sans-serif",fontSize:13},splitLine:{show:!1}},yAxis:{axisLabel:{fontFamily:"Geomanist Regular,sans-serif",fontSize:13},splitLine:{show:!1},nameLocation:"end",nameTextStyle:{padding:[0,50,0,0]}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0}},p=u,d=n(22),f=n(28),b=n(2),m=n.n(b),h=f.a.div(a||(a=Object(d.a)(["\n color: red;\n font-size: 11px;\n position: relative;\n padding: 5px 5px 5px 0px;\n display: block;\n"]))),v=function(e){var t=Object(o.useState)(""),n=t[0],a=t[1],i=function(t){t?"maxSelectedOptions"===t.type&&a(e.selectErrorMessage):a("")};return l.a.createElement("div",null,l.a.Children.map(e.children,(function(e){return l.a.isValidElement(e)?l.a.cloneElement(e,{onError:i}):e})),n?l.a.createElement(h,{className:"data-selector--wrapper"},n):null)};v.propTypes={selectErrorMessage:m.a.string,children:m.a.node};var g=v,y=n(23),w=n(24),x=n(1),S=n(27),O={control:function(e){return Object.assign({},e,{borderColor:"#ddd",borderRadius:"none",boxShadow:"none",":hover":{borderColor:"#8f1b13"},":active":{borderColor:"#8f1b13"}})},option:function(e){return Object.assign({},e,{fontSize:"14px"})},singleValue:function(e){return Object.assign({},e,{fontSize:"14px"})},multiValue:function(e){return Object.assign({},e,{fontSize:"14px"})},multiValueLabel:function(e,t){return t.data.isCloseable?e:Object.assign({},e,{paddingRight:6})},multiValueRemove:function(e,t){return t.data.isCloseable?e:Object.assign({},e,{display:"none"})},input:function(e){return Object.assign({},e,{fontSize:"14px"})},indicatorsContainer:function(e){return Object.assign({},e,{pointerEvents:"none"})}},C=function(e){var t=e.label,n=e.onError,a=e.maxSelectedOptions,i=e.defaultValue,r=e.singleSelectOptions,l=Object(w.a)(e,["label","onError","maxSelectedOptions","defaultValue","singleSelectOptions"]),s=Object(o.useState)(i),c=s[0],u=s[1];Object(o.useEffect)((function(){l.onChange&&l.onChange(c),n&&n()}),[c]);return Object(x.b)("div",{className:"labelled-data-selector--wrapper"},Object(x.b)("label",null,Object(x.b)("b",null,t)),Object(x.b)(S.a,Object(y.a)({},l,{value:c,onChange:function(e){if(l.isMulti)if(e.length){var t=e.findIndex((function(e){return r.find((function(t){return t.value===e.value}))}));l.isMulti&&e.length>1&&-1!==t?u(0===t?e.slice(1):[e[t]]):a&&e.length>a?n&&n({type:"maxSelectedOptions",message:"Only up to "+a+" selections allowed"}):u(e)}else u(i);else u(e)},css:{marginRight:"10px"},styles:O,isClearable:"undefined"!==l.isClearable?l.isClearable:c.length>1})))};C.propTypes={label:m.a.string,options:m.a.array,maxSelectedOptions:m.a.number,onChange:m.a.func,onError:m.a.func,defaultValue:m.a.array,singleSelectOptions:m.a.array,isMulti:m.a.bool,isClearable:m.a.bool},C.defaultProps={maxSelectedOptions:2,singleSelectOptions:[]};var L=C,E=n(25);var j=function(e){return new Promise((function(t){Object(E.parse)(e,{download:!0,header:!0,skipEmptyLines:!0,complete:function(e){var n=e.data;return t(n)}})}))},M=function(e){var t,n=document.createElement("div");return(t=n.classList).add.apply(t,["spotlight-banner","data-selector--wrapper"]),e.parentElement.insertBefore(n,e),n},A=function(e,t,n){var a;return(a=e,Array.from(new Set(a.map((function(e){return e["Region name"]}))))).map((function(a){return{name:"Other High Income Countries"===a?"Other high-income countries*":a,type:"bar",stack:"Region",tooltip:{trigger:"item",formatter:function(e){return e.seriesName+"
"+e.name+": "+e.value+" billion"}},data:t.map((function(t){var i=[];return e.filter((function(e){return e["poverty line (2017 PPP)"]===n})).forEach((function(e){e["Region name"]===a&&e.year===t&&i.push(Number(Number(e["Population in poverty (billions)"])))})),{value:i.reduce((function(e,t){return e+t}),0).toFixed(3),emphasis:{focus:"self"}}}))}}))},V=function(){window.DICharts.handler.addChart({className:"dicharts--economic-poverty-barchart",echarts:{onAdd:function(e){Array.prototype.forEach.call(e,(function(e){var t=new window.DICharts.Chart(e.parentElement),n=window.echarts.init(e),a=M(e);Object(s.createRoot)(a).render(l.a.createElement(g,{selectErrorMessage:""},l.a.createElement(L,{label:"Select poverty line",options:[{value:"2.15",label:"US$2.15 per day"},{value:"3.65",label:"US$3.65 per day"},{value:"6.85",label:"US$6.85 per day"}],classNamePrefix:"poverty-line-select",isClearable:!1,defaultValue:[{value:"2.15",label:"US$2.15 per day",isCloseable:!0}],onChange:function(e){window.DIState.setState({povertyLine:e.value})},css:{minWidth:"100px"}}))),j("https://raw.githubusercontent.com/devinit/economic-poverty-factsheet-viz/dev/src/data/barChartData.csv").then((function(e){var a=function(e){return Array.from(new Set(e.map((function(e){return e.year}))))}(e);window.DIState&&window.DIState.addListener((function(){var i=window.DIState.getState.povertyLine,o={responsive:!1,grid:{top:"60",bottom:"20",left:"5%"},xAxis:{data:a},yAxis:{type:"value",name:"Number of people living in poverty (billions)",nameLocation:"middle",nameGap:48},series:A(e,a,i||"2.15")};p.color=c.bluebell,n.setOption(r()(p,o)),n.on("legendselectchanged",(function(e){!function(e,t){var n=t.selected,a=Object.values(n).filter((function(e){return e})).length;e.setOption({animation:!0}),0===a?Object.keys(n).forEach((function(t){e.dispatchAction({type:"legendSelect",name:t})})):n[t.name]||(e.dispatchAction({type:"legendSelect",name:t.name}),Object.keys(n).forEach((function(a){Object.prototype.hasOwnProperty.call(n,a)&&a!==t.name&&e.dispatchAction({type:"legendUnSelect",name:a})})))}(n,e)})),t.hideLoading()}))})),function(e,t){window.addEventListener("onresize",(function(){e.resize({width:t.clientWidth+"px",height:t.clientHeight+"px"})}),!0)}(n,e)}))}}})},P=n(13),R=n.n(P),N=(n(64),["#bcd4f0","#77adde","#0089cc","#0c457b"]),I=[{name:"ECA",label:"Europe & Central Asia"},{name:"MNA",label:"Middle East & North Africa"},{name:"SSA",label:"Sub-Saharan Africa"},{name:"OHI",label:"Other high-income countries*"},{name:"SAS",label:"South Asia"},{name:"LAC",label:"Latin America & Caribbean"},{name:"EAP",label:"East Asia & Pacific"}],D=[{variable:"changepoorpop",label:"Change in number of people living in poverty",unit:"million"},{variable:"changeHC",label:"Change in the percentage of people living in poverty",unit:"%"}],k=function(e,t){var n,a;return"changepoorpop"===e?(n=t.feature.properties[e]<0?"Reduction in people living in poverty":"Additional people living in poverty",a=0===Math.abs((Number(t.feature.properties[e])/1e6).toFixed(2))?"less than 0.01":Math.abs((Number(t.feature.properties[e])/1e6).toFixed(2))):(n=t.feature.properties[e]<0?"Reduction in proportion of population living in poverty":"Additional proportion of population living in poverty",a=Math.abs((100*Number(t.feature.properties[e])).toFixed(2))),{text:n,value:a}},z=["France","Kosovo","Norway"],T=function(e,t,n,a,i,r){var o=[];if(0===a)o=[0,.25,.5,.75,1];else for(var l=t;l<=n;l+=a)o.push(l);return i.scale(r).domain(o)(Math.abs(e))},F=function(e,t,n,a,i){var r=(i.positive.maxValue-i.positive.minValue)/N.length,o=(i.negative.maxValue-i.negative.minValue)/N.length,l=Number(e.properties[t])/1e6;return e.properties[t]?"changepoorpop"===t?l>=0?n(l,i.positive.minValue,i.positive.maxValue,r,a,N):n(l,i.negative.minValue,i.negative.maxValue,o,a,N):l>=0?n(100*Number(e.properties[t]),i.positive.minValue,i.positive.maxValue,r,a,N):n(100*Number(e.properties[t]),i.negative.minValue,i.negative.maxValue,o,a,N):"#E6E1E5"},_=function(e){return l.a.createElement("button",{className:"reset-button",onClick:e.onReset},"Reset")};_.propTypes={onReset:m.a.func};var G=_,U=function(e){return Object(x.b)(g,{selectErrorMessage:""},e.selectors.map((function(e){var t=e.label,n=e.options,a=e.defaultValue,i=e.stateProperty,r=e.classPrefix;return Object(x.b)(L,{key:t,label:t,options:n,classNamePrefix:r,isClearable:!1,defaultValue:[Object.assign({},a,{isCloseable:!0})],onChange:function(e){var t;window.DIState.setState(((t={})[i]=e.value,t))},css:{minWidth:"200px"}})})))};U.propTypes={selectors:m.a.arrayOf(m.a.shape({label:m.a.string.isRequired,defaultValue:m.a.shape({value:m.a.string,label:m.a.string}),stateProperty:m.a.string.isRequired,classPrefix:m.a.string.isRequired}))};var $=U,H=function(e,t,n,a,i,r){var o,l,s,c,u,p=["#0c457b","#0089cc","#77adde","#bcd4f0"],d=["#bcd4f0","#77adde","#0089cc","#0c457b"],f=(l=i,s=a.map((function(e){return Number(e[l])})),c=s.filter((function(e){return e>=0})),u=s.filter((function(e){return e<0})).map((function(e){return Math.abs(e)})),"changepoorpop"===l?{positive:{maxValue:Math.ceil(Math.max.apply(Math,c)/1e6),minValue:Math.ceil(Math.min.apply(Math,c)/1e6)},negative:{maxValue:Math.ceil(Math.max.apply(Math,u)/1e6),minValue:Math.ceil(Math.min.apply(Math,u)/1e6)}}:{positive:{maxValue:Math.ceil(100*Math.max.apply(Math,c)),minValue:Math.ceil(100*Math.min.apply(Math,c))},negative:{maxValue:Math.ceil(100*Math.max.apply(Math,u)),minValue:Math.ceil(100*Math.min.apply(Math,u))}}),b=r;b.onAdd=function(){var e=window.L.DomUtil.create("div","legend"),t='Change in poverty levels (see map for exact change)
Greatest increase
'+p.map((function(e){return'
\n \n '})).join("")+'
'+d.map((function(e){return'
\n \n '})).join("")+"\n
Greatest decrease
";return e.innerHTML=t,e},b.addTo(e);var m=function(t){var n;return(n={})[Number(t.properties[i])<0?"fillPattern":"fillColor"]=Number(t.properties[i])<0?new window.L.StripePattern({weight:2,spaceWeight:1,angle:45,color:F(t,i,T,R.a,f)}).addTo(e):F(t,i,T,R.a,f),n.weight=1,n.opacity=1,n.color=Number(t.properties[i])<0?F(t,i,T,R.a,f):"white",n.fillOpacity=1,n},h=function(e){o.resetStyle(e.target),e.target.closePopup()},v=function(t,n){t.properties[i]||""===t.properties[i]?n.on({mouseover:function(e){return function(e,t,n){var a=e.target;a.setStyle({fillColor:"#f7a838",color:"#484848",weight:2,fillPattern:null}),window.L.Browser.ie||window.L.Browser.opera||window.L.Browser.edge||a.bringToFront(),a.bindTooltip(""+a.feature.properties.country_name+"
"+k(t,a).text+": "+k(t,a).value+''+n.find((function(e){return e.variable===t})).unit+"
",{direction:"bottom",opacity:1,sticky:!0}).openTooltip()}(e,i,D)},mouseout:h}):n.on({mouseover:function(){e.getContainer().querySelectorAll(".leaflet-interactive").forEach((function(e){e.classList+=" grab-cursor-enabled"}))},mouseout:function(){e.getContainer().querySelectorAll(".leaflet-interactive.grab-cursor-enabled").forEach((function(e){e.classList.remove("grab-cursor-enabled")}))}})};n.clearLayers(),o=window.L.geoJSON(t,{style:m,onEachFeature:v}),n.addLayer(o)};var q=function(){window.DICharts.handler.addChart({className:"dicharts--economic-poverty-leaflet",echarts:{onAdd:function(e){Array.prototype.forEach.call(e,(function(e){window.dataLayer=window.dataLayer||[];var t=new window.DICharts.Chart(e.parentElement),n=window.L.map(e,{maxZoom:3,minZoom:1,crs:window.L.CRS.EPSG4326,center:[6.6,20.9],zoom:1,attributionControl:!1,zIndex:0}),a=window.L.control({position:"bottomright"}),i=window.L.control({position:"bottomleft"});window.fetch("https://raw.githubusercontent.com/devinit/economic-poverty-factsheet-viz/dev/src/data/world_map.geo.json").then((function(e){return e.json()})).then((function(r){var o=window.L.featureGroup().addTo(n),c=r.features;j("https://raw.githubusercontent.com/devinit/economic-poverty-factsheet-viz/dev/src/data/map_data.csv").then((function(r){var u=function(e){return Array.from(new Set(e.map((function(e){return e.PIP_Region}))))}(r),p=[{label:"Select poverty data type",options:[{value:"changepoorpop",label:"Change in number of people living in poverty"},{value:"changeHC",label:"Change in proportion of people living in poverty"}],classPrefix:"poverty-data-select",stateProperty:"povertyData",defaultValue:{value:"changepoorpop",label:"Change in number of people living in poverty"}},{label:"Select region",options:[{value:"all",label:"All"}].concat(u.map((function(e){return{value:e,label:I.find((function(t){return t.name===e})).label}}))),classPrefix:"region-select",stateProperty:"povertyRegion",defaultValue:{value:"all",label:"All"}},{label:"Select poverty line",options:[{value:"2.15",label:"US$2.15 per day"},{value:"3.65",label:"US$3.65 per day"},{value:"6.85",label:"US$6.85 per day"}],classPrefix:"poverty-line-select",stateProperty:"mapPovertyLine",defaultValue:{value:"2.15",label:"US$2.15 per day"}}],d=M(e);Object(s.createRoot)(d).render(l.a.createElement($,{selectors:p}));var f=function(){n.setView([6.6,20.9],1)};if(i.onAdd=function(){var e=window.L.DomUtil.create("div");return Object(s.createRoot)(e).render(l.a.createElement(G,{onReset:f})),e},i.addTo(n),window.DIState){t.showLoading();var b="all",m="changepoorpop",h="2.15";window.DIState.addListener((function(){var e=window.DIState.getState,t=e.povertyRegion,i=e.povertyData,l=e.mapPovertyLine;if(b!==t||m!==i||h!==l){m=i||"changepoorpop";var s=function(e,t,n){return"all"===n?e.filter((function(e){return e.poverty_line===t})):e.filter((function(e){return e.poverty_line===t&&e.PIP_Region===n}))}(r,h=l||"2.15",b=t||"all");H(n,function(e,t){return e.map((function(e){var n=Object.assign({},e),a=t.find((function(t){return z.includes(t.country_name)?t.ISO_A3===e.properties.WB_A3:t.ISO_A3===e.properties.ISO_A3}));return a&&(n.properties=Object.assign({},e.properties,a)),n}))}(c,s),o,s,m,a)}}))}t.hideLoading()}))})).catch((function(e){return console.log(e)}))}))}}})},B=n(26),W=n(7),J=function(){function e(){this.id=Math.random(),this.state={},this.listeners=[],Object(W.d)(this,{state:W.e,setState:W.a,getState:W.c})}var t=e.prototype;return t.setState=function(e,t){void 0===t&&(t=!0),this.state=t?Object.assign({},this.state,e):e},t.addListener=function(e){return this.listeners=this.listeners.concat(Object(W.b)(e)),this.listeners.length-1},t.removeListener=function(e){e Array.from(new Set(data.map((item) => item['Reg
const getSeries = (dataArray, years, filterValue) => {
const seriesNames = getSeriesNames(dataArray);
const series = seriesNames.map((seriesName) => ({
- name: seriesName === 'Other High Income Countries' ? 'Other High-Income Countries' : seriesName,
+ name: seriesName === 'Other High Income Countries' ? 'Other high-income countries*' : seriesName,
type: 'bar',
stack: 'Region',
tooltip: {
@@ -30,14 +30,14 @@ const getSeries = (dataArray, years, filterValue) => {
.filter((item) => item['poverty line (2017 PPP)'] === filterValue)
.forEach((item) => {
if (item['Region name'] === seriesName && item.year === year) {
- yearList.push(Number(Number(item['Population in poverty (billions)']).toFixed(2)));
+ yearList.push(Number(Number(item['Population in poverty (billions)'])));
}
});
const accumulatedYearValue = yearList.reduce((accumulator, currentValue) => accumulator + currentValue, 0);
return {
- value: accumulatedYearValue.toFixed(2),
+ value: accumulatedYearValue.toFixed(3),
emphasis: {
focus: 'self',
},
diff --git a/src/data/barChartData.csv b/src/data/barChartData.csv
index 6f6008a..90d02bb 100644
--- a/src/data/barChartData.csv
+++ b/src/data/barChartData.csv
@@ -1,438 +1,438 @@
-year,Population in poverty (billions),poverty line (2017 PPP),Region name,Proportion of the population in poverty
-2002,0.615449625875167,2.15,East Asia & Pacific,0.332471254864735
-2003,0.558928115943916,2.15,East Asia & Pacific,0.299396577159239
-2004,0.494040161138916,2.15,East Asia & Pacific,0.262447438455967
-2005,0.410056792270645,2.15,East Asia & Pacific,0.216037225614993
-2006,0.40277963994196,2.15,East Asia & Pacific,0.210448252153605
-2007,0.361921446616608,2.15,East Asia & Pacific,0.187518629896031
-2008,0.343125960030805,2.15,East Asia & Pacific,0.176287662756184
-2009,0.305169308643188,2.15,East Asia & Pacific,0.155458939551926
-2010,0.26363547599444,2.15,East Asia & Pacific,0.133163755304968
-2011,0.206930980930363,2.15,East Asia & Pacific,0.103650148231288
-2012,0.177521733162154,2.15,East Asia & Pacific,0.0881551159306787
-2013,0.0912094207415419,2.15,East Asia & Pacific,0.0449078366245885
-2014,0.0732131916049349,2.15,East Asia & Pacific,0.0357538581690107
-2015,0.0557041706146078,2.15,East Asia & Pacific,0.0269921423342668
-2016,0.0466100004372272,2.15,East Asia & Pacific,0.022415377322478
-2017,0.0399770549110564,2.15,East Asia & Pacific,0.0190813765192162
-2018,0.0322193672399999,2.15,East Asia & Pacific,0.0152775539324284
-2019,0.0238304968192931,2.15,East Asia & Pacific,0.0112375666388395
-2020,0.692618423896895,6.85,East Asia & Pacific,0.325126232298748
-2020,0.181289383143235,3.65,East Asia & Pacific,0.0851001533651064
-2020,0.0343642361886222,2.15,East Asia & Pacific,0.0161311253820967
-2021,0.65710250097449,6.85,East Asia & Pacific,0.307451134466946
-2021,0.170575436373837,3.65,East Asia & Pacific,0.0798103969282664
-2021,0.0325132643714941,2.15,East Asia & Pacific,0.0152126038196705
-2022,0.638805169181595,6.85,East Asia & Pacific,0.298100303931751
-2022,0.160211560779632,3.65,East Asia & Pacific,0.0747631942662191
-2022,0.0289387624780657,2.15,East Asia & Pacific,0.0135043583025043
-2002,0.0377555558601178,2.15,Europe & Central Asia,0.0796433398252359
-2003,0.0376387861713282,2.15,Europe & Central Asia,0.0794017641280951
-2004,0.0326821157260648,2.15,Europe & Central Asia,0.0689274762098969
-2005,0.0327615211812466,2.15,Europe & Central Asia,0.0690647026935838
-2006,0.02918739770391,2.15,Europe & Central Asia,0.0614813927603812
-2007,0.0261853125610247,2.15,Europe & Central Asia,0.0550755354655801
-2008,0.0231991937758253,2.15,Europe & Central Asia,0.0486882755383425
-2009,0.0225251553384429,2.15,Europe & Central Asia,0.0471343605776504
-2010,0.0222823516689665,2.15,Europe & Central Asia,0.046476461649691
-2011,0.020686329101904,2.15,Europe & Central Asia,0.0430035567402427
-2012,0.0199076042356097,2.15,Europe & Central Asia,0.041215929698805
-2013,0.0182252912378214,2.15,Europe & Central Asia,0.0375565613131006
-2014,0.0190818878711678,2.15,Europe & Central Asia,0.0391201458701837
-2015,0.0172406213158869,2.15,Europe & Central Asia,0.0351581419161884
-2016,0.0155579274936389,2.15,Europe & Central Asia,0.0315647676609728
-2017,0.0154685805310129,2.15,Europe & Central Asia,0.0312521276929387
-2018,0.0132545211502427,2.15,Europe & Central Asia,0.0266969201137894
-2019,0.0130007636468455,2.15,Europe & Central Asia,0.0261149544646136
-2020,0.0771616766718299,6.85,Europe & Central Asia,0.154705464392505
-2020,0.0313525926630761,3.65,Europe & Central Asia,0.06286044597604
-2020,0.0130870010190242,2.15,Europe & Central Asia,0.0262388099569702
-2021,0.0725998868997341,6.85,Europe & Central Asia,0.145495558996129
-2021,0.0298747756716744,3.65,Europe & Central Asia,0.0598712666348542
-2021,0.0119946439624222,2.15,Europe & Central Asia,0.0240381562946836
-2022,0.0753634580955133,6.85,Europe & Central Asia,0.151136589751666
-2022,0.0317983478826167,3.65,Europe & Central Asia,0.0637695506570964
-2022,0.0114046749880836,2.15,Europe & Central Asia,0.0228713454568468
-2002,0.0649386681221293,2.15,Latin America & Caribbean,0.122160852493704
-2003,0.0657928604162115,2.15,Latin America & Caribbean,0.122150278286694
-2004,0.0614637995886278,2.15,Latin America & Caribbean,0.112664910562748
-2005,0.0596902066309906,2.15,Latin America & Caribbean,0.10805739344943
-2006,0.0506778454853864,2.15,Latin America & Caribbean,0.0906425487855725
-2007,0.0491924455368741,2.15,Latin America & Caribbean,0.0869626033960496
-2008,0.046191677564784,2.15,Latin America & Caribbean,0.0807379891838025
-2009,0.0437046125787461,2.15,Latin America & Caribbean,0.075548374267627
-2010,0.0400025038592131,2.15,Latin America & Caribbean,0.0683829788256455
-2011,0.037371749216522,2.15,Latin America & Caribbean,0.0631683013760782
-2012,0.0318672725456316,2.15,Latin America & Caribbean,0.053264930181888
-2013,0.0285762188119329,2.15,Latin America & Caribbean,0.047248275396893
-2014,0.0268845896001034,2.15,Latin America & Caribbean,0.0439822832308766
-2015,0.027428380036735,2.15,Latin America & Caribbean,0.0444076289143595
-2016,0.0291716515167535,2.15,Latin America & Caribbean,0.0467519093447813
-2017,0.0293886091596867,2.15,Latin America & Caribbean,0.0466390441375377
-2018,0.028869802513742,2.15,Latin America & Caribbean,0.0453922894188619
-2019,0.029369322395047,2.15,Latin America & Caribbean,0.0457783024358336
-2020,0.208312394245767,6.85,Latin America & Caribbean,0.322186497292595
-2020,0.0809656217906683,3.65,Latin America & Caribbean,0.125225530532169
-2020,0.0335496334883824,2.15,Latin America & Caribbean,0.0518895620119441
-2021,0.195741338743803,6.85,Latin America & Caribbean,0.300758753714343
-2021,0.0751408889695214,3.65,Latin America & Caribbean,0.115454815341997
-2021,0.0308877097466905,2.15,Latin America & Caribbean,0.047459311089437
-2022,0.19169006218624,6.85,Latin America & Caribbean,0.292661342029821
-2022,0.0733292993696139,3.65,Latin America & Caribbean,0.111954949144767
-2022,0.0301868861982227,2.15,Latin America & Caribbean,0.0460875985208351
-2002,0.00975167176025951,2.15,Middle East & North Africa,0.0327512974402391
-2003,0.00988647068474661,2.15,Middle East & North Africa,0.0326205530311133
-2004,0.00917389765785567,2.15,Middle East & North Africa,0.0296925203838017
-2005,0.00859373776689711,2.15,Middle East & North Africa,0.0272796504840564
-2006,0.00844556418122756,2.15,Middle East & North Africa,0.0263004427868089
-2007,0.00820412869838258,2.15,Middle East & North Africa,0.0250677743531596
-2008,0.00800434955457058,2.15,Middle East & North Africa,0.0239978643749964
-2009,0.00762585224649263,2.15,Middle East & North Africa,0.0224302452301065
-2010,0.00639215371617316,2.15,Middle East & North Africa,0.0184310368294877
-2011,0.00750046142329015,2.15,Middle East & North Africa,0.0212110475851073
-2012,0.00752271013206148,2.15,Middle East & North Africa,0.0208717529410308
-2013,0.0081938061746889,2.15,Middle East & North Africa,0.0222782034376557
-2014,0.00979455445273236,2.15,Middle East & North Africa,0.0260874576021439
-2015,0.0188653687864078,2.15,Middle East & North Africa,0.0492522774187944
-2016,0.0216207895551107,2.15,Middle East & North Africa,0.0554116620653662
-2017,0.0241484726234249,2.15,Middle East & North Africa,0.060840524069697
-2018,0.030836586173872,2.15,Middle East & North Africa,0.0763763980904927
-2019,0.0349388315964357,2.15,Middle East & North Africa,0.0850856065232842
-2020,0.200977649240258,6.85,Middle East & North Africa,0.481815548154457
-2020,0.0813843578405517,3.65,Middle East & North Africa,0.195107511369425
-2020,0.0393119655298054,2.15,Middle East & North Africa,0.0942448888837843
-2021,0.202273065502941,6.85,Middle East & North Africa,0.477798469315691
-2021,0.0822821913867153,3.65,Middle East & North Africa,0.194362531653735
-2021,0.0404706785729615,2.15,Middle East & North Africa,0.0955976428510063
-2022,0.200596999422805,6.85,Middle East & North Africa,0.46684433335722
-2022,0.0810049778505519,3.65,Middle East & North Africa,0.1885208402522
-2022,0.0413143466756981,2.15,Middle East & North Africa,0.096149836176027
-2002,0.00482970123561586,2.15,Other High Income Countries,0.00488877318645078
-2003,0.00561886681105935,2.15,Other High Income Countries,0.00564726812532975
-2004,0.00547179781552646,2.15,Other High Income Countries,0.00545983547433742
-2005,0.00553221615288986,2.15,Other High Income Countries,0.0054782418300418
-2006,0.00508189470492132,2.15,Other High Income Countries,0.00499043763916382
-2007,0.0050143304812985,2.15,Other High Income Countries,0.00487873210379897
-2008,0.00521932953621582,2.15,Other High Income Countries,0.00503084642488528
-2009,0.00528829901528043,2.15,Other High Income Countries,0.00505393530435448
-2010,0.00520490101219928,2.15,Other High Income Countries,0.00493822239557631
-2011,0.00585044186971227,2.15,Other High Income Countries,0.00551418586189948
-2012,0.00605320901423649,2.15,Other High Income Countries,0.00566809251982638
-2013,0.00667685052470408,2.15,Other High Income Countries,0.00621317850889587
-2014,0.00715806357779708,2.15,Other High Income Countries,0.00662163164997431
-2015,0.00778103474808448,2.15,Other High Income Countries,0.00715635143539947
-2016,0.00675786468729564,2.15,Other High Income Countries,0.00617984921940997
-2017,0.00760947104665165,2.15,Other High Income Countries,0.00692014279308746
-2018,0.00658795628116798,2.15,Other High Income Countries,0.00595950275273184
-2019,0.00659181105814965,2.15,Other High Income Countries,0.00593322387813137
-2020,0.0156603464790819,6.85,Other High Income Countries,0.0140549446059697
-2020,0.00931488972842365,3.65,Other High Income Countries,0.0083599848393256
-2020,0.00680743615799041,2.15,Other High Income Countries,0.00610957990214529
-2021,0.0150617402464702,6.85,Other High Income Countries,0.0134981612470709
-2021,0.00915722240385711,3.65,Other High Income Countries,0.00820659914192327
-2021,0.00665852572640162,2.15,Other High Income Countries,0.00596729544209225
-2022,0.0148421216756589,6.85,Other High Income Countries,0.0132717505747951
-2022,0.00825012774232058,3.65,Other High Income Countries,0.00737722274476744
-2022,0.00664414157004639,2.15,Other High Income Countries,0.00594115798456887
-2002,0.583414623157533,2.15,South Asia,0.399033264684803
-2003,0.576881781907235,2.15,South Asia,0.387335852709937
-2004,0.559327725242425,2.15,South Asia,0.369021981795512
-2005,0.54022736906716,2.15,South Asia,0.350509322843788
-2006,0.526670208891427,2.15,South Asia,0.336338592464725
-2007,0.506050595880554,2.15,South Asia,0.318380022370475
-2008,0.490975373051565,2.15,South Asia,0.304441376078417
-2009,0.480694489739577,2.15,South Asia,0.293749127871989
-2010,0.435400736690679,2.15,South Asia,0.262203334887079
-2011,0.361957478920539,2.15,South Asia,0.214824563897186
-2012,0.337306695074081,2.15,South Asia,0.19740467416049
-2013,0.328031032357781,2.15,South Asia,0.189428932248173
-2014,0.315307660114286,2.15,South Asia,0.17976180878702
-2015,0.296740636163197,2.15,South Asia,0.167126491347968
-2016,0.283477212634292,2.15,South Asia,0.157743880276504
-2017,0.228958940138188,2.15,South Asia,0.125875514139237
-2018,0.184336429808874,2.15,South Asia,0.100158629864041
-2019,0.158467392253586,2.15,South Asia,0.08513137755894
-2020,1.57267668371749,6.85,South Asia,0.835495692143822
-2020,0.855746804534114,3.65,South Asia,0.4546215863416
-2020,0.190988432742933,2.15,South Asia,0.101463965516949
-2021,1.55799718587489,6.85,South Asia,0.819339147078289
-2021,0.792838377607987,3.65,South Asia,0.416947813493949
-2021,0.158110023988349,2.15,South Asia,0.0831488871569402
-2022,1.54555716712177,6.85,South Asia,0.805397528581267
-2022,0.739541230287879,3.65,South Asia,0.385378614151825
-2022,0.137191066029782,2.15,South Asia,0.0714909470023573
-2002,0.382298403511158,2.15,Sub-Saharan Africa,0.540050600948312
-2003,0.384444140375229,2.15,Sub-Saharan Africa,0.528813346915897
-2004,0.376080322895865,2.15,Sub-Saharan Africa,0.503614589099338
-2005,0.37361899761003,2.15,Sub-Saharan Africa,0.486991222952267
-2006,0.373205099526667,2.15,Sub-Saharan Africa,0.473409768803524
-2007,0.373077676057434,2.15,Sub-Saharan Africa,0.460448111289933
-2008,0.370643905404927,2.15,Sub-Saharan Africa,0.445015858103313
-2009,0.376689871677135,2.15,Sub-Saharan Africa,0.439992361654702
-2010,0.370736657676858,2.15,Sub-Saharan Africa,0.421270222413545
-2011,0.370192172718781,2.15,Sub-Saharan Africa,0.409260258038412
-2012,0.374237301547662,2.15,Sub-Saharan Africa,0.402582276205416
-2013,0.374389548530216,2.15,Sub-Saharan Africa,0.391880667559234
-2014,0.373621407163151,2.15,Sub-Saharan Africa,0.380553621790205
-2015,0.383411337291172,2.15,Sub-Saharan Africa,0.37999727495418
-2016,0.389030199425947,2.15,Sub-Saharan Africa,0.375347916939765
-2017,0.390451437978073,2.15,Sub-Saharan Africa,0.366899201889979
-2018,0.389989079935274,2.15,Sub-Saharan Africa,0.356896537322374
-2019,0.394247596507125,2.15,Sub-Saharan Africa,0.351416722542006
-2020,1.00198048023167,6.85,Sub-Saharan Africa,0.870041663591723
-2020,0.728394755241196,3.65,Sub-Saharan Africa,0.63248116815111
-2020,0.415029444103241,2.15,Sub-Saharan Africa,0.360379184137044
-2021,1.02397401535812,6.85,Sub-Saharan Africa,0.866659080801997
-2021,0.740273517974412,3.65,Sub-Saharan Africa,0.626543991358401
-2021,0.419698934619576,2.15,Sub-Saharan Africa,0.355219846827625
-2022,1.04767265993636,6.85,Sub-Saharan Africa,0.864744383202562
-2022,0.754626292234926,3.65,Sub-Saharan Africa,0.622865206453672
-2022,0.426036699374508,2.15,Sub-Saharan Africa,0.351648808745896
-2002,0.538619858333153,3.65,Sub-Saharan Africa,0.768286733318499
-2003,0.550751362510106,3.65,Sub-Saharan Africa,0.765234114909877
-2004,0.553710874529674,3.65,Sub-Saharan Africa,0.749287452425392
-2005,0.559175264923298,3.65,Sub-Saharan Africa,0.736799436687299
-2006,0.565513828432872,3.65,Sub-Saharan Africa,0.725420573405032
-2007,0.573642456361111,3.65,Sub-Saharan Africa,0.716239630835552
-2008,0.581067369540899,3.65,Sub-Saharan Africa,0.706082452120734
-2009,0.594444123516815,3.65,Sub-Saharan Africa,0.702939114180771
-2010,0.599249845290379,3.65,Sub-Saharan Africa,0.689565623532502
-2011,0.608382627554391,3.65,Sub-Saharan Africa,0.681244550543751
-2012,0.621270368618348,3.65,Sub-Saharan Africa,0.676967253684017
-2013,0.629874754526283,3.65,Sub-Saharan Africa,0.667919818726785
-2014,0.63634770089197,3.65,Sub-Saharan Africa,0.656733800352205
-2015,0.652738789723354,3.65,Sub-Saharan Africa,0.655716728557531
-2016,0.665403965042623,3.65,Sub-Saharan Africa,0.650742575387218
-2017,0.672714842680326,3.65,Sub-Saharan Africa,0.640581475819283
-2018,0.680021921694025,3.65,Sub-Saharan Africa,0.630631194304147
-2019,0.691042131879191,3.65,Sub-Saharan Africa,0.62427139334507
-2002,0.0795674761786482,3.65,Europe & Central Asia,0.169826642709746
-2003,0.0751432438682992,3.65,Europe & Central Asia,0.160367095354963
-2004,0.064093421102021,3.65,Europe & Central Asia,0.136710819782893
-2005,0.0602912851938996,3.65,Europe & Central Asia,0.128513465053707
-2006,0.0517418829662624,3.65,Europe & Central Asia,0.110178264491787
-2007,0.045557693924917,3.65,Europe & Central Asia,0.096869680110593
-2008,0.0396979982931635,3.65,Europe & Central Asia,0.0841951044028534
-2009,0.0391809152798458,3.65,Europe & Central Asia,0.0828054404394059
-2010,0.0389135676487053,3.65,Europe & Central Asia,0.0819234974468693
-2011,0.0375807520445644,3.65,Europe & Central Asia,0.0787648905542026
-2012,0.0367994828057361,3.65,Europe & Central Asia,0.0767826180457665
-2013,0.0352362442714356,3.65,Europe & Central Asia,0.073155463103852
-2014,0.0366491994919339,3.65,Europe & Central Asia,0.0757123813575715
-2015,0.0357402759557226,3.65,Europe & Central Asia,0.0734635821537555
-2016,0.0331859685688836,3.65,Europe & Central Asia,0.0678830702164348
-2017,0.0330950410365351,3.65,Europe & Central Asia,0.0673909508079719
-2018,0.0301984770783236,3.65,Europe & Central Asia,0.0612433354603829
-2019,0.030569134126858,3.65,Europe & Central Asia,0.0617581795679285
-2002,0.00738322668499299,3.65,Other High Income Countries,0.0074700154232547
-2003,0.00824952750818292,3.65,Other High Income Countries,0.00828758519335204
-2004,0.00816052844246242,3.65,Other High Income Countries,0.00813760803126872
-2005,0.00799931993872362,3.65,Other High Income Countries,0.00791695274613119
-2006,0.00768488446824068,3.65,Other High Income Countries,0.00754417006500791
-2007,0.00767812772982919,3.65,Other High Income Countries,0.00747421174807176
-2008,0.00820745480497283,3.65,Other High Income Countries,0.00791898465320963
-2009,0.00776831910146921,3.65,Other High Income Countries,0.00743712677072573
-2010,0.0077287983971799,3.65,Other High Income Countries,0.00734703468305756
-2011,0.0083764175996293,3.65,Other High Income Countries,0.00792387191492016
-2012,0.00892047167233647,3.65,Other High Income Countries,0.00838700482416866
-2013,0.00945769403202641,3.65,Other High Income Countries,0.00883783260678315
-2014,0.0101869364909615,3.65,Other High Income Countries,0.00946005230460103
-2015,0.00973671667906991,3.65,Other High Income Countries,0.00898755937720055
-2016,0.0094678847318011,3.65,Other High Income Countries,0.00868729459155559
-2017,0.0100232142650905,3.65,Other High Income Countries,0.00914899617173811
-2018,0.009317416343741,3.65,Other High Income Countries,0.0084641258906214
-2019,0.00915969875055328,3.65,Other High Income Countries,0.00828733118426294
-2002,0.138456217353676,3.65,Latin America & Caribbean,0.2608367378965
-2003,0.136643040054263,3.65,Latin America & Caribbean,0.254036822465646
-2004,0.129380410689188,3.65,Latin America & Caribbean,0.237456008081517
-2005,0.121971298179149,3.65,Latin America & Caribbean,0.221057569877869
-2006,0.106234061656451,3.65,Latin America & Caribbean,0.190180684571819
-2007,0.101221639281957,3.65,Latin America & Caribbean,0.179040599936332
-2008,0.096466955372234,3.65,Latin America & Caribbean,0.168631958236246
-2009,0.0934688001939639,3.65,Latin America & Caribbean,0.161512141932582
-2010,0.0865155854285173,3.65,Latin America & Caribbean,0.147834154881467
-2011,0.0808879950740552,3.65,Latin America & Caribbean,0.136667710982186
-2012,0.0758719673758601,3.65,Latin America & Caribbean,0.126780795380596
-2013,0.0716745031380914,3.65,Latin America & Caribbean,0.118473689249449
-2014,0.0691464355583019,3.65,Latin America & Caribbean,0.113088864274809
-2015,0.0679929504278335,3.65,Latin America & Caribbean,0.11005862660061
-2016,0.0699558518150775,3.65,Latin America & Caribbean,0.112101923277938
-2017,0.0687993595818541,3.65,Latin America & Caribbean,0.109173522104638
-2018,0.06784872217845,3.65,Latin America & Caribbean,0.106642388594406
-2019,0.0679152355219637,3.65,Latin America & Caribbean,0.105759269373001
-2002,1.10917587581661,3.65,South Asia,0.7688493086217
-2003,1.11492734981592,3.65,South Asia,0.759319488494216
-2004,1.11237740473705,3.65,South Asia,0.744683890843341
-2005,1.10962009764573,3.65,South Asia,0.730560399378053
-2006,1.11109216905177,3.65,South Asia,0.719800775628844
-2007,1.10653275759077,3.65,South Asia,0.705695482785464
-2008,1.10749184424608,3.65,South Asia,0.695655980355938
-2009,1.10666711052796,3.65,South Asia,0.684983988979986
-2010,1.07843633203693,3.65,South Asia,0.658067480197841
-2011,1.0205548896206,3.65,South Asia,0.614225180479833
-2012,1.00041327206117,3.65,South Asia,0.594161214617639
-2013,1.00233150622796,3.65,South Asia,0.58761525558249
-2014,1.00531318871775,3.65,South Asia,0.581902381940077
-2015,1.00138165662949,3.65,South Asia,0.572408761477738
-2016,0.988108633052675,3.65,South Asia,0.557879204960365
-2017,0.926932914836348,3.65,South Asia,0.51700687108262
-2018,0.827698026395211,3.65,South Asia,0.456168942290754
-2019,0.771938363633596,3.65,South Asia,0.420496858152363
-2003,0.0567619755840906,3.65,Middle East & North Africa,0.191291778528411
-2004,0.0525821243747162,3.65,Middle East & North Africa,0.174142823784737
-2005,0.0502452745516297,3.65,Middle East & North Africa,0.163523295664794
-2006,0.0502230381134045,3.65,Middle East & North Africa,0.160615972880698
-2007,0.0481728255246996,3.65,Middle East & North Africa,0.151377136196157
-2008,0.0467940604991196,3.65,Middle East & North Africa,0.14446191512957
-2009,0.044538383626715,3.65,Middle East & North Africa,0.135056001777573
-2010,0.0403611851884821,3.65,Middle East & North Africa,0.120187219593359
-2011,0.0386094411568417,3.65,Middle East & North Africa,0.112871927100161
-2012,0.0377406959657287,3.65,Middle East & North Africa,0.108295780318757
-2013,0.0394721065591185,3.65,Middle East & North Africa,0.111171743006161
-2014,0.0432893440071965,3.65,Middle East & North Africa,0.119697207230487
-2015,0.0530092223275328,3.65,Middle East & North Africa,0.143951784975048
-2016,0.0562595404355069,3.65,Middle East & North Africa,0.150116217839364
-2017,0.0607370904035702,3.65,Middle East & North Africa,0.15930856958455
-2018,0.0693855796841215,3.65,Middle East & North Africa,0.17892812656875
-2002,1.12805931311497,3.65,East Asia & Pacific,0.609862110552903
-2003,1.08019671026353,3.65,East Asia & Pacific,0.579125478053818
-2004,1.02297895498263,3.65,East Asia & Pacific,0.544040532676029
-2005,0.936125209233727,3.65,East Asia & Pacific,0.493903212222382
-2006,0.906987746114567,3.65,East Asia & Pacific,0.474868477254109
-2007,0.836343842529974,3.65,East Asia & Pacific,0.434667014833502
-2008,0.798023140518245,3.65,East Asia & Pacific,0.411746801874736
-2009,0.747570115046192,3.65,East Asia & Pacific,0.382956912729795
-2010,0.667515012943817,3.65,East Asia & Pacific,0.339523246099142
-2011,0.589638668759215,3.65,East Asia & Pacific,0.297643670105294
-2012,0.533461519207183,3.65,East Asia & Pacific,0.267002168643028
-2013,0.409431033256739,3.65,East Asia & Pacific,0.203205505155791
-2014,0.356122176924086,3.65,East Asia & Pacific,0.175320036654447
-2015,0.29942470891631,3.65,East Asia & Pacific,0.146281051391859
-2016,0.261980195057617,3.65,East Asia & Pacific,0.127031991360571
-2017,0.234566795279983,3.65,East Asia & Pacific,0.112878005616635
-2018,0.195961331093846,3.65,East Asia & Pacific,0.0936822519162683
-2019,0.159722111816354,3.65,East Asia & Pacific,0.0759210909223093
-2002,0.641801131230988,6.85,Sub-Saharan Africa,0.915464379793778
-2003,0.659930232268664,6.85,Sub-Saharan Africa,0.916931235341455
-2004,0.674915011254421,6.85,Sub-Saharan Africa,0.913302181063411
-2005,0.690342301176835,6.85,Sub-Saharan Africa,0.909632186070098
-2006,0.705080331439635,6.85,Sub-Saharan Africa,0.904451407929212
-2007,0.720916553077358,6.85,Sub-Saharan Africa,0.900123413310121
-2008,0.736776078348198,6.85,Sub-Saharan Africa,0.895291471064746
-2009,0.756564687545309,6.85,Sub-Saharan Africa,0.894649118805711
-2010,0.772526782651837,6.85,Sub-Saharan Africa,0.888957947609876
-2011,0.791301486228913,6.85,Sub-Saharan Africa,0.886070378928471
-2012,0.811676996000666,6.85,Sub-Saharan Africa,0.884443834144315
-2013,0.830637119988819,6.85,Sub-Saharan Africa,0.880808431555453
-2014,0.848624485762954,6.85,Sub-Saharan Africa,0.875811105824447
-2015,0.87134212236861,6.85,Sub-Saharan Africa,0.875317377991393
-2016,0.893906331916425,6.85,Sub-Saharan Africa,0.874210162767777
-2017,0.915025033813898,6.85,Sub-Saharan Africa,0.871317309183609
-2018,0.935600754988685,6.85,Sub-Saharan Africa,0.867647060613223
-2019,0.957752505970971,6.85,Sub-Saharan Africa,0.865211343563573
-2002,0.199922363360786,6.85,Europe & Central Asia,0.426708818763202
-2003,0.19197825293235,6.85,Europe & Central Asia,0.409710749885121
-2004,0.16941054550566,6.85,Europe & Central Asia,0.361351510930902
-2005,0.15321135229029,6.85,Europe & Central Asia,0.326576580762317
-2006,0.136303783542626,6.85,Europe & Central Asia,0.290242902914508
-2007,0.119455078509358,6.85,Europe & Central Asia,0.253998265624644
-2008,0.100666887411269,6.85,Europe & Central Asia,0.213503437450692
-2009,0.10225601959132,6.85,Europe & Central Asia,0.216109161293516
-2010,0.0974723914080143,6.85,Europe & Central Asia,0.205205528332491
-2011,0.0915835366803105,6.85,Europe & Central Asia,0.191948453682816
-2012,0.089350428588255,6.85,Europe & Central Asia,0.186430876399386
-2013,0.0842864281591906,6.85,Europe & Central Asia,0.174990632879499
-2014,0.0842838303775788,6.85,Europe & Central Asia,0.174119205774974
-2015,0.0873904708905636,6.85,Europe & Central Asia,0.179629755676141
-2016,0.0856249769133655,6.85,Europe & Central Asia,0.175148912951741
-2017,0.0804566294014545,6.85,Europe & Central Asia,0.163832664482362
-2018,0.0762185976438138,6.85,Europe & Central Asia,0.154573395595854
-2019,0.0743215590959483,6.85,Europe & Central Asia,0.150150284707713
-2002,0.0151878481654639,6.85,Other High Income Countries,0.0153663790755158
-2003,0.0162097352652928,6.85,Other High Income Countries,0.0162845159119164
-2004,0.016075146705044,6.85,Other High Income Countries,0.0160299965686188
-2005,0.0154164502656315,6.85,Other High Income Countries,0.0152577105555252
-2006,0.0155720360828695,6.85,Other High Income Countries,0.015286903655235
-2007,0.0135710801284866,6.85,Other High Income Countries,0.0132106589131481
-2008,0.0153636492057265,6.85,Other High Income Countries,0.0148236579022926
-2009,0.014215215862377,6.85,Other High Income Countries,0.0136091683491393
-2010,0.0147349055835914,6.85,Other High Income Countries,0.0140070754612678
-2011,0.015650665390532,6.85,Other High Income Countries,0.0148051200245004
-2012,0.0167209333849752,6.85,Other High Income Countries,0.0157209791270665
-2013,0.0173752417397611,6.85,Other High Income Countries,0.0162364607565443
-2014,0.0170516355618604,6.85,Other High Income Countries,0.0158349239182278
-2015,0.0185187893122467,6.85,Other High Income Countries,0.0170939264254717
-2016,0.0169602192696211,6.85,Other High Income Countries,0.0155619153914802
-2017,0.0163549186243691,6.85,Other High Income Countries,0.0149284534806949
-2018,0.0151788907305477,6.85,Other High Income Countries,0.0137888055318732
-2019,0.0149675462679123,6.85,Other High Income Countries,0.0135420406626883
-2002,0.265219731758955,6.85,Latin America & Caribbean,0.499645671245503
-2003,0.267026864531563,6.85,Latin America & Caribbean,0.496436965626823
-2004,0.260959807807962,6.85,Latin America & Caribbean,0.478947886327717
-2005,0.249960255509783,6.85,Latin America & Caribbean,0.453021386784663
-2006,0.230942478722193,6.85,Latin America & Caribbean,0.413434241478353
-2007,0.223257473139527,6.85,Latin America & Caribbean,0.394897298786342
-2008,0.215885816310086,6.85,Latin America & Caribbean,0.377385684241039
-2009,0.215886755811158,6.85,Latin America & Caribbean,0.373047822092277
-2010,0.206927608438017,6.85,Latin America & Caribbean,0.353589101472969
-2011,0.198328068701183,6.85,Latin America & Caribbean,0.335093522198108
-2012,0.191821693771836,6.85,Latin America & Caribbean,0.320530859403865
-2013,0.187601606869308,6.85,Latin America & Caribbean,0.310094294370068
-2014,0.185886848948374,6.85,Latin America & Caribbean,0.304017589069646
-2015,0.183167443224886,6.85,Latin America & Caribbean,0.29648893175584
-2016,0.183748176738029,6.85,Latin America & Caribbean,0.294450335128476
-2017,0.181726794791603,6.85,Latin America & Caribbean,0.28837120532469
-2018,0.180094251019575,6.85,Latin America & Caribbean,0.283066216786439
-2019,0.179971137141049,6.85,Latin America & Caribbean,0.28025546589042
-2002,1.36508113006041,6.85,South Asia,0.94623558440339
-2003,1.38385701274966,6.85,South Asia,0.942473605337325
-2004,1.40080638553189,6.85,South Asia,0.937773407706597
-2005,1.41778080796777,6.85,South Asia,0.933449669393219
-2006,1.4356678309364,6.85,South Asia,0.930071192145403
-2007,1.45204278810031,6.85,South Asia,0.926045821367874
-2008,1.47003149855825,6.85,South Asia,0.92338034685917
-2009,1.48713648310735,6.85,South Asia,0.920479763666747
-2010,1.49646986337231,6.85,South Asia,0.913153723522456
-2011,1.4919347085659,6.85,South Asia,0.897927073744849
-2012,1.49774080980467,6.85,South Asia,0.889531880062398
-2013,1.50942197436412,6.85,South Asia,0.884896238157436
-2014,1.52188727989587,6.85,South Asia,0.880909395354952
-2015,1.53398338541192,6.85,South Asia,0.87685401860317
-2016,1.54442531562236,6.85,South Asia,0.871971702684368
-2017,1.52312488405975,6.85,South Asia,0.84953939812876
-2018,1.49520636648124,6.85,South Asia,0.824052595213601
-2019,1.50819234742493,6.85,South Asia,0.82155541615579
-2003,0.16639774168365,6.85,Middle East & North Africa,0.560771883329198
-2004,0.156378021351487,6.85,Middle East & North Africa,0.517896728971114
-2005,0.154070585270847,6.85,Middle East & North Africa,0.501422871967875
-2006,0.156849883345383,6.85,Middle East & North Africa,0.501614349829999
-2007,0.154813668527006,6.85,Middle East & North Africa,0.486482773853972
-2008,0.153498170029148,6.85,Middle East & North Africa,0.473877226613244
-2009,0.153234004966019,6.85,Middle East & North Africa,0.464659252579204
-2010,0.149474948566333,6.85,Middle East & North Africa,0.445105325404928
-2011,0.145116583416385,6.85,Middle East & North Africa,0.424237904865301
-2012,0.147053097961201,6.85,Middle East & North Africa,0.421964396376266
-2013,0.149456718772816,6.85,Middle East & North Africa,0.420939376647412
-2014,0.154435575011061,6.85,Middle East & North Africa,0.427022110170701
-2015,0.160137730144023,6.85,Middle East & North Africa,0.434869841207075
-2016,0.161275293359495,6.85,Middle East & North Africa,0.430327672118374
-2017,0.166984603368439,6.85,Middle East & North Africa,0.43798736700278
-2018,0.174891051433107,6.85,Middle East & North Africa,0.451000457573837
-2002,1.57741641822566,6.85,East Asia & Pacific,0.852797804916358
-2003,1.55883708995718,6.85,East Asia & Pacific,0.835738774569338
-2004,1.5311398886167,6.85,East Asia & Pacific,0.81429061325967
-2005,1.48411664289169,6.85,East Asia & Pacific,0.783025571800289
-2006,1.45654621031061,6.85,East Asia & Pacific,0.762598925843783
-2007,1.405577824419,6.85,East Asia & Pacific,0.730510928625002
-2008,1.3754086135904,6.85,East Asia & Pacific,0.709653729525987
-2009,1.33211281068872,6.85,East Asia & Pacific,0.682399950347992
-2010,1.25121932857255,6.85,East Asia & Pacific,0.636417218761035
-2011,1.19468767760149,6.85,East Asia & Pacific,0.603066324905647
-2012,1.13115140676874,6.85,East Asia & Pacific,0.566151198908815
-2013,1.03172930805449,6.85,East Asia & Pacific,0.512059561190571
-2014,0.961599599118387,6.85,East Asia & Pacific,0.473398423036919
-2015,0.891783041496725,6.85,East Asia & Pacific,0.435671997129777
-2016,0.830500385961437,6.85,East Asia & Pacific,0.402702646401196
-2017,0.792223142869488,6.85,East Asia & Pacific,0.381232852091071
-2018,0.729643687913593,6.85,East Asia & Pacific,0.348817102836994
-2019,0.674491977331247,6.85,East Asia & Pacific,0.320607874232293
+year,Region name,Population in poverty (billions),Proportion of the population in poverty,poverty line (2017 PPP)
+2002,East Asia & Pacific,0.615449625875167,0.332471254864735,2.15
+2003,East Asia & Pacific,0.558928115943916,0.299396577159239,2.15
+2004,East Asia & Pacific,0.494040161138916,0.262447438455967,2.15
+2005,East Asia & Pacific,0.410056792270645,0.216037225614993,2.15
+2006,East Asia & Pacific,0.40277963994196,0.210448252153605,2.15
+2007,East Asia & Pacific,0.361921446616608,0.187518629896031,2.15
+2008,East Asia & Pacific,0.343125960030805,0.176287662756184,2.15
+2009,East Asia & Pacific,0.305169308643188,0.155458939551926,2.15
+2010,East Asia & Pacific,0.26363547599444,0.133163755304968,2.15
+2011,East Asia & Pacific,0.206930980930363,0.103650148231288,2.15
+2012,East Asia & Pacific,0.177521733162154,0.0881551159306787,2.15
+2013,East Asia & Pacific,0.0912094207415419,0.0449078366245885,2.15
+2014,East Asia & Pacific,0.0732131916049349,0.0357538581690107,2.15
+2015,East Asia & Pacific,0.0557041706146078,0.0269921423342668,2.15
+2016,East Asia & Pacific,0.0466100004372272,0.022415377322478,2.15
+2017,East Asia & Pacific,0.0399770549110564,0.0190813765192162,2.15
+2018,East Asia & Pacific,0.0322193672399999,0.0152775539324284,2.15
+2019,East Asia & Pacific,0.0238304968192931,0.0112375666388395,2.15
+2020,East Asia & Pacific,0.692618423896895,0.325126232298748,6.85
+2020,East Asia & Pacific,0.181289383143235,0.0851001533651064,3.65
+2020,East Asia & Pacific,0.0343642361886222,0.0161311253820967,2.15
+2021,East Asia & Pacific,0.65710250097449,0.307451134466946,6.85
+2021,East Asia & Pacific,0.170575436373837,0.0798103969282664,3.65
+2021,East Asia & Pacific,0.0325132643714941,0.0152126038196705,2.15
+2022,East Asia & Pacific,0.638805169181595,0.298100303931751,6.85
+2022,East Asia & Pacific,0.160211560779632,0.0747631942662191,3.65
+2022,East Asia & Pacific,0.0289387624780657,0.0135043583025043,2.15
+2002,Europe & Central Asia,0.0377555558601178,0.0796433398252359,2.15
+2003,Europe & Central Asia,0.0376387861713282,0.0794017641280951,2.15
+2004,Europe & Central Asia,0.0326821157260648,0.0689274762098969,2.15
+2005,Europe & Central Asia,0.0327615211812466,0.0690647026935838,2.15
+2006,Europe & Central Asia,0.02918739770391,0.0614813927603812,2.15
+2007,Europe & Central Asia,0.0261853125610247,0.0550755354655801,2.15
+2008,Europe & Central Asia,0.0231991937758253,0.0486882755383425,2.15
+2009,Europe & Central Asia,0.0225251553384429,0.0471343605776504,2.15
+2010,Europe & Central Asia,0.0222823516689665,0.046476461649691,2.15
+2011,Europe & Central Asia,0.020686329101904,0.0430035567402427,2.15
+2012,Europe & Central Asia,0.0199076042356097,0.041215929698805,2.15
+2013,Europe & Central Asia,0.0182252912378214,0.0375565613131006,2.15
+2014,Europe & Central Asia,0.0190818878711678,0.0391201458701837,2.15
+2015,Europe & Central Asia,0.0172406213158869,0.0351581419161884,2.15
+2016,Europe & Central Asia,0.0155579274936389,0.0315647676609728,2.15
+2017,Europe & Central Asia,0.0154685805310129,0.0312521276929387,2.15
+2018,Europe & Central Asia,0.0132545211502427,0.0266969201137894,2.15
+2019,Europe & Central Asia,0.0130007636468455,0.0261149544646136,2.15
+2020,Europe & Central Asia,0.0771616766718299,0.154705464392505,6.85
+2020,Europe & Central Asia,0.0313525926630761,0.06286044597604,3.65
+2020,Europe & Central Asia,0.0130870010190242,0.0262388099569702,2.15
+2021,Europe & Central Asia,0.0725998868997341,0.145495558996129,6.85
+2021,Europe & Central Asia,0.0298747756716744,0.0598712666348542,3.65
+2021,Europe & Central Asia,0.0119946439624222,0.0240381562946836,2.15
+2022,Europe & Central Asia,0.0753634580955133,0.151136589751666,6.85
+2022,Europe & Central Asia,0.0317983478826167,0.0637695506570964,3.65
+2022,Europe & Central Asia,0.0114046749880836,0.0228713454568468,2.15
+2002,Latin America & Caribbean,0.0649386681221293,0.122160852493704,2.15
+2003,Latin America & Caribbean,0.0657928604162115,0.122150278286694,2.15
+2004,Latin America & Caribbean,0.0614637995886278,0.112664910562748,2.15
+2005,Latin America & Caribbean,0.0596902066309906,0.10805739344943,2.15
+2006,Latin America & Caribbean,0.0506778454853864,0.0906425487855725,2.15
+2007,Latin America & Caribbean,0.0491924455368741,0.0869626033960496,2.15
+2008,Latin America & Caribbean,0.046191677564784,0.0807379891838025,2.15
+2009,Latin America & Caribbean,0.0437046125787461,0.075548374267627,2.15
+2010,Latin America & Caribbean,0.0400025038592131,0.0683829788256455,2.15
+2011,Latin America & Caribbean,0.037371749216522,0.0631683013760782,2.15
+2012,Latin America & Caribbean,0.0318672725456316,0.053264930181888,2.15
+2013,Latin America & Caribbean,0.0285762188119329,0.047248275396893,2.15
+2014,Latin America & Caribbean,0.0268845896001034,0.0439822832308766,2.15
+2015,Latin America & Caribbean,0.027428380036735,0.0444076289143595,2.15
+2016,Latin America & Caribbean,0.0291716515167535,0.0467519093447813,2.15
+2017,Latin America & Caribbean,0.0293886091596867,0.0466390441375377,2.15
+2018,Latin America & Caribbean,0.028869802513742,0.0453922894188619,2.15
+2019,Latin America & Caribbean,0.029369322395047,0.0457783024358336,2.15
+2020,Latin America & Caribbean,0.208312394245767,0.322186497292595,6.85
+2020,Latin America & Caribbean,0.0809656217906683,0.125225530532169,3.65
+2020,Latin America & Caribbean,0.0335496334883824,0.0518895620119441,2.15
+2021,Latin America & Caribbean,0.195741338743803,0.300758753714343,6.85
+2021,Latin America & Caribbean,0.0751408889695214,0.115454815341997,3.65
+2021,Latin America & Caribbean,0.0308877097466905,0.047459311089437,2.15
+2022,Latin America & Caribbean,0.19169006218624,0.292661342029821,6.85
+2022,Latin America & Caribbean,0.0733292993696139,0.111954949144767,3.65
+2022,Latin America & Caribbean,0.0301868861982227,0.0460875985208351,2.15
+2002,Middle East & North Africa,0.00975167176025951,0.0327512974402391,2.15
+2003,Middle East & North Africa,0.00988647068474661,0.0326205530311133,2.15
+2004,Middle East & North Africa,0.00917389765785567,0.0296925203838017,2.15
+2005,Middle East & North Africa,0.00859373776689711,0.0272796504840564,2.15
+2006,Middle East & North Africa,0.00844556418122756,0.0263004427868089,2.15
+2007,Middle East & North Africa,0.00820412869838258,0.0250677743531596,2.15
+2008,Middle East & North Africa,0.00800434955457058,0.0239978643749964,2.15
+2009,Middle East & North Africa,0.00762585224649263,0.0224302452301065,2.15
+2010,Middle East & North Africa,0.00639215371617316,0.0184310368294877,2.15
+2011,Middle East & North Africa,0.00750046142329015,0.0212110475851073,2.15
+2012,Middle East & North Africa,0.00752271013206148,0.0208717529410308,2.15
+2013,Middle East & North Africa,0.0081938061746889,0.0222782034376557,2.15
+2014,Middle East & North Africa,0.00979455445273236,0.0260874576021439,2.15
+2015,Middle East & North Africa,0.0188653687864078,0.0492522774187944,2.15
+2016,Middle East & North Africa,0.0216207895551107,0.0554116620653662,2.15
+2017,Middle East & North Africa,0.0241484726234249,0.060840524069697,2.15
+2018,Middle East & North Africa,0.030836586173872,0.0763763980904927,2.15
+2019,Middle East & North Africa,0.0349388315964357,0.0850856065232842,2.15
+2020,Middle East & North Africa,0.200977649240258,0.481815548154457,6.85
+2020,Middle East & North Africa,0.0813843578405517,0.195107511369425,3.65
+2020,Middle East & North Africa,0.0393119655298054,0.0942448888837843,2.15
+2021,Middle East & North Africa,0.202273065502941,0.477798469315691,6.85
+2021,Middle East & North Africa,0.0822821913867153,0.194362531653735,3.65
+2021,Middle East & North Africa,0.0404706785729615,0.0955976428510063,2.15
+2022,Middle East & North Africa,0.200596999422805,0.46684433335722,6.85
+2022,Middle East & North Africa,0.0810049778505519,0.1885208402522,3.65
+2022,Middle East & North Africa,0.0413143466756981,0.096149836176027,2.15
+2002,Other High Income Countries,0.00482970123561586,0.00488877318645078,2.15
+2003,Other High Income Countries,0.00561886681105935,0.00564726812532975,2.15
+2004,Other High Income Countries,0.00547179781552646,0.00545983547433742,2.15
+2005,Other High Income Countries,0.00553221615288986,0.0054782418300418,2.15
+2006,Other High Income Countries,0.00508189470492132,0.00499043763916382,2.15
+2007,Other High Income Countries,0.0050143304812985,0.00487873210379897,2.15
+2008,Other High Income Countries,0.00521932953621582,0.00503084642488528,2.15
+2009,Other High Income Countries,0.00528829901528043,0.00505393530435448,2.15
+2010,Other High Income Countries,0.00520490101219928,0.00493822239557631,2.15
+2011,Other High Income Countries,0.00585044186971227,0.00551418586189948,2.15
+2012,Other High Income Countries,0.00605320901423649,0.00566809251982638,2.15
+2013,Other High Income Countries,0.00667685052470408,0.00621317850889587,2.15
+2014,Other High Income Countries,0.00715806357779708,0.00662163164997431,2.15
+2015,Other High Income Countries,0.00778103474808448,0.00715635143539947,2.15
+2016,Other High Income Countries,0.00675786468729564,0.00617984921940997,2.15
+2017,Other High Income Countries,0.00760947104665165,0.00692014279308746,2.15
+2018,Other High Income Countries,0.00658795628116798,0.00595950275273184,2.15
+2019,Other High Income Countries,0.00659181105814965,0.00593322387813137,2.15
+2020,Other High Income Countries,0.0156603464790819,0.0140549446059697,6.85
+2020,Other High Income Countries,0.00931488972842365,0.0083599848393256,3.65
+2020,Other High Income Countries,0.00680743615799041,0.00610957990214529,2.15
+2021,Other High Income Countries,0.0150617402464702,0.0134981612470709,6.85
+2021,Other High Income Countries,0.00915722240385711,0.00820659914192327,3.65
+2021,Other High Income Countries,0.00665852572640162,0.00596729544209225,2.15
+2022,Other High Income Countries,0.0148421216756589,0.0132717505747951,6.85
+2022,Other High Income Countries,0.00825012774232058,0.00737722274476744,3.65
+2022,Other High Income Countries,0.00664414157004639,0.00594115798456887,2.15
+2002,South Asia,0.583414623157533,0.399033264684803,2.15
+2003,South Asia,0.576881781907235,0.387335852709937,2.15
+2004,South Asia,0.559327725242425,0.369021981795512,2.15
+2005,South Asia,0.54022736906716,0.350509322843788,2.15
+2006,South Asia,0.526670208891427,0.336338592464725,2.15
+2007,South Asia,0.506050595880554,0.318380022370475,2.15
+2008,South Asia,0.490975373051565,0.304441376078417,2.15
+2009,South Asia,0.480694489739577,0.293749127871989,2.15
+2010,South Asia,0.435400736690679,0.262203334887079,2.15
+2011,South Asia,0.361957478920539,0.214824563897186,2.15
+2012,South Asia,0.337306695074081,0.19740467416049,2.15
+2013,South Asia,0.328031032357781,0.189428932248173,2.15
+2014,South Asia,0.315307660114286,0.17976180878702,2.15
+2015,South Asia,0.296740636163197,0.167126491347968,2.15
+2016,South Asia,0.283477212634292,0.157743880276504,2.15
+2017,South Asia,0.228958940138188,0.125875514139237,2.15
+2018,South Asia,0.184336429808874,0.100158629864041,2.15
+2019,South Asia,0.158467392253586,0.08513137755894,2.15
+2020,South Asia,1.57267668371749,0.835495692143822,6.85
+2020,South Asia,0.855746804534114,0.4546215863416,3.65
+2020,South Asia,0.190988432742933,0.101463965516949,2.15
+2021,South Asia,1.55799718587489,0.819339147078289,6.85
+2021,South Asia,0.792838377607987,0.416947813493949,3.65
+2021,South Asia,0.158110023988349,0.0831488871569402,2.15
+2022,South Asia,1.54555716712177,0.805397528581267,6.85
+2022,South Asia,0.739541230287879,0.385378614151825,3.65
+2022,South Asia,0.137191066029782,0.0714909470023573,2.15
+2002,Sub-Saharan Africa,0.382298403511158,0.540050600948312,2.15
+2003,Sub-Saharan Africa,0.384444140375229,0.528813346915897,2.15
+2004,Sub-Saharan Africa,0.376080322895865,0.503614589099338,2.15
+2005,Sub-Saharan Africa,0.37361899761003,0.486991222952267,2.15
+2006,Sub-Saharan Africa,0.373205099526667,0.473409768803524,2.15
+2007,Sub-Saharan Africa,0.373077676057434,0.460448111289933,2.15
+2008,Sub-Saharan Africa,0.370643905404927,0.445015858103313,2.15
+2009,Sub-Saharan Africa,0.376689871677135,0.439992361654702,2.15
+2010,Sub-Saharan Africa,0.370736657676858,0.421270222413545,2.15
+2011,Sub-Saharan Africa,0.370192172718781,0.409260258038412,2.15
+2012,Sub-Saharan Africa,0.374237301547662,0.402582276205416,2.15
+2013,Sub-Saharan Africa,0.374389548530216,0.391880667559234,2.15
+2014,Sub-Saharan Africa,0.373621407163151,0.380553621790205,2.15
+2015,Sub-Saharan Africa,0.383411337291172,0.37999727495418,2.15
+2016,Sub-Saharan Africa,0.389030199425947,0.375347916939765,2.15
+2017,Sub-Saharan Africa,0.390451437978073,0.366899201889979,2.15
+2018,Sub-Saharan Africa,0.389989079935274,0.356896537322374,2.15
+2019,Sub-Saharan Africa,0.394247596507125,0.351416722542006,2.15
+2020,Sub-Saharan Africa,1.00198048023167,0.870041663591723,6.85
+2020,Sub-Saharan Africa,0.728394755241196,0.63248116815111,3.65
+2020,Sub-Saharan Africa,0.415029444103241,0.360379184137044,2.15
+2021,Sub-Saharan Africa,1.02397401535812,0.866659080801997,6.85
+2021,Sub-Saharan Africa,0.740273517974412,0.626543991358401,3.65
+2021,Sub-Saharan Africa,0.419698934619576,0.355219846827625,2.15
+2022,Sub-Saharan Africa,1.04767265993636,0.864744383202562,6.85
+2022,Sub-Saharan Africa,0.754626292234926,0.622865206453672,3.65
+2022,Sub-Saharan Africa,0.426036699374508,0.351648808745896,2.15
+2002,Sub-Saharan Africa,0.538619858333153,0.768286733318499,3.65
+2003,Sub-Saharan Africa,0.550751362510106,0.765234114909877,3.65
+2004,Sub-Saharan Africa,0.553710874529674,0.749287452425392,3.65
+2005,Sub-Saharan Africa,0.559175264923298,0.736799436687299,3.65
+2006,Sub-Saharan Africa,0.565513828432872,0.725420573405032,3.65
+2007,Sub-Saharan Africa,0.573642456361111,0.716239630835552,3.65
+2008,Sub-Saharan Africa,0.581067369540899,0.706082452120734,3.65
+2009,Sub-Saharan Africa,0.594444123516815,0.702939114180771,3.65
+2010,Sub-Saharan Africa,0.599249845290379,0.689565623532502,3.65
+2011,Sub-Saharan Africa,0.608382627554391,0.681244550543751,3.65
+2012,Sub-Saharan Africa,0.621270368618348,0.676967253684017,3.65
+2013,Sub-Saharan Africa,0.629874754526283,0.667919818726785,3.65
+2014,Sub-Saharan Africa,0.63634770089197,0.656733800352205,3.65
+2015,Sub-Saharan Africa,0.652738789723354,0.655716728557531,3.65
+2016,Sub-Saharan Africa,0.665403965042623,0.650742575387218,3.65
+2017,Sub-Saharan Africa,0.672714842680326,0.640581475819283,3.65
+2018,Sub-Saharan Africa,0.680021921694025,0.630631194304147,3.65
+2019,Sub-Saharan Africa,0.691042131879191,0.62427139334507,3.65
+2002,Europe & Central Asia,0.0795674761786482,0.169826642709746,3.65
+2003,Europe & Central Asia,0.0751432438682992,0.160367095354963,3.65
+2004,Europe & Central Asia,0.064093421102021,0.136710819782893,3.65
+2005,Europe & Central Asia,0.0602912851938996,0.128513465053707,3.65
+2006,Europe & Central Asia,0.0517418829662624,0.110178264491787,3.65
+2007,Europe & Central Asia,0.045557693924917,0.096869680110593,3.65
+2008,Europe & Central Asia,0.0396979982931635,0.0841951044028534,3.65
+2009,Europe & Central Asia,0.0391809152798458,0.0828054404394059,3.65
+2010,Europe & Central Asia,0.0389135676487053,0.0819234974468693,3.65
+2011,Europe & Central Asia,0.0375807520445644,0.0787648905542026,3.65
+2012,Europe & Central Asia,0.0367994828057361,0.0767826180457665,3.65
+2013,Europe & Central Asia,0.0352362442714356,0.073155463103852,3.65
+2014,Europe & Central Asia,0.0366491994919339,0.0757123813575715,3.65
+2015,Europe & Central Asia,0.0357402759557226,0.0734635821537555,3.65
+2016,Europe & Central Asia,0.0331859685688836,0.0678830702164348,3.65
+2017,Europe & Central Asia,0.0330950410365351,0.0673909508079719,3.65
+2018,Europe & Central Asia,0.0301984770783236,0.0612433354603829,3.65
+2019,Europe & Central Asia,0.030569134126858,0.0617581795679285,3.65
+2002,Other High Income Countries,0.00738322668499299,0.0074700154232547,3.65
+2003,Other High Income Countries,0.00824952750818292,0.00828758519335204,3.65
+2004,Other High Income Countries,0.00816052844246242,0.00813760803126872,3.65
+2005,Other High Income Countries,0.00799931993872362,0.00791695274613119,3.65
+2006,Other High Income Countries,0.00768488446824068,0.00754417006500791,3.65
+2007,Other High Income Countries,0.00767812772982919,0.00747421174807176,3.65
+2008,Other High Income Countries,0.00820745480497283,0.00791898465320963,3.65
+2009,Other High Income Countries,0.00776831910146921,0.00743712677072573,3.65
+2010,Other High Income Countries,0.0077287983971799,0.00734703468305756,3.65
+2011,Other High Income Countries,0.0083764175996293,0.00792387191492016,3.65
+2012,Other High Income Countries,0.00892047167233647,0.00838700482416866,3.65
+2013,Other High Income Countries,0.00945769403202641,0.00883783260678315,3.65
+2014,Other High Income Countries,0.0101869364909615,0.00946005230460103,3.65
+2015,Other High Income Countries,0.00973671667906991,0.00898755937720055,3.65
+2016,Other High Income Countries,0.0094678847318011,0.00868729459155559,3.65
+2017,Other High Income Countries,0.0100232142650905,0.00914899617173811,3.65
+2018,Other High Income Countries,0.009317416343741,0.0084641258906214,3.65
+2019,Other High Income Countries,0.00915969875055328,0.00828733118426294,3.65
+2002,Latin America & Caribbean,0.138456217353676,0.2608367378965,3.65
+2003,Latin America & Caribbean,0.136643040054263,0.254036822465646,3.65
+2004,Latin America & Caribbean,0.129380410689188,0.237456008081517,3.65
+2005,Latin America & Caribbean,0.121971298179149,0.221057569877869,3.65
+2006,Latin America & Caribbean,0.106234061656451,0.190180684571819,3.65
+2007,Latin America & Caribbean,0.101221639281957,0.179040599936332,3.65
+2008,Latin America & Caribbean,0.096466955372234,0.168631958236246,3.65
+2009,Latin America & Caribbean,0.0934688001939639,0.161512141932582,3.65
+2010,Latin America & Caribbean,0.0865155854285173,0.147834154881467,3.65
+2011,Latin America & Caribbean,0.0808879950740552,0.136667710982186,3.65
+2012,Latin America & Caribbean,0.0758719673758601,0.126780795380596,3.65
+2013,Latin America & Caribbean,0.0716745031380914,0.118473689249449,3.65
+2014,Latin America & Caribbean,0.0691464355583019,0.113088864274809,3.65
+2015,Latin America & Caribbean,0.0679929504278335,0.11005862660061,3.65
+2016,Latin America & Caribbean,0.0699558518150775,0.112101923277938,3.65
+2017,Latin America & Caribbean,0.0687993595818541,0.109173522104638,3.65
+2018,Latin America & Caribbean,0.06784872217845,0.106642388594406,3.65
+2019,Latin America & Caribbean,0.0679152355219637,0.105759269373001,3.65
+2002,South Asia,1.10917587581661,0.7688493086217,3.65
+2003,South Asia,1.11492734981592,0.759319488494216,3.65
+2004,South Asia,1.11237740473705,0.744683890843341,3.65
+2005,South Asia,1.10962009764573,0.730560399378053,3.65
+2006,South Asia,1.11109216905177,0.719800775628844,3.65
+2007,South Asia,1.10653275759077,0.705695482785464,3.65
+2008,South Asia,1.10749184424608,0.695655980355938,3.65
+2009,South Asia,1.10666711052796,0.684983988979986,3.65
+2010,South Asia,1.07843633203693,0.658067480197841,3.65
+2011,South Asia,1.0205548896206,0.614225180479833,3.65
+2012,South Asia,1.00041327206117,0.594161214617639,3.65
+2013,South Asia,1.00233150622796,0.58761525558249,3.65
+2014,South Asia,1.00531318871775,0.581902381940077,3.65
+2015,South Asia,1.00138165662949,0.572408761477738,3.65
+2016,South Asia,0.988108633052675,0.557879204960365,3.65
+2017,South Asia,0.926932914836348,0.51700687108262,3.65
+2018,South Asia,0.827698026395211,0.456168942290754,3.65
+2019,South Asia,0.771938363633596,0.420496858152363,3.65
+2003,Middle East & North Africa,0.0567619755840906,0.191291778528411,3.65
+2004,Middle East & North Africa,0.0525821243747162,0.174142823784737,3.65
+2005,Middle East & North Africa,0.0502452745516297,0.163523295664794,3.65
+2006,Middle East & North Africa,0.0502230381134045,0.160615972880698,3.65
+2007,Middle East & North Africa,0.0481728255246996,0.151377136196157,3.65
+2008,Middle East & North Africa,0.0467940604991196,0.14446191512957,3.65
+2009,Middle East & North Africa,0.044538383626715,0.135056001777573,3.65
+2010,Middle East & North Africa,0.0403611851884821,0.120187219593359,3.65
+2011,Middle East & North Africa,0.0386094411568417,0.112871927100161,3.65
+2012,Middle East & North Africa,0.0377406959657287,0.108295780318757,3.65
+2013,Middle East & North Africa,0.0394721065591185,0.111171743006161,3.65
+2014,Middle East & North Africa,0.0432893440071965,0.119697207230487,3.65
+2015,Middle East & North Africa,0.0530092223275328,0.143951784975048,3.65
+2016,Middle East & North Africa,0.0562595404355069,0.150116217839364,3.65
+2017,Middle East & North Africa,0.0607370904035702,0.15930856958455,3.65
+2018,Middle East & North Africa,0.0693855796841215,0.17892812656875,3.65
+2002,East Asia & Pacific,1.12805931311497,0.609862110552903,3.65
+2003,East Asia & Pacific,1.08019671026353,0.579125478053818,3.65
+2004,East Asia & Pacific,1.02297895498263,0.544040532676029,3.65
+2005,East Asia & Pacific,0.936125209233727,0.493903212222382,3.65
+2006,East Asia & Pacific,0.906987746114567,0.474868477254109,3.65
+2007,East Asia & Pacific,0.836343842529974,0.434667014833502,3.65
+2008,East Asia & Pacific,0.798023140518245,0.411746801874736,3.65
+2009,East Asia & Pacific,0.747570115046192,0.382956912729795,3.65
+2010,East Asia & Pacific,0.667515012943817,0.339523246099142,3.65
+2011,East Asia & Pacific,0.589638668759215,0.297643670105294,3.65
+2012,East Asia & Pacific,0.533461519207183,0.267002168643028,3.65
+2013,East Asia & Pacific,0.409431033256739,0.203205505155791,3.65
+2014,East Asia & Pacific,0.356122176924086,0.175320036654447,3.65
+2015,East Asia & Pacific,0.29942470891631,0.146281051391859,3.65
+2016,East Asia & Pacific,0.261980195057617,0.127031991360571,3.65
+2017,East Asia & Pacific,0.234566795279983,0.112878005616635,3.65
+2018,East Asia & Pacific,0.195961331093846,0.0936822519162683,3.65
+2019,East Asia & Pacific,0.159722111816354,0.0759210909223093,3.65
+2002,Sub-Saharan Africa,0.641801131230988,0.915464379793778,6.85
+2003,Sub-Saharan Africa,0.659930232268664,0.916931235341455,6.85
+2004,Sub-Saharan Africa,0.674915011254421,0.913302181063411,6.85
+2005,Sub-Saharan Africa,0.690342301176835,0.909632186070098,6.85
+2006,Sub-Saharan Africa,0.705080331439635,0.904451407929212,6.85
+2007,Sub-Saharan Africa,0.720916553077358,0.900123413310121,6.85
+2008,Sub-Saharan Africa,0.736776078348198,0.895291471064746,6.85
+2009,Sub-Saharan Africa,0.756564687545309,0.894649118805711,6.85
+2010,Sub-Saharan Africa,0.772526782651837,0.888957947609876,6.85
+2011,Sub-Saharan Africa,0.791301486228913,0.886070378928471,6.85
+2012,Sub-Saharan Africa,0.811676996000666,0.884443834144315,6.85
+2013,Sub-Saharan Africa,0.830637119988819,0.880808431555453,6.85
+2014,Sub-Saharan Africa,0.848624485762954,0.875811105824447,6.85
+2015,Sub-Saharan Africa,0.87134212236861,0.875317377991393,6.85
+2016,Sub-Saharan Africa,0.893906331916425,0.874210162767777,6.85
+2017,Sub-Saharan Africa,0.915025033813898,0.871317309183609,6.85
+2018,Sub-Saharan Africa,0.935600754988685,0.867647060613223,6.85
+2019,Sub-Saharan Africa,0.957752505970971,0.865211343563573,6.85
+2002,Europe & Central Asia,0.199922363360786,0.426708818763202,6.85
+2003,Europe & Central Asia,0.19197825293235,0.409710749885121,6.85
+2004,Europe & Central Asia,0.16941054550566,0.361351510930902,6.85
+2005,Europe & Central Asia,0.15321135229029,0.326576580762317,6.85
+2006,Europe & Central Asia,0.136303783542626,0.290242902914508,6.85
+2007,Europe & Central Asia,0.119455078509358,0.253998265624644,6.85
+2008,Europe & Central Asia,0.100666887411269,0.213503437450692,6.85
+2009,Europe & Central Asia,0.10225601959132,0.216109161293516,6.85
+2010,Europe & Central Asia,0.0974723914080143,0.205205528332491,6.85
+2011,Europe & Central Asia,0.0915835366803105,0.191948453682816,6.85
+2012,Europe & Central Asia,0.089350428588255,0.186430876399386,6.85
+2013,Europe & Central Asia,0.0842864281591906,0.174990632879499,6.85
+2014,Europe & Central Asia,0.0842838303775788,0.174119205774974,6.85
+2015,Europe & Central Asia,0.0873904708905636,0.179629755676141,6.85
+2016,Europe & Central Asia,0.0856249769133655,0.175148912951741,6.85
+2017,Europe & Central Asia,0.0804566294014545,0.163832664482362,6.85
+2018,Europe & Central Asia,0.0762185976438138,0.154573395595854,6.85
+2019,Europe & Central Asia,0.0743215590959483,0.150150284707713,6.85
+2002,Other High Income Countries,0.0151878481654639,0.0153663790755158,6.85
+2003,Other High Income Countries,0.0162097352652928,0.0162845159119164,6.85
+2004,Other High Income Countries,0.016075146705044,0.0160299965686188,6.85
+2005,Other High Income Countries,0.0154164502656315,0.0152577105555252,6.85
+2006,Other High Income Countries,0.0155720360828695,0.015286903655235,6.85
+2007,Other High Income Countries,0.0135710801284866,0.0132106589131481,6.85
+2008,Other High Income Countries,0.0153636492057265,0.0148236579022926,6.85
+2009,Other High Income Countries,0.014215215862377,0.0136091683491393,6.85
+2010,Other High Income Countries,0.0147349055835914,0.0140070754612678,6.85
+2011,Other High Income Countries,0.015650665390532,0.0148051200245004,6.85
+2012,Other High Income Countries,0.0167209333849752,0.0157209791270665,6.85
+2013,Other High Income Countries,0.0173752417397611,0.0162364607565443,6.85
+2014,Other High Income Countries,0.0170516355618604,0.0158349239182278,6.85
+2015,Other High Income Countries,0.0185187893122467,0.0170939264254717,6.85
+2016,Other High Income Countries,0.0169602192696211,0.0155619153914802,6.85
+2017,Other High Income Countries,0.0163549186243691,0.0149284534806949,6.85
+2018,Other High Income Countries,0.0151788907305477,0.0137888055318732,6.85
+2019,Other High Income Countries,0.0149675462679123,0.0135420406626883,6.85
+2002,Latin America & Caribbean,0.265219731758955,0.499645671245503,6.85
+2003,Latin America & Caribbean,0.267026864531563,0.496436965626823,6.85
+2004,Latin America & Caribbean,0.260959807807962,0.478947886327717,6.85
+2005,Latin America & Caribbean,0.249960255509783,0.453021386784663,6.85
+2006,Latin America & Caribbean,0.230942478722193,0.413434241478353,6.85
+2007,Latin America & Caribbean,0.223257473139527,0.394897298786342,6.85
+2008,Latin America & Caribbean,0.215885816310086,0.377385684241039,6.85
+2009,Latin America & Caribbean,0.215886755811158,0.373047822092277,6.85
+2010,Latin America & Caribbean,0.206927608438017,0.353589101472969,6.85
+2011,Latin America & Caribbean,0.198328068701183,0.335093522198108,6.85
+2012,Latin America & Caribbean,0.191821693771836,0.320530859403865,6.85
+2013,Latin America & Caribbean,0.187601606869308,0.310094294370068,6.85
+2014,Latin America & Caribbean,0.185886848948374,0.304017589069646,6.85
+2015,Latin America & Caribbean,0.183167443224886,0.29648893175584,6.85
+2016,Latin America & Caribbean,0.183748176738029,0.294450335128476,6.85
+2017,Latin America & Caribbean,0.181726794791603,0.28837120532469,6.85
+2018,Latin America & Caribbean,0.180094251019575,0.283066216786439,6.85
+2019,Latin America & Caribbean,0.179971137141049,0.28025546589042,6.85
+2002,South Asia,1.36508113006041,0.94623558440339,6.85
+2003,South Asia,1.38385701274966,0.942473605337325,6.85
+2004,South Asia,1.40080638553189,0.937773407706597,6.85
+2005,South Asia,1.41778080796777,0.933449669393219,6.85
+2006,South Asia,1.4356678309364,0.930071192145403,6.85
+2007,South Asia,1.45204278810031,0.926045821367874,6.85
+2008,South Asia,1.47003149855825,0.92338034685917,6.85
+2009,South Asia,1.48713648310735,0.920479763666747,6.85
+2010,South Asia,1.49646986337231,0.913153723522456,6.85
+2011,South Asia,1.4919347085659,0.897927073744849,6.85
+2012,South Asia,1.49774080980467,0.889531880062398,6.85
+2013,South Asia,1.50942197436412,0.884896238157436,6.85
+2014,South Asia,1.52188727989587,0.880909395354952,6.85
+2015,South Asia,1.53398338541192,0.87685401860317,6.85
+2016,South Asia,1.54442531562236,0.871971702684368,6.85
+2017,South Asia,1.52312488405975,0.84953939812876,6.85
+2018,South Asia,1.49520636648124,0.824052595213601,6.85
+2019,South Asia,1.50819234742493,0.82155541615579,6.85
+2003,Middle East & North Africa,0.16639774168365,0.560771883329198,6.85
+2004,Middle East & North Africa,0.156378021351487,0.517896728971114,6.85
+2005,Middle East & North Africa,0.154070585270847,0.501422871967875,6.85
+2006,Middle East & North Africa,0.156849883345383,0.501614349829999,6.85
+2007,Middle East & North Africa,0.154813668527006,0.486482773853972,6.85
+2008,Middle East & North Africa,0.153498170029148,0.473877226613244,6.85
+2009,Middle East & North Africa,0.153234004966019,0.464659252579204,6.85
+2010,Middle East & North Africa,0.149474948566333,0.445105325404928,6.85
+2011,Middle East & North Africa,0.145116583416385,0.424237904865301,6.85
+2012,Middle East & North Africa,0.147053097961201,0.421964396376266,6.85
+2013,Middle East & North Africa,0.149456718772816,0.420939376647412,6.85
+2014,Middle East & North Africa,0.154435575011061,0.427022110170701,6.85
+2015,Middle East & North Africa,0.160137730144023,0.434869841207075,6.85
+2016,Middle East & North Africa,0.161275293359495,0.430327672118374,6.85
+2017,Middle East & North Africa,0.166984603368439,0.43798736700278,6.85
+2018,Middle East & North Africa,0.174891051433107,0.451000457573837,6.85
+2002,East Asia & Pacific,1.57741641822566,0.852797804916358,6.85
+2003,East Asia & Pacific,1.55883708995718,0.835738774569338,6.85
+2004,East Asia & Pacific,1.5311398886167,0.81429061325967,6.85
+2005,East Asia & Pacific,1.48411664289169,0.783025571800289,6.85
+2006,East Asia & Pacific,1.45654621031061,0.762598925843783,6.85
+2007,East Asia & Pacific,1.405577824419,0.730510928625002,6.85
+2008,East Asia & Pacific,1.3754086135904,0.709653729525987,6.85
+2009,East Asia & Pacific,1.33211281068872,0.682399950347992,6.85
+2010,East Asia & Pacific,1.25121932857255,0.636417218761035,6.85
+2011,East Asia & Pacific,1.19468767760149,0.603066324905647,6.85
+2012,East Asia & Pacific,1.13115140676874,0.566151198908815,6.85
+2013,East Asia & Pacific,1.03172930805449,0.512059561190571,6.85
+2014,East Asia & Pacific,0.961599599118387,0.473398423036919,6.85
+2015,East Asia & Pacific,0.891783041496725,0.435671997129777,6.85
+2016,East Asia & Pacific,0.830500385961437,0.402702646401196,6.85
+2017,East Asia & Pacific,0.792223142869488,0.381232852091071,6.85
+2018,East Asia & Pacific,0.729643687913593,0.348817102836994,6.85
+2019,East Asia & Pacific,0.674491977331247,0.320607874232293,6.85
diff --git a/src/utils/mapUtils.js b/src/utils/mapUtils.js
index 4ebdd9f..8d88f70 100644
--- a/src/utils/mapUtils.js
+++ b/src/utils/mapUtils.js
@@ -4,7 +4,7 @@ const regionMapping = [
{ name: 'ECA', label: 'Europe & Central Asia' },
{ name: 'MNA', label: 'Middle East & North Africa' },
{ name: 'SSA', label: 'Sub-Saharan Africa' },
- { name: 'OHI', label: 'Other High-Income Countries' },
+ { name: 'OHI', label: 'Other high-income countries*' },
{ name: 'SAS', label: 'South Asia' },
{ name: 'LAC', label: 'Latin America & Caribbean' },
{ name: 'EAP', label: 'East Asia & Pacific' },
@@ -22,21 +22,27 @@ const variableData = [
},
];
-const getTooltipText = (variable, layerInstance) => {
+const getTooltipDetails = (variable, layerInstance) => {
let text;
+ let value;
if (variable === 'changepoorpop') {
text =
layerInstance.feature.properties[variable] < 0
? 'Reduction in people living in poverty'
: 'Additional people living in poverty';
+ value =
+ Math.abs((Number(layerInstance.feature.properties[variable]) / 1000000).toFixed(2)) === 0
+ ? 'less than 0.01'
+ : Math.abs((Number(layerInstance.feature.properties[variable]) / 1000000).toFixed(2));
} else {
text =
layerInstance.feature.properties[variable] < 0
? 'Reduction in proportion of population living in poverty'
: 'Additional proportion of population living in poverty';
+ value = Math.abs((Number(layerInstance.feature.properties[variable]) * 100).toFixed(2));
}
- return text;
+ return { text, value };
};
const highlightFeature = (e, variable, filterOptions) => {
@@ -55,10 +61,8 @@ const highlightFeature = (e, variable, filterOptions) => {
// Bind popup to layer
layer
.bindTooltip(
- `${layer.feature.properties.country_name}
${getTooltipText(variable, layer)}: ${
- variable === 'changepoorpop'
- ? Math.abs((Number(layer.feature.properties[variable]) / 1000000).toFixed(2))
- : Math.abs((Number(layer.feature.properties[variable]) * 100).toFixed(2))
+ `
${layer.feature.properties.country_name}
${getTooltipDetails(variable, layer).text}: ${
+ getTooltipDetails(variable, layer).value
}${
filterOptions.find((option) => option.variable === variable).unit
}
`,