Skip to content

Instantly share code, notes, and snippets.

@rlbarter
Last active September 28, 2019 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rlbarter/22670f3a7429316bd893078e57e23345 to your computer and use it in GitHub Desktop.
Save rlbarter/22670f3a7429316bd893078e57e23345 to your computer and use it in GitHub Desktop.
Exploration of world happiness
country population area gini_index happy_planet_index hdi_index world_happiness_score sustainable_economic_development_assessment gdp_billions gdp_per_capita gdp_growth_annual_pct health_expenditure_pct_gdp health_expenditure_per_person education_expenditure_pct_gdp education_expenditure_per_person school_years unemployment_pct government_spending_score government_expenditure_pct_gdp political_rights_score civil_liberties_score political_stability government_effectiveness regulatory_quality rule_of_law control_of_corruption judicial_effectiveness_score government_integrity_score property_rights_score overall_economic_freedom_score women_mps_pct index happiest_country region employment_rate population_scaled area_scaled gini_index_scaled happy_planet_index_scaled hdi_index_scaled world_happiness_score_scaled sustainable_economic_development_assessment_scaled gdp_billions_scaled gdp_per_capita_scaled gdp_growth_annual_pct_scaled health_expenditure_pct_gdp_scaled health_expenditure_per_person_scaled education_expenditure_pct_gdp_scaled education_expenditure_per_person_scaled school_years_scaled unemployment_pct_scaled government_spending_score_scaled government_expenditure_pct_gdp_scaled political_rights_score_scaled civil_liberties_score_scaled political_stability_scaled government_effectiveness_scaled regulatory_quality_scaled rule_of_law_scaled control_of_corruption_scaled judicial_effectiveness_score_scaled government_integrity_score_scaled property_rights_score_scaled overall_economic_freedom_score_scaled women_mps_pct_scaled index_scaled employment_rate_scaled
Finland 6e6 303815 27.2 31.3 0.92 7.788251877 81.3 231.4 42165 0.4 9.44569068 3669 7.15155983 3569.6700358737103 19 9 2.3 57.1 1 1 1.07 1.94 1.82 2.03 2.22 82.7 89.8 89 74.1 42 1 TRUE Scandinavian Europe 91 0.004113444468499676 0.018531544578494815 NA NA 0.9436860068259387 1 0.9421965317919075 0.010719352141521756 0.4016700370581804 0.5124378109452736 0.4794239826168888 0.3826809764309764 NA NA 0.9230769230769231 0.33984375 0 1 0 0 0.869674185463659 0.9321608040201005 0.9184782608695652 1 0.9945504087193462 0.8543307086614174 0.9274292742927428 0.8832298136645962 0.7054108216432865 0.8741573033707865 0 0.66015625
Denmark 6e6 42434 29 32.7 0.929 7.593702316 82 273.9 47985 1.2 10.32620701 5083 NA NA 19 6.1 10.6 54.6 1 1 0.87 1.8 1.62 1.86 2.19 83.6 84.1 84.8 76.6 37.4 2 TRUE Scandinavian Europe 93.9 0.004113444468499676 0.002571710597257469 NA NA 0.9590443686006828 0.9561936865051074 0.952312138728324 0.012715725787510688 0.45798299000493464 0.5522388059701492 0.5414467735066545 0.5314604377104377 NA NA 0.9230769230769231 0.2265625 0.08829787234042553 0.9457700650759219 0 0 0.8195488721804511 0.8969849246231156 0.8641304347826086 0.9547872340425532 0.9863760217983651 0.8661417322834647 0.8573185731857318 0.8310559006211181 0.7555110220440882 0.7707865168539325 0.007462686567164179 0.7734375000000002
Norway 5e6 304282 26.8 36.8 0.953 7.578744888 85.3 364.4 69250 1.6 9.98 6222 7.68073988 7465.679904935809 18 4.8 29.2 48.6 1 1 1.15 1.98 1.81 2.02 2.24 86 93.6 86.4 74.3 39.6 3 TRUE Scandinavian Europe 95.2 0.0033917875442014867 0.018560059437911672 NA NA 1 0.9528257540529479 1 0.016966827316028298 0.6637381350930325 0.572139303482587 0.5170602581699077 0.6513047138047138 NA NA 0.8461538461538461 0.17578125000000003 0.28617021276595744 0.8156182212581345 0 0 0.8897243107769423 0.9422110552763819 0.9157608695652174 0.9973404255319149 1 0.8976377952755907 0.9741697416974169 0.8509316770186336 0.7094188376753507 0.8202247191011236 0.014925373134328358 0.8242187500000001
Iceland 3e5 100250 28 31.1 0.935 7.476213932 83.7 16.5 49136 4 8.6091496 4116 NA NA 20 3.8 44.2 43.1 1 1 1.37 1.45 1.43 1.61 1.84 72.6 77.3 86.7 77 47.6 4 TRUE Scandinavian Europe 96.2 0 0.006101935676583121 NA NA 0.9692832764505122 0.9297390753764176 0.9768786127167631 6.247475174506544e-4 0.46911979564784084 0.6915422885572139 0.42049876941211056 0.4297138047138047 NA NA 1 0.13671875 0.4457446808510639 0.6963123644251626 0 0 0.9448621553884712 0.8090452261306532 0.8125 0.8882978723404256 0.891008174386921 0.7217847769028871 0.7736777367773677 0.8546583850931678 0.7635270541082165 1 0.022388059701492536 0.86328125
Netherlands 17e6 33893 30.3 35.3 0.931 7.458965302 80.3 869.4 51049 1.9 10.6902779 5313 5.529310226 2883.9445558801453 18 6.2 39.1 45 1 1 0.92 1.85 2.05 1.83 1.87 74.1 86 87.9 76.2 36 6 TRUE Europe 93.8 0.01205167063577975 0.0020502000741752704 NA NA 0.9624573378839592 0.9258552378120789 0.9277456647398844 0.040688443580132086 0.4876295343054252 0.5870646766169154 0.5670916047382581 0.5556607744107744 NA NA 0.8461538461538461 0.23046875000000003 0.3914893617021277 0.737527114967462 0 0 0.8320802005012531 0.9095477386934674 0.9809782608695652 0.946808510638298 0.8991825613079019 0.7414698162729659 0.8806888068880688 0.8695652173913043 0.74749498997996 0.7393258426966292 0.03731343283582089 0.7695312499999999
Israel 9e6 20330 42.8 28.8 0.903 7.331036091 66.5 300.6 35179 2.6 7.4313808 2819 5.739089966 2154.4517327115427 16 5.6 51.8 40.1 1 3 -0.88 1.39 1.27 1.02 0.83 83.1 61.2 78.2 72.2 27.5 7 TRUE Israel 94.4 0.006278415241394241 0.0012220479579636019 NA NA 0.9146757679180888 0.8970496877331442 0.7283236994219654 0.013969918172167266 0.334075141991853 0.6218905472636815 0.33753777765073073 0.2932449494949495 NA NA 0.6923076923076923 0.20703125 0.526595744680851 0.631236442516269 0 0.3333333333333333 0.38095238095238093 0.7939698492462312 0.7690217391304348 0.7313829787234043 0.6158038147138964 0.8595800524934385 0.5756457564575647 0.7490683229813665 0.6673346693386775 0.548314606741573 0.04477611940298507 0.7929687500000002
New Zealand 47e5 264537 36.2 31.3 0.917 7.32718277 78.6 177 37294 3.4 9.34035114 3530 6.355259895 2831.942817038217 19 5.2 49.5 41 1 1 1.59 1.77 2.09 1.92 2.24 88.4 95.7 95.1 84.2 34.2 8 TRUE New Zealand 94.8 0.00317529046691203 0.01613324340467177 NA NA 0.938566552901024 0.8961820435870727 0.9031791907514451 0.00816399387465592 0.3545393852018848 0.6616915422885572 0.47200395866134875 0.3680555555555556 NA NA 0.9230769230769231 0.19140625000000003 0.5021276595744681 0.6507592190889371 0 0 1 0.8894472361809045 0.9918478260869564 0.9707446808510639 1 0.9291338582677168 1 0.9590062111801241 0.9078156312625252 0.698876404494382 0.05223880597014925 0.8085937499999999
Austria 9e6 82445 30.5 30.5 0.908 7.293727875 80.3 417.2 48005 0.9 10.31988167 5138 5.448979855 2817.3673823401173 16 6.1 19.4 51.8 1 1 1.04 1.46 1.44 1.81 1.53 80.9 73.5 83.5 71.8 30.6 9 TRUE Europe 93.9 0.006278415241394241 0.005014768499030311 NA NA 0.9232081911262799 0.8886490755825408 0.9277456647398844 0.019447027986809844 0.45817650530715714 0.5373134328358209 0.5410012221559752 0.5372474747474747 NA NA 0.6923076923076923 0.2265625 0.18191489361702126 0.8850325379609544 0 0 0.8621553884711779 0.8115577889447236 0.8152173913043478 0.9414893617021277 0.8065395095367848 0.830708661417323 0.7269372693726938 0.8149068322981365 0.6593186372745491 0.6179775280898876 0.05970149253731343 0.7734375000000002
Sweden 1e7 410335 24.9 28 0.933 7.286804676 81.9 496 59561 0.9 11.01207026 5299 7.681250095 4545.781315406601 18 4.6 65.4 34 1 1 0.98 1.84 1.8 1.94 2.14 82.1 82.8 84.2 81.7 43.6 10 TRUE Scandinavian Europe 95.4 0.00700007216569243 0.025035619150408618 NA NA 0.9658703071672357 0.8870901934950015 0.9508670520231217 0.023148539593961088 0.5699896469313311 0.5373134328358209 0.58975837373981 0.5541877104377104 NA NA 0.8461538461538461 0.16796875 0.6712765957446809 0.4989154013015184 0 0 0.8471177944862155 0.9070351758793971 0.9130434782608696 0.976063829787234 0.9727520435967303 0.846456692913386 0.8413284132841328 0.8236024844720499 0.8577154308617235 0.9101123595505618 0.06716417910447761 0.8320312500000002
Australia 25e6 7682300 30.3 21.2 0.939 7.25703764 78.9 1187.3 48899 2.5 9.44533327 4492 5.192669868 3236.4742114028095 20 5.7 61.2 36 1 1 0.9 1.54 1.93 1.68 1.8 93.4 77.4 78.7 80.9 28.7 11 FALSE NA 94.3 0.01782492603016526 0.4690593015044 NA NA 0.9761092150170648 0.880387612907684 0.9075144508670522 0.05562131845212931 0.466826639316504 0.6169154228855721 0.47939880697285286 0.4692760942760943 NA NA 1 0.21093750000000003 0.6265957446808511 0.5422993492407809 0 0 0.8270676691729323 0.8316582914572864 0.9483695652173914 0.9069148936170214 0.8801089918256131 0.9947506561679793 0.7749077490774909 0.7552795031055901 0.8416833667334671 0.5752808988764044 0.07462686567164178 0.7890624999999999
Costa Rica 49e5 51060 48.5 44.7 0.794 7.22518158 58.9 80.7 16436 3.7 8.14558457 1286 6.858910084 729.1705870492619 15 9 88.9 19.3 1 1 0.51 0.25 0.45 0.45 0.47 57.8 51.8 54.8 65.6 35.1 12 FALSE NA 91 0.0033196218517716676 0.0030984111911114727 NA NA 0.7286689419795223 0.87321465120117 0.6184971098265897 0.0036404460603327604 0.15272227651401535 0.6766169154228856 0.38784565902686874 0.13194444444444445 NA NA 0.6153846153846154 0.33984375 0.9212765957446809 0.18004338394793928 0 0 0.7293233082706767 0.507537688442211 0.5461956521739131 0.5797872340425533 0.5177111716621253 0.5275590551181103 0.46002460024600245 0.4583850931677018 0.5350701402805611 0.7191011235955056 0.08208955223880597 0.66015625
United Kingdom 66e6 241930 32.4 31.9 0.922 7.103273392 74.6 2785.6 42481 2.2 9.87677211 4145 5.693419933 2663.581316262878 18 4.8 44.4 43 1 1 0.26 1.41 1.71 1.68 1.84 93.8 79 92.2 78 32 13 FALSE NA 95.2 0.04741285992639099 0.014752867758340046 NA NA 0.9470989761092151 0.8457648421464876 0.8453757225433527 0.130699059590579 0.40472757883329624 0.6019900497512438 0.5097889769712254 0.4327651515151515 NA NA 0.8461538461538461 0.17578125000000003 0.4478723404255319 0.6941431670281996 0 0 0.6666666666666666 0.7989949748743718 0.8885869565217391 0.9069148936170214 0.891008174386921 1 0.7945879458794588 0.9229813664596275 0.7835671342685371 0.649438202247191 0.08955223880597014 0.8242187500000001
Germany 83e6 348672 27 29.8 0.936 7.074324608 79.6 3980.3 48111 1.5 11.15156851 5357 4.931129932 2369.0431173078778 17 4.3 41.3 44.2 1 1 0.58 1.72 1.78 1.61 1.84 78 75.3 81 74.2 37 14 FALSE NA 95.7 0.0596810276394602 0.021270497573916684 NA NA 0.9709897610921503 0.8392465056327397 0.9176300578034683 0.18681829711676676 0.45920213640893653 0.5671641791044776 0.5995845069919195 0.5602904040404041 NA NA 0.7692307692307693 0.15625 0.4148936170212766 0.7201735357917571 0 0 0.7468671679197995 0.8768844221105528 0.9076086956521738 0.8882978723404256 0.891008174386921 0.7926509186351707 0.7490774907749077 0.7838509316770187 0.7074148296593188 0.7617977528089888 0.09701492537313433 0.84375
Luxembourg 6e5 2586 30.4 13.2 0.904 7.061380863 83.2 59.9 104003 4.5 6.04774196 6382 3.994390011 4762.3266702144 14 5.9 48.5 41.4 1 1 1.34 1.68 1.69 1.74 0.55 77.9 79 82.7 76.4 28.3 15 FALSE NA 94.1 2.1649707728945658e-4 1.3860541943526411e-4 NA NA 0.916382252559727 0.8363319899260301 0.9696531791907516 0.0026633973112370002 1 0.7164179104477612 0.24007548249911417 0.6681397306397306 NA NA 0.5384615384615384 0.21875000000000003 0.4914893617021277 0.6594360086767895 0 0 0.9373433583959899 0.8668341708542714 0.8831521739130435 0.9228723404255319 0.5395095367847411 0.7913385826771655 0.7945879458794588 0.804968944099379 0.7515030060120242 0.5662921348314607 0.1044776119402985 0.7812499999999998
Ireland 47e5 68883 31.3 30 0.938 7.060155392 80.3 324.9 69231 7.8 7.76144215 5335 NA NA 19 8.1 69.6 31.9 1 1 1.02 1.29 1.59 1.43 1.55 79 79 87.7 80.4 22.2 16 FALSE NA 91.9 0.00317529046691203 0.004186677442474782 NA NA 0.9744027303754266 0.8360560532108355 0.9277456647398844 0.015111374162697406 0.663554295555921 0.880597014925373 0.36078700698852595 0.5579755892255892 NA NA 0.9230769230769231 0.3046875 0.7159574468085106 0.4533622559652928 0 0 0.8571428571428571 0.7688442211055276 0.8559782608695653 0.8404255319148937 0.8119891008174387 0.8057742782152232 0.7945879458794588 0.8670807453416151 0.8316633266533068 0.4292134831460674 0.11194029850746269 0.6953125000000002
United States 326e6 9147593 45 20.7 0.924 6.9917593 76 18569.1 57436 2.4 16.83613019 9536 4.989480019 2729.080813703438 17 4.9 56.5 38.1 2 1 0.3 1.55 1.63 1.64 1.38 76.9 71.9 79.3 75.7 19.4 18 FALSE NA 95.1 0.23504366024392004 0.5585295882271121 NA NA 0.9505119453924916 0.8206554497215399 0.8656069364161851 0.872105258213316 0.549428646070188 0.6119402985074627 1 1 NA NA 0.7692307692307693 0.17968750000000003 0.5765957446808511 0.5878524945770065 0.16666666666666666 0 0.6766917293233081 0.8341708542713568 0.8668478260869564 0.8962765957446809 0.76566757493188 0.778215223097113 0.7072570725707258 0.7627329192546584 0.7374749498997997 0.3662921348314606 0.12686567164179105 0.8203124999999998
Belgium 11e6 30278 25.9 23.7 0.916 6.928347588 77.5 509.5 45047 1.4 10.47712841 4782 6.596849918 3123.738801423508 20 8.3 12.1 54.1 1 1 0.42 1.18 1.24 1.34 1.5 69.5 70.9 81.2 67.5 38 19 FALSE NA 91.7 0.007721729089990618 0.0018294694172332087 NA NA 0.9368600682593858 0.8063771685429983 0.8872832369942197 0.02378268181092228 0.42955559210844596 0.5621890547263682 0.5520775433334797 0.4997895622895623 NA NA 1 0.3125 0.10425531914893618 0.9349240780911063 0 0 0.706766917293233 0.7412060301507538 0.7608695652173912 0.8164893617021278 0.7983651226158037 0.6811023622047245 0.6949569495694958 0.7863354037267082 0.5731462925851704 0.7842696629213483 0.13432835820895522 0.6875000000000001
Czech Republic 11e6 77247 NA 27.3 0.888 6.789567947 71.1 350.7 33232 4.2 7.30822225 2470 NA NA 17 4 48.6 41.4 1 1 1.02 1.02 1.23 1.12 0.57 57.9 51.1 73 74.2 20 20 FALSE NA 96 0.007721729089990618 0.004697380406420398 NA NA 0.8890784982935155 0.7751284500719521 0.7947976878612717 0.016323290399556573 0.31523642732049034 0.7014925373134329 0.32886259840341703 0.25652356902356904 NA NA 0.7692307692307693 0.14453125000000003 0.4925531914893618 0.6594360086767895 0 0 0.8571428571428571 0.7010050251256281 0.7581521739130435 0.7579787234042554 0.5449591280653951 0.5288713910761156 0.4514145141451415 0.684472049689441 0.7074148296593188 0.37977528089887636 0.1417910447761194 0.8554687499999999
Malta 4e5 316 28.1 29 0.878 6.675665855 68.8 17.3 39834 6.3 9.61684153 3471 7.249639988 1874.152232494997 15 5.3 51 40.4 1 1 1.27 1 1.28 1.14 0.74 62.8 49.9 68.1 68.5 11.9 21 FALSE NA 94.7 7.216569242981887e-5 0 NA NA 0.8720136518771332 0.7494813567337354 0.7615606936416186 6.623263154927991e-4 0.3791158285841453 0.8059701492537312 0.491479696995469 0.3618476430976431 NA NA 0.6153846153846154 0.19531250000000003 0.5180851063829788 0.6377440347071583 0 0 0.9197994987468671 0.6959798994974874 0.7717391304347825 0.7632978723404256 0.5912806539509536 0.5931758530183727 0.43665436654366546 0.6236024844720497 0.593186372745491 0.19775280898876407 0.14925373134328357 0.8046875000000001
France 67e6 549970 29.3 30.4 0.901 6.635222435 73.9 2733.7 42314 1.1 11.0664428 4542 5.51760006 2373.048967229583 16 10 2.7 57 1 2 0.21 1.35 1.16 1.44 1.26 72.7 65.1 84 63.9 39 22 FALSE NA 90 0.04813451685068918 0.03356168423536153 NA NA 0.9112627986348124 0.7403747973243024 0.8352601156069366 0.12826113506759487 0.40311172605973816 0.5472636815920398 0.5935883273291608 0.47453703703703703 NA NA 0.6923076923076923 0.37890625 0.004255319148936174 0.9978308026030368 0 0.16666666666666666 0.6541353383458646 0.7839195979899498 0.7391304347826086 0.8430851063829787 0.7329700272479565 0.7230971128608925 0.6236162361623616 0.8211180124223602 0.5010020040080161 0.8067415730337079 0.15671641791044777 0.62109375
Panama 4e6 74340 50.7 39.5 0.789 6.567658901 54.5 92.9 23024 5.8 7.00916167 1543 NA NA 13 5.8 84.1 23.1 2 2 0.39 0.01 0.39 0.04 -0.54 29.4 38.8 60.9 67 18.3 23 FALSE NA 94.2 0.002670130619903298 0.004519879986024666 NA NA 0.7201365187713312 0.7251616591603626 0.5549132947976879 0.0042135227304754665 0.2164662170661145 0.781094527363184 0.30779703586386475 0.15898569023569023 NA NA 0.46153846153846156 0.21484375000000003 0.8702127659574468 0.26247288503253796 0.16666666666666666 0.16666666666666666 0.6992481203007519 0.4472361809045226 0.5298913043478262 0.47074468085106386 0.2425068119891008 0.1548556430446194 0.3001230012300123 0.5341614906832298 0.56312625250501 0.3415730337078652 0.16417910447761194 0.7851562500000001
Uzbekistan 32e6 425400 36.8 29.1 0.71 6.421447754 43.1 205.7 6563 8 6.23430295 383 NA NA 12 8.9 65.5 33.9 7 7 -0.28 -0.56 -1.26 -1.11 -1.16 35.3 24.2 48.7 51.5 16 25 FALSE NA 91.1 0.02287652450025258 0.02595548287014089 NA NA 0.5853242320819112 0.6922396041888286 0.39017341040462433 0.009512133254417857 0.05719344757186674 0.8905472636815919 0.25321667349889687 0.036931818181818184 NA NA 0.38461538461538464 0.3359375 0.672340425531915 0.49674620390455526 1 1 0.531328320802005 0.30402010050251255 0.0815217391304348 0.16489361702127658 0.07356948228882834 0.2322834645669291 0.12054120541205411 0.382608695652174 0.2525050100200401 0.2898876404494382 0.1791044776119403 0.6640624999999998
Mexico 129e6 1943945 48.2 40.7 0.774 6.410299301 49.1 2315.7 18938 2.5 5.86449037 1009 5.325860023 563.5297851284292 13 4 78.1 27 3 3 -0.65 -0.03 0.2 -0.57 -0.93 39 26.9 58.6 64.8 42.6 26 FALSE NA 96 0.09287724615717688 0.11867731840156079 NA NA 0.6945392491467578 0.6897293305876403 0.4768786127167631 0.10862621309057431 0.176931040822053 0.6169154228855721 0.22716740270599203 0.10279882154882154 NA NA 0.46153846153846156 0.14453125000000003 0.8063829787234043 0.3470715835140998 0.3333333333333333 0.3333333333333333 0.43859649122807015 0.4371859296482412 0.47826086956521735 0.3085106382978724 0.13623978201634876 0.2808398950131234 0.15375153751537513 0.5055900621118012 0.5190380761523046 0.8876404494382022 0.1865671641791045 0.8554687499999999
Singapore 6e6 709.2 45.9 NA 0.932 6.378437996 81.8 492.6 87855 2 4.25217534 3681 NA NA 13 1.8 90.6 17.7 4 4 1.59 2.21 2.12 1.82 2.13 90.9 91.2 98.4 88.8 23 27 FALSE NA 98.2 0.004113444468499676 2.400865679380875e-5 NA NA 0.9641638225255974 0.6825551878755609 0.9494219653179191 0.022988829702281974 0.8437557449855347 0.5920398009950248 0.11359735914516844 0.38394360269360267 NA NA 0.46153846153846156 0.05859375000000001 0.9393617021276596 0.14533622559652926 0.5 0.5 1 1 1 0.9441489361702128 0.9700272479564032 0.9619422572178481 0.9446494464944649 1 1 0.447191011235955 0.19402985074626866 0.94140625
Slovakia 5e6 48105 23.7 28.2 0.855 6.365509033 67.4 170.1 31339 3.6 6.88594228 2062 4.230679989 788.1645102489052 15 10 44.3 43.1 1 1 0.88 0.81 0.82 0.57 0.22 38.8 38.2 68.2 65.3 20 28 FALSE NA 90 0.0033917875442014867 0.0029179799072210737 NA NA 0.832764505119454 0.6796440006005516 0.7413294797687863 0.007839876741542422 0.2969202039651285 0.6716417910447761 0.29911757110080406 0.2135942760942761 NA NA 0.6153846153846154 0.37890625 0.44680851063829785 0.6963123644251626 0 0 0.8220551378446115 0.6482412060301508 0.6467391304347826 0.6117021276595744 0.44959128065395093 0.27821522309711283 0.2927429274292744 0.6248447204968944 0.5290581162324649 0.37977528089887636 0.20149253731343283 0.62109375
El Salvador 6e6 20721 36 35.6 0.674 6.339318275 47.2 54.8 8909 2.4 10.32620701 578 3.448559999 124.00300087465311 13 6.3 86.3 21.3 2 3 -0.25 -0.37 -0.15 -0.86 -0.51 35.4 25.2 37.3 63.2 32.1 30 FALSE NA 93.7 0.004113444468499676 0.001245922283513905 NA NA 0.5238907849829353 0.6737466829724904 0.44942196531791917 0.002423832473718328 0.07989279252256873 0.6119402985074627 0.5414467735066545 0.05744949494949495 NA NA 0.46153846153846156 0.23437500000000003 0.8936170212765957 0.22342733188720174 0.16666666666666666 0.3333333333333333 0.5388471177944861 0.3517587939698492 0.3831521739130435 0.23138297872340427 0.2506811989100817 0.2335958005249344 0.13284132841328414 0.24099378881987576 0.4869739478957917 0.651685393258427 0.21641791044776118 0.7656250000000001
Uruguay 35e5 175015 41.6 36.1 0.804 6.336009979 64.2 74.9 21527 1.5 9.22392806 1748 NA NA 16 8.2 68.6 32.4 1 1 1.06 0.42 0.66 0.59 1.29 67 71.6 69.3 69.2 20.2 31 FALSE NA 91.8 0.002309302157754204 0.010667060867806699 NA NA 0.7457337883959045 0.6730017609538285 0.6950867052023123 0.0033679997745272123 0.20198159669475862 0.5671641791044776 0.46380321995888496 0.18055555555555555 NA NA 0.6923076923076923 0.30859375 0.7053191489361702 0.46420824295010843 0 0 0.8671679197994987 0.550251256281407 0.6032608695652174 0.6170212765957447 0.7411444141689373 0.6482939632545932 0.7035670356703567 0.6385093167701863 0.6072144288577155 0.3842696629213483 0.22388059701492538 0.6914062499999999
Brazil 209e6 8358140 49 34.3 0.759 6.332929134 51.6 3141.3 15242 -3.8 8.91148377 1392 5.948480129 715.4000086773416 15 11.5 50.7 40.5 2 2 -0.41 -0.29 -0.11 -0.28 -0.53 55.5 31.4 55.8 51.4 10.7 32 FALSE NA 88.5 0.15060980010103198 0.5103258595093026 NA NA 0.6689419795221844 0.6723080535961481 0.5130057803468209 0.14740753267006756 0.1411694129713307 0.3034825870646766 0.44179492073362087 0.14309764309764308 NA NA 0.6153846153846154 0.4375 0.5148936170212767 0.6399132321041214 0.16666666666666666 0.16666666666666666 0.49874686716791977 0.37185929648241206 0.39402173913043476 0.38563829787234044 0.24523160762942778 0.49737532808398954 0.2091020910209102 0.47080745341614905 0.25050100200400804 0.17078651685393256 0.23134328358208955 0.5625
Guatemala 17e6 107159 53 34.2 0.65 6.325118542 42.5 131.7 7899 4 5.71638638 444 2.941390038 108.47151606033196 11 2.4 95.3 12.5 4 4 -0.57 -0.64 -0.26 -1.06 -0.74 33.1 27.3 40.4 63.4 12.7 33 FALSE NA 97.6 0.01205167063577975 0.006523796840846663 NA NA 0.4829351535836178 0.6705493591021899 0.38150289017341044 0.00603609443551948 0.0701202697603313 0.6915422885572139 0.21673508874571606 0.04335016835016835 NA NA 0.3076923076923077 0.08203125000000001 0.9893617021276596 0.03253796095444685 0.5 0.5 0.45864661654135336 0.2839195979899497 0.3532608695652174 0.17819148936170212 0.1880108991825613 0.20341207349081367 0.15867158671586717 0.2795031055900621 0.4909819639278557 0.2157303370786517 0.23880597014925373 0.9179687499999997
Chile 18e6 743812 50.5 31.7 0.843 6.320119381 62.6 438.8 24113 2.1 8.07108586 1903 4.722819805 698.708635165522 16 6.6 81.3 25 1 1 0.38 0.85 1.34 1.01 1.04 63.4 61.2 67.9 75.2 15.8 34 FALSE NA 93.4 0.012773327560077938 0.04539761010063486 NA NA 0.8122866894197952 0.6694237085849036 0.6719653179190752 0.02046165553394775 0.2270031252721309 0.5970149253731343 0.38259803583754376 0.1968644781144781 NA NA 0.6923076923076923 0.24609375 0.8404255319148937 0.3036876355748373 0 0 0.6967418546365914 0.6582914572864322 0.7880434782608696 0.7287234042553192 0.6730245231607629 0.6010498687664042 0.5756457564575647 0.6211180124223603 0.7274549098196393 0.28539325842696633 0.2462686567164179 0.7539062500000002
Saudi Arabia 33e6 2149690 45.9 NA 0.853 6.294282436 62.6 1750.9 55158 3.4 6.34723395 3121 NA NA 16 5.5 52 40 7 7 -0.62 0.25 0 0.1 0.36 60.2 49.9 53.1 59.6 19.9 35 FALSE NA 94.5 0.02359818142455077 0.13124003735385523 NA NA 0.8293515358361775 0.6636060582823142 0.6719653179190752 0.0820955816728202 0.5273872531470426 0.6616915422885572 0.26117143317720076 0.3250210437710438 NA NA 0.6923076923076923 0.20312500000000003 0.5287234042553192 0.6290672451193058 1 1 0.4461152882205513 0.507537688442211 0.42391304347826086 0.4867021276595745 0.48773841961852865 0.5590551181102363 0.43665436654366546 0.43726708074534165 0.41482965931863736 0.37752808988764036 0.2537313432835821 0.796875
Lithuania 29e5 62680 37.9 21 0.858 6.272940636 67.4 86.1 29972 1.6 6.51478014 1875 4.485509872 742.1331105832494 17 9.2 63.9 34.7 1 1 0.78 0.98 1.16 0.99 2.06 66.7 50.9 73.8 75.3 21.3 36 FALSE NA 90.8 0.0018763080031752905 0.0038079243954452914 NA NA 0.8378839590443686 0.658800570279464 0.7413294797687863 0.003894102947117236 0.2836934330582191 0.572139303482587 0.272973238496072 0.19391835016835016 NA NA 0.7692307692307693 0.34765625 0.6553191489361703 0.5140997830802604 0 0 0.7969924812030074 0.6909547738693468 0.7391304347826086 0.7234042553191489 0.9509536784741145 0.6443569553805776 0.4489544895448955 0.6944099378881987 0.7294589178356713 0.40898876404494383 0.26119402985074625 0.6523437499999999
Spain 47e6 498980 35.9 36 0.891 6.230173111 71.8 260.6 12262 5.2 9.16537519 3183 4.279900074 1267.841090212389 18 5 89.3 18.9 1 1 0.27 1.03 0.94 1.01 0.49 52 30.7 46.5 57.8 39.1 37 FALSE NA 95 0.03370137836472541 0.03044825236883989 NA NA 0.8941979522184301 0.6491706970588781 0.8049132947976879 0.012090978270060034 0.11233563294017475 0.7512437810945274 0.45967880762458374 0.3315446127946128 NA NA 0.8461538461538461 0.18359375000000003 0.925531914893617 0.17136659436008672 0 0 0.669172932330827 0.7035175879396984 0.6793478260869565 0.7287234042553192 0.5231607629427792 0.4514435695538058 0.20049200492004918 0.3552795031055901 0.3787575150300601 0.8089887640449438 0.26865671641791045 0.81640625
Poland 38e6 304255 30.8 27.5 0.865 6.201268196 67.7 1054.1 27764 3.6 6.34723395 1704 4.912409782 704.5580963222964 16 6.2 47.8 41.7 1 2 0.52 0.63 0.88 0.47 0.73 56.6 50.9 61.8 68.5 28 39 FALSE NA 93.8 0.02720646604604171 0.01855841082719592 NA NA 0.8498293515358363 0.6426622384351487 0.7456647398843932 0.04936444857811222 0.2623293436928525 0.6716417910447761 0.26117143317720076 0.17592592592592593 NA NA 0.6923076923076923 0.23046875000000003 0.48404255319148937 0.665943600867679 0 0.16666666666666666 0.731829573934837 0.6030150753768844 0.6630434782608695 0.5851063829787235 0.5885558583106267 0.5118110236220473 0.4489544895448955 0.5453416149068323 0.593186372745491 0.5595505617977528 0.2835820895522388 0.7695312499999999
Italy 61e6 294140 31.9 28.1 0.88 6.198870182 69.1 2234.5 36833 0.8 8.99632037 3351 4.075250149 1442.50074982271 16 11.5 24.1 50.3 1 1 0.24 0.5 0.7 0.32 0.19 60.9 40.1 71.2 62.5 31 40 FALSE NA 88.5 0.04380457530490005 0.01794079240535112 NA NA 0.8754266211604096 0.6421222826906628 0.7658959537572254 0.10481196508929663 0.3500788574856557 0.5323383084577115 0.44777073574388726 0.34922138047138046 NA NA 0.6923076923076923 0.4375 0.23191489361702128 0.8524945770065075 0 0 0.6616541353383457 0.5703517587939698 0.6141304347826086 0.5452127659574468 0.44141689373297 0.568241469816273 0.31611316113161136 0.6621118012422361 0.47294589178356716 0.6269662921348315 0.291044776119403 0.5625
Mauritius 13e5 2030 35.9 27.4 0.79 6.174117565 60.2 25.9 20422 3.4 5.53717104 1099 4.916950226 499.2640881977968 15 7.8 80.7 25.4 1 2 0.99 0.9 1 0.68 0.2 69.6 52.1 68.7 75.1 11.6 42 FALSE NA 92.2 0.00072165692429818865 1.0465625062204525e-4 NA NA 0.7218430034129694 0.6365487882322457 0.6372832369942197 0.0010662983944458536 0.19128987624696422 0.6616915422885572 0.2041113188298778 0.11226851851851852 NA NA 0.6153846153846154 0.29296875 0.8340425531914895 0.31236442516268975 0 0.16666666666666666 0.8496240601503758 0.6708542713567839 0.6956521739130435 0.6409574468085107 0.44414168937329696 0.6824146981627297 0.4637146371463715 0.631055900621118 0.7254509018036072 0.19101123595505617 0.30597014925373134 0.7070312500000001
Slovenia 21e5 20151 24.4 24.6 0.896 6.166837692 72.6 66.2 32085 2.9 8.54318382 2734 5.294439793 1281.3831290489588 17 8.7 31.2 47.9 1 1 0.89 1.17 0.58 1.02 0.81 57.7 52.1 76.6 64.8 36.7 43 FALSE NA 91.3 0.0012989824637367395 0.0012111182795147418 NA NA 0.9027303754266213 0.6349095946139109 0.8164739884393064 0.002959330345818889 0.30413832473802865 0.6368159203980099 0.4158521982590005 0.2843013468013468 NA NA 0.7692307692307693 0.32812499999999994 0.30744680851063827 0.8004338394793926 0 0 0.8245614035087719 0.7386934673366834 0.5815217391304348 0.7313829787234043 0.6103542234332425 0.5262467191601051 0.4637146371463715 0.7291925465838509 0.5190380761523046 0.75505617977528094 0.31343283582089554 0.6718749999999999
Colombia 49e6 1038700 51.1 40.7 0.843 6.157341957 49.1 688.8 14130 3.1 6.19132764 853 4.665160179 369.17228923051096 14 9.9 74.4 29.2 3 3 -0.79 -0.07 0.34 -0.36 -0.37 36.4 33.4 60.7 68.9 18.7 44 FALSE NA 90.1 0.03514469221332179 0.06340336998011775 NA NA 0.8122866894197952 0.6327714600319757 0.4768786127167631 0.03220502992211794 0.1304099621677584 0.6467661691542288 0.2501895307024051 0.08638468013468013 NA NA 0.5384615384615384 0.375 0.7670212765957448 0.3947939262472885 0.3333333333333333 0.3333333333333333 0.4035087719298245 0.4271356783919598 0.5163043478260869 0.3643617021276596 0.28882833787465945 0.24671916010498687 0.23370233702337023 0.5316770186335404 0.6012024048096194 0.350561797752809 0.3208955223880597 0.6249999999999998
Kuwait 42e5 17818 NA NA 0.803 6.093905449 65.7 303.7 71887 0.9 4.03326864 2978 NA NA 13 2.4 20.5 51.5 5 5 -0.04 -0.17 -0.06 0.1 -0.5 53.5 36.6 52 62.2 3.1 46 FALSE NA 97.6 0.0028144620047629355 0.001068666101742728 NA NA 0.7440273037542664 0.6184875955905172 0.7167630057803469 0.014115536014580574 0.6892531276910722 0.5373134328358209 0.09817776496402623 0.30997474747474746 NA NA 0.46153846153846156 0.08203125000000001 0.19361702127659575 0.878524945770065 0.6666666666666666 0.6666666666666666 0.5914786967418546 0.4020100502512563 0.4076086956521739 0.4867021276595745 0.2534059945504087 0.4711286089238846 0.2730627306273063 0.42360248447204973 0.466933867735471 0 0.3358208955223881 0.9179687499999997
Latvia 2e6 62249 34.5 17.1 0.847 6.093905449 66.1 50.6 25710 2.7 5.76059881 1429 5.268799782 828.0640191631012 16 9.9 59 37 2 2 0.46 0.9 1.15 0.93 -0.94 58.9 45.4 68.3 73.6 16 47 FALSE NA 90.1 0.0012268167713069206 0.0037816076836494333 NA NA 0.8191126279863481 0.6184875955905172 0.7225433526011561 0.0022265437839970688 0.24245532215459936 0.6268656716417911 0.21984937317996206 0.14699074074074073 NA NA 0.6923076923076923 0.375 0.6031914893617022 0.5639913232104121 0.16666666666666666 0.16666666666666666 0.7167919799498746 0.6708542713567839 0.7364130434782609 0.7074468085106383 0.1335149863760218 0.541994750656168 0.3813038130381304 0.6260869565217391 0.6953907815631262 0.2898876404494382 0.34328358208955223 0.6249999999999998
Romania 2e7 229891 27.3 28.8 0.811 6.089904785 60 441.6 22348 3.7 10.64553884 1090 3.128509998 313.48460663453113 15 6.4 66.9 33.2 2 2 0.06 -0.17 0.49 0.39 -0.03 59.7 40 61 69.4 20.7 48 FALSE NA 93.6 0.014216641408674317 0.014017770558084036 NA NA 0.7576791808873722 0.6175867745325261 0.6343930635838151 0.020593181327095256 0.2099253998509932 0.6766169154228856 0.5639402249529626 0.11132154882154882 NA NA 0.6153846153846154 0.23828125000000003 0.6872340425531915 0.4815618221258135 0.16666666666666666 0.16666666666666666 0.6165413533834586 0.4020100502512563 0.5570652173913043 0.5638297872340426 0.38147138964577654 0.55249343832021 0.3148831488314883 0.5354037267080746 0.6112224448897797 0.39550561797752803 0.35074626865671643 0.7617187499999998
Hungary 1e7 89608 28.2 26.4 0.838 6.065038681 66.1 270.3 27482 2.9 7.23613379 1912 4.631949902 657.8033358730155 15 5.2 29.4 48.5 3 2 0.81 0.51 0.65 0.53 0.09 57.1 36.4 57.6 66.7 10.1 49 FALSE NA 94.8 0.00700007216569243 0.005452138815953129 NA NA 0.8037542662116041 0.6119877264461591 0.7225433526011561 0.012546621196321038 0.2596007779315149 0.6368159203980099 0.3237847510906418 0.1978114478114478 NA NA 0.6153846153846154 0.19140625000000003 0.28829787234042553 0.8134490238611713 0.3333333333333333 0.16666666666666666 0.8045112781954886 0.5728643216080402 0.6005434782608695 0.601063829787234 0.4141689373297003 0.5183727034120735 0.27060270602706027 0.49316770186335407 0.5571142284569139 0.15730337078651685 0.3582089552238806 0.8085937499999999
Cyprus 8e5 9241 34.8 30.7 0.869 6.062051296 65.9 29.7 34970 1.6 6.76967432 2137 NA NA 15 11.7 52.9 39.6 1 1 0.6 0.92 1.03 0.88 0.78 56.7 41.3 71.2 67.8 17.9 50 FALSE NA 88.3 3.608284621490943e-4 5.449574310395297e-4 NA NA 0.8566552901023892 0.6113150632791631 0.7196531791907517 0.0012447976851460408 0.3320529070836276 0.572139303482587 0.29092775891383454 0.22148569023569023 NA NA 0.6153846153846154 0.4453125 0.5382978723404256 0.6203904555314533 0 0 0.7518796992481203 0.6758793969849246 0.7038043478260869 0.6941489361702128 0.6021798365122616 0.5131233595800526 0.33087330873308735 0.6621118012422361 0.5791583166332666 0.3325842696629213 0.3656716417910448 0.5546874999999999
Argentina 44e6 2736690 41.7 35.2 0.825 6.039330006 57.3 874.1 20048 1.2 2.94697845 1390 5.361440182 656.522506614818 17 6.6 55.6 38.5 2 2 0.18 0.16 -0.29 -0.25 -0.26 44.5 32.6 40.8 52.3 38.9 51 FALSE NA 93.4 0.031536407591830844 0.16708205550737948 NA NA 0.7815699658703071 0.6061989584283874 0.5953757225433527 0.04090921901862969 0.18767114009540303 0.5522388059701492 0.021660445518089336 0.1428872053872054 NA NA 0.7692307692307693 0.24609375 0.5670212765957447 0.596529284164859 0.16666666666666666 0.16666666666666666 0.6466165413533834 0.4849246231155779 0.3451086956521739 0.39361702127659576 0.3188010899182561 0.35301837270341213 0.22386223862238627 0.28447204968944095 0.2685370741482966 0.8044943820224718 0.373134328358209 0.7539062500000002
Honduras 9e6 111890 47.1 27.2 0.617 6.019985676 41.9 43.2 5272 3.6 7.59248549 353 NA NA 11 6.3 76.6 27.9 4 4 -0.55 -0.51 -0.44 -1.05 -0.72 34.5 28.2 44.3 60.6 25.8 52 FALSE NA 93.7 0.006278415241394241 0.006812670074039718 NA NA 0.42662116040955633 0.6018432365240411 0.37283236994219654 0.0018789399021072312 0.04470203481340287 0.6716417910447761 0.3488858494113425 0.03377525252525253 NA NA 0.3076923076923077 0.23437500000000003 0.7904255319148936 0.3665943600867679 0.5 0.5 0.4636591478696741 0.3165829145728643 0.30434782608695654 0.18085106382978722 0.19346049046321526 0.22178477690288714 0.16974169741697417 0.3279503105590062 0.43486973947895796 0.5101123595505618 0.3805970149253731 0.7656250000000001
Estonia 13e5 42388 34.8 17.9 0.871 5.938395977 70.8 38.5 29313 1.1 6.22404145 1887 NA NA 16 6.9 52.6 39.8 1 1 0.66 1.12 1.64 1.28 1.24 83.9 75.7 80.4 78.8 26.7 54 FALSE NA 93.1 0.00072165692429818865 0.0025689018530750804 NA NA 0.8600682593856656 0.5834718564295472 0.7904624277456648 0.0016581644636096313 0.2773171038499869 0.5472636815920398 0.25249386252193823 0.19518097643097643 NA NA 0.6923076923076923 0.25781250000000006 0.5351063829787235 0.6247288503253795 0 0 0.7669172932330827 0.7261306532663316 0.8695652173913043 0.800531914893617 0.7275204359673024 0.8700787401574805 0.7539975399753999 0.7763975155279504 0.7995991983967936 0.5303370786516853 0.39552238805970147 0.7421874999999998
Japan 127e6 364485 37.9 28.3 0.909 5.910676479 75.2 5237.8 41275 0.5 10.89815618 4405 3.59059 1368.351742818756 15 3.1 54.1 39.1 1 1 1.12 1.62 1.37 1.57 1.52 73.2 79.2 86 72.3 9.3 55 FALSE NA 96.9 0.0914339323085805 0.02223603391644084 NA NA 0.9249146757679182 0.5772303156464815 0.8540462427745666 0.24588747028926283 0.39305860610927806 0.5174129353233831 0.5817343667764866 0.46012205387205385 NA NA 0.6153846153846154 0.10937500000000001 0.5510638297872341 0.6095444685466378 0 0 0.8822055137844611 0.8517587939698493 0.7961956521739131 0.8776595744680851 0.8038147138964579 0.7296587926509187 0.7970479704797048 0.8459627329192546 0.6693386773547094 0.13932584269662923 0.40298507462686567 0.8906250000000001
Kazakhstan 18e6 2699700 26.3 19.1 0.8 5.882351398 57.7 451.3 25145 1.2 3.88047502 903 NA NA 15 5.2 85.3 22.2 7 5 0.02 0.01 0.17 -0.41 0.26 58.1 44.6 56 69.1 27.1 57 FALSE NA 94.8 0.012773327560077938 0.16482345882680222 NA NA 0.7389078498293516 0.5708524170191275 0.601156069364162 0.02104882425335626 0.2369885148668131 0.5522388059701492 0.08741511761761035 0.09164562289562289 NA NA 0.6153846153846154 0.19140625000000003 0.8829787234042553 0.24295010845986983 1 0.6666666666666666 0.606516290726817 0.4472361809045226 0.4701086956521739 0.3510638297872341 0.4604904632152588 0.531496062992126 0.37146371463714645 0.47329192546583854 0.6052104208416833 0.5393258426966292 0.417910447761194 0.8085937499999999
Ecuador 17e6 276841 45.9 37 0.752 5.839518547 48.1 183.6 11109 0 6.76967432 980 NA NA 15 5.4 52.5 39.8 3 3 -0.1 -0.32 -1 -0.7 -0.6 23.3 30.2 36.7 48.5 38 59 FALSE NA 94.6 0.01205167063577975 0.016884521413804587 NA NA 0.6569965870307167 0.5612078344811796 0.46242774566474 0.008474018958503613 0.10117947576704628 0.4925373134328358 0.29092775891383454 0.09974747474747475 NA NA 0.6153846153846154 0.19921875000000003 0.5340425531914894 0.6247288503253795 0.3333333333333333 0.3333333333333333 0.5764411027568922 0.364321608040201 0.15217391304347827 0.273936170212766 0.22615803814713895 0.07480314960629922 0.1943419434194342 0.23354037267080752 0.19238476953907818 0.7842696629213483 0.43283582089552236 0.8007812499999998
Pakistan 197e6 770875 30.7 31.5 0.562 5.8308706279999996 27.9 988.2 5106 4.2 2.6894981 134 2.465929985 32.47584331839067 8 5.9 88.2 19.8 4 5 -2.4 -0.58 -0.59 -0.72 -0.78 34 27.3 36 54.4 20.6 60 FALSE NA 94.1 0.1419499170094537 0.04705006757472145 NA NA 0.33276450511945405 0.5592606008362142 0.17052023121387283 0.04626889508939057 0.04309585780495593 0.7014925373134329 0.0035237575746939736 0.010732323232323232 NA NA 0.07692307692307693 0.21875000000000003 0.9138297872340426 0.1908893709327549 0.5 0.6666666666666666 0 0.2989949748743718 0.26358695652173914 0.26861702127659576 0.17711171662125338 0.21522309711286092 0.15867158671586717 0.22484472049689444 0.31062124248497 0.39325842696629215 0.44029850746268656 0.7812499999999998
Tajikistan 9e6 141510 32.6 34.2 0.65 5.829234123 41.3 149.8 3080 7 6.12306537 193 NA NA 11 2.6 89.8 18.5 7 6 -0.67 -1.12 -1.06 -1.35 -1.33 34.7 31.8 38 59.9 19 61 FALSE NA 97.4 0.006278415241394241 0.008621257088873428 NA NA 0.4829351535836178 0.5588921124639071 0.36416184971098264 0.006886314741223003 0.023492757689814323 0.8407960199004973 0.24538119682644996 0.01694023569023569 NA NA 0.3076923076923077 0.08984375000000001 0.9308510638297872 0.16268980477223427 1 0.8333333333333334 0.43358395989974935 0.16331658291457285 0.1358695652173913 0.10106382978723402 0.02724795640326972 0.22440944881889768 0.2140221402214022 0.24968944099378884 0.4208416833667335 0.35730337078651686 0.44776119402985076 0.9101562500000001
Portugal 1e7 91470 33.9 24.8 0.847 5.711499214 70.8 298.7 28933 1.5 8.97237559 2661 5.123250008 1131.0882478510753 17 11.2 29.8 48.4 1 1 1.08 1.33 0.91 1.13 0.87 70.1 56.8 69.2 63.4 34.8 62 FALSE NA 88.8 0.00700007216569243 0.00556583189568373 NA NA 0.8191126279863481 0.5323819918219662 0.7904624277456648 0.01388066852681717 0.273640313107759 0.5671641791044776 0.4460840866355835 0.27662037037037035 NA NA 0.7692307692307693 0.42578125 0.2925531914893617 0.8112798264642082 0 0 0.8721804511278195 0.7788944723618091 0.6711956521739131 0.7606382978723404 0.6267029972752043 0.6889763779527559 0.5215252152521526 0.6372670807453417 0.4909819639278557 0.7123595505617977 0.4552238805970149 0.5742187499999999
Peru 32e6 1279996 45.3 34.6 0.75 5.710936546 49.3 406.2 12903 3.3 5.26480404 671 3.691210032 239.63572186744514 13 4.9 85.6 21.9 2 3 -0.26 -0.13 0.42 -0.5 -0.5 33.5 36.6 56.9 68.7 27.7 63 FALSE NA 95.1 0.02287652450025258 0.07813682076780563 NA NA 0.6535836177474403 0.5322552970575327 0.47976878612716767 0.018930319513730354 0.11853779837640661 0.6567164179104477 0.18492602843750897 0.06723484848484848 NA NA 0.46153846153846156 0.17968750000000003 0.8861702127659574 0.23644251626898044 0.16666666666666666 0.3333333333333333 0.5363408521303257 0.4120603015075377 0.5380434782608695 0.3271276595744681 0.2534059945504087 0.20866141732283466 0.2730627306273063 0.484472049689441 0.5971943887775553 0.5528089887640449 0.4626865671641791 0.8203124999999998
Kyrgyzstan 6e6 191801 33.4 33.1 0.672 5.629536629 45.4 21.5 3521 3.5 8.21788363 287 5.531599998 70.79174527475111 13 7.7 58.2 37.3 5 5 -0.43 -0.71 -0.35 -0.93 -0.33 22.1 29.4 50.2 62.8 19.2 66 FALSE NA 92.3 0.004113444468499676 0.011692008255753988 NA NA 0.5204778156996588 0.5139266497748991 0.4234104046242775 8.596150052140583e-4 0.02775977010382096 0.6666666666666666 0.39293834081722984 0.02683080808080808 NA NA 0.46153846153846156 0.28906250000000006 0.5946808510638298 0.5704989154013015 0.6666666666666666 0.6666666666666666 0.49373433583959897 0.2663316582914573 0.3288043478260869 0.2127659574468085 0.2997275204359673 0.05905511811023623 0.18450184501845016 0.40124223602484477 0.4789579158316633 0.36179775280898874 0.48507462686567165 0.7109374999999999
Turkey 81e6 769632 40.2 26.4 0.791 5.607262135 53.3 1988.3 24912 3.8 4.13853307 996 4.37116003 530.1107637062988 16 10.3 68.1 32.6 5 6 -1.8 0.07 0.04 -0.25 -0.19 54.5 42 54.7 65.4 14.6 68 FALSE NA 89.7 0.05823771379086382 0.04697417042214082 NA NA 0.7235494880546076 0.5089111490351975 0.5375722543352601 0.09324708999182661 0.2347340615959207 0.6815920398009949 0.10559249823765035 0.10143097643097643 NA NA 0.6923076923076923 0.39062500000000006 0.7 0.4685466377440347 0.6666666666666666 0.8333333333333334 0.15037593984962402 0.4623115577889447 0.43478260869565216 0.39361702127659576 0.33787465940054495 0.48425196850393704 0.33948339483394835 0.4571428571428572 0.5310621242484972 0.25842696629213485 0.5 0.6093750000000001
Dominican Republic 11e6 48320 47.1 30.3 0.736 5.605202675 48.1 161.8 16050 7 6.22404145 873 NA NA 13 14.4 90.6 17.7 3 3 0.16 -0.35 -0.08 -0.42 -0.74 23.1 26.2 51.7 61.6 26.8 69 FALSE NA 85.6 0.007721729089990618 0.0029311077332909337 NA NA 0.6296928327645052 0.5084474247794014 0.46242774566474 0.007449996711855173 0.14898743118112065 0.8407960199004973 0.25249386252193823 0.08848905723905724 NA NA 0.46153846153846156 0.55078125 0.9393617021276596 0.14533622559652926 0.3333333333333333 0.3333333333333333 0.6416040100250626 0.35678391959798994 0.4021739130434782 0.348404255319149 0.1880108991825613 0.07217847769028872 0.14514145141451415 0.41987577639751555 0.4549098196392786 0.5325842696629214 0.5074626865671642 0.44921874999999983
Philippines 105e6 298170 44.4 35 0.699 5.594270229 44.5 805.2 7728 5.8 4.41351594 323 NA NA 13 5.9 89.3 18.9 3 3 -1.24 -0.06 0.02 -0.41 -0.48 38.2 34.4 45 65 29.5 70 FALSE NA 94.1 0.07555747997402035 0.01818686281959082 NA NA 0.5665529010238908 0.5059857890179001 0.4104046242774567 0.03767274503724999 0.06846571392632872 0.781094527363184 0.12496204819736279 0.030618686868686868 NA NA 0.46153846153846156 0.21875000000000003 0.925531914893617 0.17136659436008672 0.3333333333333333 0.3333333333333333 0.2907268170426065 0.4296482412060301 0.42934782608695654 0.3510638297872341 0.25885558583106266 0.2703412073490814 0.24600246002460024 0.33664596273291925 0.5230460921843688 0.593258426966292 0.5149253731343284 0.7812499999999998
Russia 144e6 16377742 41.2 18.7 0.816 5.578742981 57 3799.7 26490 -3.7 7.00916167 1414 NA NA 15 5.7 62.5 35.3 7 6 -0.67 -0.08 -0.48 -0.79 -0.89 46.9 38.1 48.7 58.2 15.8 71 FALSE NA 94.3 0.1037021000216497 1 NA NA 0.7662116040955631 0.5024895514005819 0.5910404624277458 0.1783348834587526 0.2500024189412778 0.30845771144278605 0.30779703586386475 0.1454124579124579 NA NA 0.6153846153846154 0.21093750000000003 0.6404255319148936 0.527114967462039 1 0.8333333333333334 0.43358395989974935 0.42462311557788945 0.29347826086956524 0.25 0.14713896457765666 0.38451443569553806 0.29151291512915134 0.382608695652174 0.3867735470941885 0.28539325842696633 0.5223880597014925 0.7890624999999999
Belarus 1e7 202900 26.5 21.7 0.808 5.552915096 59.9 171 18e3 -3.9 6.11132497 1085 4.818309784 400.8117108202393 16 0.5 47.9 41.7 6 6 0.03 -0.35 -0.74 -0.82 -0.26 57.3 42 53.5 58.1 34.5 72 FALSE NA 99.5 0.00700007216569243 0.012369709379239448 NA NA 0.7525597269624574 0.49667394111904534 0.6329479768786128 0.007882152889339836 0.16785517314781667 0.29850746268656714 0.2445542134425504 0.11079545454545454 NA NA 0.6923076923076923 0.007812500000000002 0.48510638297872344 0.665943600867679 0.8333333333333334 0.8333333333333334 0.6090225563909774 0.35678391959798994 0.22282608695652176 0.2420212765957447 0.3188010899182561 0.520997375328084 0.33948339483394835 0.4422360248447205 0.38476953907815636 0.7056179775280899 0.5298507462686567 0.9921874999999999
Ghana 29e6 227533 42.3 21.4 0.592 5.481310844 40.2 121.7 4412 3.5 5.90823662 249 6.159830093 89.29676639577795 12 5.8 79 26.5 1 2 0.09 -0.11 -0.14 0.13 -0.23 43.7 32.9 48.9 56 12.7 73 FALSE NA 94.2 0.020711553727358015 0.01387379188890855 NA NA 0.3839590443686007 0.4805509630225834 0.3482658959537573 0.005566359459992672 0.03638087681783437 0.6666666666666666 0.23024884983368066 0.022832491582491583 NA NA 0.38461538461538464 0.21484375000000003 0.8159574468085107 0.33622559652928413 0 0.16666666666666666 0.6240601503759398 0.41708542713567837 0.38586956521739124 0.4946808510638298 0.32697547683923706 0.34251968503937014 0.22755227552275523 0.38509316770186336 0.34268537074148303 0.2157303370786517 0.5373134328358209 0.7851562500000001
Croatia 42e5 55974 30.8 30.2 0.831 5.343165874 64.5 95.1 22795 1.6 7.40361536 1656 NA NA 15 13.5 32.5 47.4 1 2 0.75 0.58 0.42 0.33 0.19 56.5 40.5 65.9 61 18.5 74 FALSE NA 86.5 0.0028144620047629355 0.003398458341377943 NA NA 0.7918088737201365 0.4494451520793116 0.6994219653179191 0.004316864425091363 0.21425046685566662 0.572139303482587 0.33558200463391186 0.17087542087542087 NA NA 0.6153846153846154 0.515625 0.32127659574468087 0.789587852494577 0 0.16666666666666666 0.7894736842105262 0.5904522613065327 0.5380434782608695 0.547872340425532 0.44141689373297 0.510498687664042 0.32103321033210336 0.596273291925466 0.4428857715430862 0.3460674157303371 0.5447761194029851 0.48437500000000006
Mongolia 3e6 1553556 34 14.3 0.741 5.333850384 50.6 37 12275 2.3 3.86991881 470 4.714849949 197.1553786915453 15 6.7 57.1 37.8 1 2 0.82 -0.26 -0.12 -0.3 -0.45 30.9 34.8 51 55.7 17.1 75 FALSE NA 93.3 0.0019484736956051094 0.09484030030115843 NA NA 0.6382252559726963 0.4473476028831016 0.4985549132947978 0.0015877042172806103 0.11246141788661938 0.6069651741293531 0.08667154752911643 0.046085858585858584 NA NA 0.6153846153846154 0.25000000000000006 0.5829787234042554 0.581344902386117 0 0.16666666666666666 0.807017543859649 0.3793969849246231 0.3913043478260869 0.3803191489361702 0.2670299727520436 0.17454068241469814 0.25092250922509224 0.4111801242236025 0.3366733466933869 0.31460674157303375 0.5522388059701493 0.7499999999999999
Moldova 36e5 32891 26.8 NA 0.7 5.325530529 48.7 18.9 5328 -1.1 10.17682846 515 7.464509964 167.56061472713216 12 5 56.7 38 3 3 -0.24 -0.51 -0.04 -0.41 -0.8 26.3 26.6 53.5 58.4 22.8 76 FALSE NA 95 0.0023814678501840225 0.0019890182987241096 NA NA 0.568259385665529 0.44547423871569525 0.4710982658959539 7.374839115770883e-4 0.04524387765962593 0.43781094527363185 0.5309246806681647 0.05082070707070707 NA NA 0.38461538461538464 0.18359375000000003 0.5787234042553192 0.5856832971800434 0.3333333333333333 0.3333333333333333 0.5413533834586466 0.3165829145728643 0.41304347826086957 0.3510638297872341 0.17166212534059944 0.1141732283464567 0.15006150061500617 0.4422360248447205 0.3907815631262525 0.44269662921348313 0.5597014925373134 0.81640625
Nigeria 191e6 910768 48.8 22.2 0.532 5.321928024 26.5 1091.2 5942 2.7 3.56466763 215 NA NA 9 5 96.3 11 3 5 -1.94 -0.96 -0.89 -0.87 -1.07 39.6 14.4 38 58.5 5.6 77 FALSE NA 95 0.13761997546366458 0.05559188605095819 NA NA 0.28156996587030725 0.4446630702782763 0.15028901734104047 0.05110716533731669 0.0511847974378574 0.6268656716417911 0.06516992460521874 0.019255050505050504 NA NA 0.15384615384615385 0.18359375000000003 1 0 0.3333333333333333 0.6666666666666666 0.11528822055137843 0.2035175879396985 0.18206521739130435 0.22872340425531915 0.09809264305177108 0.2887139107611549 0 0.24968944099378884 0.39278557114228463 0.05617977528089887 0.5671641791044776 0.81640625
Morocco 36e6 446300 40.9 32.7 0.667 5.312482834 45.8 281.8 8330 4.5 5.52786362 435 NA NA 12 10 70.5 31.4 5 5 -0.41 -0.16 -0.23 -0.17 -0.13 44.3 41.3 53.8 61.9 20.5 78 FALSE NA 90 0.025763152197445335 0.02723162968344354 NA NA 0.5119453924914676 0.44253631680717065 0.4291907514450867 0.013086816418176866 0.07429052452322668 0.7164179104477612 0.2034557124036083 0.04240319865319865 NA NA 0.38461538461538464 0.37890625 0.725531914893617 0.4425162689804772 0.6666666666666666 0.6666666666666666 0.49874686716791977 0.40452261306532666 0.36141304347826086 0.41489361702127664 0.35422343324250677 0.35039370078740156 0.33087330873308735 0.44596273291925465 0.46092184368737477 0.39101123595505616 0.5746268656716418 0.62109375
Algeria 41e6 2381740 35.3 33.3 0.754 5.248912334 45.8 612.5 15027 3.7 7.05668786 1031 NA NA 14 11.2 45.9 42.5 6 5 -0.96 -0.6 -1.2 -0.86 -0.61 35.2 29 27.8 44.7 25.8 79 FALSE NA 88.8 0.029371436818936277 0.145408930560883 NA NA 0.6604095563139932 0.428222281670247 0.4291907514450867 0.028620952058848396 0.13908912347243857 0.6766169154228856 0.31114473861931197 0.10511363636363637 NA NA 0.5384615384615384 0.42578125 0.46382978723404256 0.6832971800433839 0.8333333333333334 0.6666666666666666 0.3609022556390977 0.29396984924623115 0.09782608695652176 0.23138297872340427 0.22343324250681199 0.23097112860892394 0.1795817958179582 0.12298136645962736 0.11623246492985981 0.5101123595505618 0.582089552238806 0.5742187499999999
Lebanon 46e5 10230 NA 21.9 0.757 5.153989792 44.8 85.2 18525 1 7.43147196 1117 NA NA 11 6.8 78.2 26.9 6 4 -1.59 -0.51 -0.31 -0.82 0.54 33.6 20.2 39.7 53.2 3.1 83 FALSE NA 93.2 0.003103124774482211 6.053454309608848e-4 NA NA 0.6655290102389079 0.40684877349469223 0.4147398843930636 0.003851826799319824 0.1729349498311579 0.5422885572139303 0.33754419888043974 0.11416245791245791 NA NA 0.3076923076923077 0.25390625 0.8074468085106383 0.34490238611713664 0.8333333333333334 0.5 0.20300751879699241 0.3165829145728643 0.33967391304347827 0.2420212765957447 0.5367847411444142 0.20997375328083992 0.07134071340713406 0.27080745341614915 0.2865731462925853 0 0.6119402985074627 0.7460937500000001
Azerbaijan 1e7 82629 33.7 NA 0.757 5.152279377 51.1 165.5 17439 1.1 6.67801847 1191 2.633039951 207.7814278317732 13 5.1 59.4 36.8 7 6 -0.76 -0.16 -0.25 -0.56 -0.88 36.8 39.9 53.6 64.3 16.8 84 FALSE NA 94.9 0.00700007216569243 0.005026003475759866 NA NA 0.6655290102389079 0.4064636429638844 0.5057803468208093 0.007623798652800091 0.1624270689204749 0.5472636815920398 0.28447160196967686 0.1219486531986532 NA NA 0.46153846153846156 0.1875 0.6074468085106383 0.5596529284164858 1 0.8333333333333334 0.41102756892230574 0.40452261306532666 0.35597826086956524 0.31117021276595747 0.14986376021798364 0.25196850393700787 0.31365313653136534 0.44347826086956527 0.5090180360721442 0.3078651685393259 0.6194029850746269 0.8125000000000002
Greece 11e6 130647 36.7 23.6 0.87 5.14824152 64.1 289.4 26669 -0.2 8.38483836 2204 NA NA 18 23.9 20.9 51.3 2 2 -0.13 0.31 0.24 0.08 -0.14 59 37.9 52.3 57.3 18.3 85 FALSE NA 76.1 0.007721729089990618 0.007957966044236743 NA NA 0.8583617747440273 0.4055544472366858 0.6936416184971098 0.013443814999577239 0.25173438089616934 0.48258706467661694 0.4046984842172362 0.22853535353535354 NA NA 0.8461538461538461 0.921875 0.1978723404255319 0.8741865509761387 0.16666666666666666 0.16666666666666666 0.568922305764411 0.5226130653266332 0.4891304347826087 0.4813829787234043 0.35149863760217986 0.5433070866141733 0.2890528905289053 0.42732919254658386 0.3687374749498998 0.3415730337078652 0.6268656716417911 0.07812499999999997
Serbia 7e6 77474 38.7 29 0.787 5.1220312119999996 54.9 101.8 14493 0.7 9.40507954 1324 4.180250168 259.18275149004364 15 16.5 40.6 44.5 3 2 0.1 0.19 0.01 -0.19 -0.37 48.2 36.5 46.2 62.5 34.4 86 FALSE NA 83.5 0.004835101392797864 0.004711240948363925 NA NA 0.7167235494880547 0.399652727576441 0.5606936416184971 0.004631586858694325 0.13392226490309722 0.5273631840796019 0.47656336986253467 0.13594276094276095 NA NA 0.6153846153846154 0.6328125 0.40744680851063836 0.7266811279826464 0.3333333333333333 0.16666666666666666 0.6265664160401002 0.4924623115577889 0.4266304347826087 0.4095744680851064 0.28882833787465945 0.40157480314960636 0.2718327183271833 0.35155279503105596 0.47294589178356716 0.7033707865168539 0.6343283582089553 0.3671875000000001
China 1386e6 9326410 46.5 25.7 0.752 5.099061489 50.8 21291.8 15399 6.9 5.31586777 762 NA NA 14 4.6 71.6 30.7 7 6 -0.25 0.42 -0.15 -0.26 -0.27 65.4 47.3 46.7 57.8 24.2 87 FALSE NA 95.4 1 0.5694480927588987 NA NA 0.6569965870307167 0.3944806835920867 0.5014450867052024 1 0.1426885080937775 0.835820895522388 0.18852291237927693 0.07680976430976431 NA NA 0.5384615384615384 0.16796875 0.7372340425531915 0.4273318872017353 1 0.8333333333333334 0.5388471177944861 0.550251256281407 0.3831521739130435 0.39095744680851063 0.31607629427792916 0.6272965879265093 0.4046740467404674 0.3577639751552796 0.3787575150300601 0.4741573033707865 0.6417910447761194 0.8320312500000002
Indonesia 264e6 1811569 36.8 35.7 0.694 5.098401546 46.4 3032.1 11720 4.8 3.34743137 369 3.288009882 114.80404934354735 13 5.6 90.7 17.6 2 4 -0.51 0.04 -0.11 -0.35 -0.25 45.2 42.8 49.3 64.2 19.8 88 FALSE NA 94.4 0.19030093093743233 0.11059448536052002 NA NA 0.5580204778156996 0.39433208562148125 0.4378612716763006 0.14227802673731482 0.10709136824994436 0.7313432835820894 0.04986799473907438 0.03545875420875421 NA NA 0.46153846153846156 0.20703125 0.9404255319148936 0.1431670281995662 0.16666666666666666 0.5 0.47368421052631576 0.4547738693467337 0.39402173913043476 0.3670212765957447 0.3215258855585831 0.3622047244094489 0.34932349323493234 0.39006211180124223 0.5070140280561123 0.3752808988764045 0.6492537313432836 0.7929687500000002
Bosnia and Herzegovina 39e5 51187 33.8 25.3 0.768 5.089902401 50.2 42.2 10958 2.8 9.38256029 1102 NA NA 14 25.8 41.5 44.1 4 4 -0.38 -0.48 -0.15 -0.21 -0.52 43.7 28.4 39.5 61.4 21.4 89 FALSE NA 74.2 0.002597964927473479 0.003106165767441111 NA NA 0.6843003412969284 0.39241835110368123 0.49277456647398854 0.0018319664045545504 0.09971843523526623 0.6318407960199004 0.47497713382561274 0.11258417508417508 NA NA 0.5384615384615384 0.9960937500000001 0.4170212765957447 0.7180043383947939 0.5 0.5 0.506265664160401 0.3241206030150754 0.3831521739130435 0.4042553191489362 0.24795640326975474 0.34251968503937014 0.17220172201722014 0.26832298136645966 0.45090180360721444 0.4112359550561797 0.6567164179104478 0.003906250000000331
Cameroon 24e6 472710 44.6 16.7 0.556 5.07405138 32.1 76.9 3249 5.9 5.11302542 163 NA NA 12 4.5 86.1 21.6 6 6 -1.08 -0.82 -0.82 -1.02 -1.18 29.4 23.4 40.6 51.9 31.1 90 FALSE NA 95.5 0.01710326910586707 0.028844215202071435 NA NA 0.3225255972696247 0.3888492102042057 0.23121387283237 0.003461946769632574 0.025127961993594645 0.7860696517412935 0.17423487679265848 0.013783670033670033 NA NA 0.38461538461538464 0.16406250000000003 0.8914893617021277 0.22993492407809113 0.8333333333333334 0.8333333333333334 0.33082706766917286 0.23869346733668342 0.20108695652173916 0.18882978723404256 0.0681198910081744 0.1548556430446194 0.1107011070110701 0.2819875776397516 0.2605210420841683 0.6292134831460674 0.664179104477612 0.8359374999999999
Cote d'Ivoire 24e6 318003 41.5 14.4 0.794 5.037734985 30.5 87.8 3609 8.6 5.43583318 190 4.577429771 71.86236425757781 9 9.3 84.6 22.6 4 4 -1.09 -0.74 -0.36 -0.63 -0.52 44.2 36.6 39.4 62 10.6 91 FALSE NA 90.7 0.01710326910586707 0.019397858979793285 NA NA 0.7286689419795223 0.38067192429208613 0.20809248554913296 0.003973957892956794 0.028611237433600063 0.9203980099502487 0.19697316967142173 0.016624579124579125 NA NA 0.15384615384615385 0.35156250000000006 0.875531914893617 0.25162689804772237 0.5 0.5 0.32832080200501246 0.25879396984924624 0.3260869565217392 0.29255319148936176 0.24795640326975474 0.3490813648293964 0.2730627306273063 0.2670807453416149 0.46292585170340683 0.16853932584269662 0.6716417910447762 0.6484375000000001
Congo (Rep.) 45e5 341500 48.9 18.8 0.606 4.883991241 32.7 29.8 6676 2.5 3.43391175 203 NA NA 11 11.2 33.4 47.1 7 5 -0.53 -1.19 -1.33 -1.1 -1.33 28.2 24.6 32.4 38.9 11.3 92 FALSE NA 88.8 0.0030309590820523924 0.020832577720088615 NA NA 0.40784982935153585 0.3460537703732372 0.23988439306358386 0.0012494950349013088 0.058286809029424 0.6169154228855721 0.055959596157537 0.017992424242424244 NA NA 0.3076923076923077 0.42578125 0.3308510638297872 0.7830802603036876 1 0.6666666666666666 0.4686716791979949 0.14572864321608042 0.06249999999999999 0.16755319148936168 0.02724795640326972 0.13910761154855641 0.12546125461254615 0.18012422360248448 0 0.18426966292134833 0.6791044776119403 0.5742187499999999
Guinea 13e6 245717 39.4 NA 0.459 4.873722553 28.3 16 1265 0.1 4.53653174 57 2.419260025 17.96193435416476 9 6.8 80.6 25.4 5 5 -0.61 -1.04 -0.84 -1.23 -1.01 28.2 26.9 32.4 52.2 21.9 93 FALSE NA 93.2 0.009165042938586996 0.014984100676137996 NA NA 0.15699658703071678 0.3437415915978287 0.1763005780346821 6.01260768674314e-4 0.005931244013120338 0.49751243781094523 0.13362717226103263 0.0026304713804713806 NA NA 0.15384615384615385 0.25390625 0.8329787234042553 0.31236442516268975 0.6666666666666666 0.6666666666666666 0.44862155388471175 0.18341708542713567 0.1956521739130435 0.13297872340425532 0.11444141689373295 0.13910761154855641 0.15375153751537513 0.18012422360248448 0.26653306613226463 0.42247191011235946 0.6865671641791045 0.7460937500000001
Benin 11e6 110622 36.5 13.4 0.515 4.8531808850000004 34.5 23.6 2119 5.2 3.99190103 84 4.321129799 40.7779218044641 12 1 85.6 21.9 2 2 0.05 -0.64 -0.47 -0.62 -0.55 31.3 30.2 35.5 56.7 7.2 94 FALSE NA 99 0.007721729089990618 0.006735246430055615 NA NA 0.2525597269624574 0.3391162676264423 0.26589595375722547 9.58259350074688e-4 0.01419434741802208 0.7512437810945274 0.09526386713246712 0.005471380471380472 NA NA 0.38461538461538464 0.02734375 0.8861702127659574 0.23644251626898044 0.16666666666666666 0.16666666666666666 0.6140350877192982 0.2839195979899497 0.296195652173913 0.2952127659574468 0.23978201634877383 0.17979002624671916 0.1943419434194342 0.21863354037267083 0.3567134268537075 0.09213483146067415 0.6940298507462687 0.9726562499999999
Jordan 1e7 88802 39.7 NA 0.735 4.808082581 48.7 85.6 12278 2.5 6.28439713 568 NA NA 13 13.2 69.4 32 5 5 -0.53 0.12 0.1 0.26 1.17 57.3 51.9 57.6 64.9 15.4 95 FALSE NA 86.8 0.00700007216569243 0.00540292473310519 NA NA 0.6279863481228669 0.3289615778242279 0.4710982658959539 0.003870616198340896 0.11249044518195277 0.6169154228855721 0.25674526319686913 0.0563973063973064 NA NA 0.46153846153846156 0.50390625 0.7138297872340427 0.455531453362256 0.6666666666666666 0.6666666666666666 0.4686716791979949 0.47487437185929654 0.45108695652173914 0.5292553191489362 0.7084468664850135 0.520997375328084 0.4612546125461255 0.49316770186335407 0.5210420841683369 0.27640449438202247 0.7014925373134329 0.49609374999999994
Mali 19e6 1220190 40.1 NA 0.427 4.741850376 29.7 38.1 2266 6.1 5.79663385 118 3.637409925 30.85352758686086 8 8.1 85.3 22.2 5 4 -1.91 -0.94 -0.57 -0.78 -0.63 32.4 31.4 31.9 57.6 8.8 97 FALSE NA 91.9 0.013494984484376128 0.07448508697276361 NA NA 0.10238907849829351 0.3140482121976256 0.19653179190751446 0.001639375064588559 0.015616684889357626 0.7960199004975124 0.22238764950088427 0.00904882154882155 NA NA 0.07692307692307693 0.3046875 0.8829787234042553 0.24295010845986983 0.6666666666666666 0.5 0.12280701754385964 0.2085427135678392 0.2690217391304348 0.2526595744680851 0.21798365122615804 0.1942257217847769 0.2091020910209102 0.17391304347826086 0.37474949899799603 0.12808988764044946 0.7164179104477612 0.6953125000000002
Nepal 29e6 143351 32.8 30.5 0.574 4.736692429 41.7 71.5 2479 3.4 6.14698721 151 3.993020058 28.2002528558377 12 3.2 87.6 20.3 3 4 -0.66 -0.88 -0.72 -0.68 -0.75 36.2 24.6 37.5 54.1 29.6 98 FALSE NA 96.8 0.020711553727358015 0.008733667915825112 NA NA 0.3532423208191126 0.3128868081722931 0.369942196531792 0.003208289882848097 0.0176776228580275 0.6616915422885572 0.24706623006145925 0.012521043771043771 NA NA 0.38461538461538464 0.11328125000000003 0.9074468085106383 0.2017353579175705 0.3333333333333333 0.5 0.4360902255639097 0.2236180904522613 0.2282608695652174 0.27925531914893614 0.18528610354223432 0.24409448818897644 0.12546125461254615 0.24347826086956523 0.30460921843687383 0.5955056179775281 0.7238805970149254 0.8867187499999998
Iran 81e6 1531595 44.5 24 0.798 4.716783047 48 1454.5 18078 0 7.59492036 1262 2.801350117 155.2225024596743 15 11.3 91.1 17.2 6 6 -0.93 -0.19 -1.2 -0.68 -0.81 35.3 32.6 32.5 50.9 5.9 99 FALSE NA 88.7 0.05823771379086382 0.09349936919269243 NA NA 0.7354948805460753 0.3084038547032716 0.4609826589595376 0.06817263699820561 0.1686098828264845 0.4925373134328358 0.3490573594988996 0.1294191919191919 NA NA 0.6153846153846154 0.42968750000000006 0.9446808510638297 0.13449023861171364 0.8333333333333334 0.8333333333333334 0.36842105263157887 0.3969849246231156 0.09782608695652176 0.27925531914893614 0.16893732970027245 0.2322834645669291 0.22386223862238627 0.18136645962732922 0.2404809619238477 0.06292134831460675 0.7313432835820896 0.5703125000000001
Senegal 16e6 192530 40.3 21.9 0.505 4.683024883 38.4 39.7 2577 6.5 8.97237559 97 7.401400089 77.87216438241227 9 9.5 72.7 30.2 2 2 -0.04 -0.32 -0.15 -0.15 -0.09 40.4 42.6 41.3 55.7 41.8 100 FALSE NA 90.5 0.011330013711481561 0.011736520745079233 NA NA 0.23549488054607512 0.3008026002589298 0.3222543352601156 0.0017145326606728484 0.018625847838917863 0.8159203980099501 0.4460840866355835 0.006839225589225589 NA NA 0.15384615384615385 0.359375 0.748936170212766 0.4164859002169197 0.16666666666666666 0.16666666666666666 0.5914786967418546 0.364321608040201 0.3831521739130435 0.42021276595744683 0.36512261580381467 0.2992125984251969 0.34686346863468637 0.29068322981366457 0.3366733466933869 0.8696629213483145 0.7388059701492538 0.640625
Mauritania 38e5 1030700 37 18 0.52 4.678159714 28.9 16.4 4328 1.9 4.63981866 177 NA NA 9 11.7 72.8 30.1 6 5 -0.62 -0.72 -0.78 -0.6 -0.75 17.6 28.9 23.9 54 25.2 101 FALSE NA 88.3 0.0025257992350436603 0.06291489273100669 NA NA 0.2610921501706485 0.29970712043710895 0.18497109826589594 6.200501676953863e-4 0.03556811254849977 0.5870646766169154 0.14090261148066413 0.015256734006734007 NA NA 0.15384615384615385 0.4453125 0.75 0.41431670281995664 0.8333333333333334 0.6666666666666666 0.4461152882205513 0.26381909547738697 0.21195652173913043 0.300531914893617 0.18528610354223432 0 0.17835178351783515 0.07453416149068323 0.3026052104208417 0.49662921348314604 0.746268656716418 0.5546874999999999
Burkina Faso 19e6 273800 39.5 17.9 0.423 4.646891117 33.4 32.8 1782 4 5.446772 96 4.559939861 32.09384426428785 8 3 83.7 23.3 4 3 -0.92 -0.59 -0.44 -0.4 -0.11 47.1 31.8 42.1 60 11 102 FALSE NA 97 0.013494984484376128 0.016698838999486244 NA NA 0.0955631399317406 0.29266643653277735 0.25 0.001390415527559351 0.010933614575572563 0.6915422885572139 0.19774369046964563 0.006734006734006734 NA NA 0.07692307692307693 0.10546875000000001 0.8659574468085107 0.26681127982646424 0.5 0.3333333333333333 0.37092731829573933 0.29648241206030157 0.30434782608695654 0.3537234042553192 0.35967302452316074 0.3871391076115486 0.2140221402214022 0.3006211180124224 0.42284569138276556 0.17752808988764046 0.753731343283582 0.8945312499999999
Albania 29e5 27398 29 36.8 0.785 4.639548302 53.1 34.2 11840 2.6 6.82443871 774 NA NA 16 16.3 72.7 30.1 3 3 0.4 0.08 0.22 -0.4 -0.42 25.4 39.9 54.1 64.5 27.9 103 FALSE NA 83.7 0.0018763080031752905 0.001653617607553226 NA NA 0.7133105802047782 0.2910130703973225 0.5346820809248556 0.0014561784241331043 0.1082524600632795 0.6218905472636815 0.2947853140703364 0.07807239057239057 NA NA 0.6923076923076923 0.625 0.748936170212766 0.41431670281995664 0.3333333333333333 0.3333333333333333 0.7017543859649122 0.4648241206030151 0.483695652173913 0.3537234042553192 0.27520435967302453 0.10236220472440943 0.31365313653136534 0.4496894409937889 0.5130260521042085 0.5573033707865168 0.7611940298507462 0.3750000000000002
Cambodia 16e6 176515 37.9 25.6 0.582 4.585842133 38.5 59 3737 6.9 5.98226009 210 1.90083003 20.790557834844947 11 0.3 86.5 21.2 6 5 0.17 -0.66 -0.5 -1.06 -1.29 24.5 17.7 36 58.7 20.3 106 FALSE NA 99.7 0.011330013711481561 0.010758650352015023 NA NA 0.3668941979522184 0.27892016582467394 0.323699421965318 0.0026211211634395875 0.02984973536782421 0.835820895522388 0.2354629975380677 0.01872895622895623 NA NA 0.3076923076923077 0 0.8957446808510638 0.2212581344902386 0.8333333333333334 0.6666666666666666 0.644110275689223 0.27889447236180903 0.28804347826086957 0.17819148936170212 0.03814713896457763 0.0905511811023622 0.04059040590405903 0.22484472049689444 0.3967935871743488 0.3865168539325843 0.7835820895522388 1
Chad 15e6 1259200 43.3 12.8 0.404 4.558937073 20.4 29 2445 1.8 4.58 100 NA NA 7 5.8 90.5 17.7 7 6 -1.34 -1.46 -1.21 -1.3 -1.43 24.1 23.1 25.1 49.3 12.8 107 FALSE NA 94.2 0.010608356787183373 0.07686702415874143 NA NA 0.0631399317406144 0.2728620103248582 0.06213872832369939 0.0012119162368591642 0.017348646844249208 0.582089552238806 0.1366890380191861 0.007154882154882155 NA NA 0 0.21484375000000003 0.9382978723404256 0.14533622559652926 1 0.8333333333333334 0.26566416040100244 0.07788944723618092 0.09510869565217393 0.11436170212765956 0 0.08530183727034123 0.10701107011070113 0.08944099378881991 0.20841683366733466 0.21797752808988766 0.7910447761194029 0.7851562500000001
South Africa 57e6 1214470 62.5 15.9 0.699 4.513655186 38.5 739.4 13225 1.3 8.20115459 1086 6.04693985 389.0572274696202 13 25.9 68.1 32.6 2 2 -0.27 0.28 0.23 -0.01 -0.01 65.9 45.4 67.7 63 42 108 FALSE NA 74.1 0.0409179476077073 0.07413582573964919 NA NA 0.5665529010238908 0.26266598352651305 0.323699421965318 0.034581888898283585 0.12165339474218924 0.5572139303482587 0.3917599620474613 0.1109006734006734 NA NA 0.46153846153846156 1 0.7 0.4685466377440347 0.16666666666666666 0.16666666666666666 0.5338345864661653 0.5150753768844221 0.48641304347826086 0.4574468085106383 0.3869209809264305 0.6338582677165355 0.3813038130381304 0.6186335403726708 0.4829659318637275 0.8741573033707865 0.7985074626865671 0
Kenya 5e7 569140 48.5 24.2 0.59 4.475654125 35.4 152.8 3361 5.6 5.22017671 157 5.280149937 70.49651008986639 11 11 77.5 27.4 4 4 -1.08 -0.31 -0.23 -0.41 -0.82 44 27.5 47.9 54.7 21.8 109 FALSE NA 89 0.03586634913761998 0.034732197843543915 NA NA 0.38054607508532423 0.2541093649314984 0.27890173410404623 0.007027235233881046 0.026211647686040774 0.7711442786069651 0.18178251881451474 0.013152356902356903 NA NA 0.3076923076923077 0.41796875 0.8 0.35574837310195223 0.5 0.5 0.33082706766917286 0.36683417085427134 0.36141304347826086 0.3510638297872341 0.16621253405994552 0.3464566929133859 0.16113161131611317 0.37267080745341613 0.3166332665330662 0.4202247191011236 0.8059701492537313 0.58203125
Georgia 37e5 69700 40.1 31.1 0.78 4.45077467 55.4 37.2 10044 2.8 7.93235924 718 NA NA 15 11.6 73.3 29.8 3 3 -0.37 0.57 1.05 0.33 0.74 64.2 61.8 62.8 76.2 16 111 FALSE NA 88.4 0.002453633542613841 0.0042365631815402495 NA NA 0.7047781569965871 0.24850731062867698 0.5679190751445087 0.0015970989167911466 0.09087478592369691 0.6318407960199004 0.37282625551962056 0.07218013468013468 NA NA 0.6153846153846154 0.44140625 0.7553191489361702 0.4078091106290673 0.3333333333333333 0.3333333333333333 0.5087719298245613 0.5879396984924623 0.7092391304347827 0.547872340425532 0.5912806539509536 0.6115485564304463 0.5830258302583026 0.5577639751552795 0.74749498997996 0.2898876404494382 0.8208955223880597 0.5585937500000002
Togo 8e6 54385 46 13.2 0.503 4.360805035 34.9 11.6 1550 5.3 6.64913046 96 4.87635994 30.23986105162921 12 6.8 73.3 29.8 4 4 -0.74 -1.13 -0.79 -0.71 -0.71 28.2 31.4 32.7 47.8 17.6 114 FALSE NA 93.2 0.005556758317096053 0.003301434547773258 NA NA 0.23208191126279867 0.22824903805498017 0.2716763005780347 3.945773794425185e-4 0.008688837069791294 0.7562189054726367 0.28243675611570906 0.006734006734006734 NA NA 0.38461538461538464 0.25390625 0.7553191489361702 0.4078091106290673 0.5 0.5 0.41604010025062654 0.16080402010050254 0.2092391304347826 0.2712765957446809 0.19618528610354224 0.13910761154855641 0.2091020910209102 0.1838509316770187 0.1783567134268537 0.3258426966292135 0.8432835820895522 0.7460937500000001
Sri Lanka 21e6 64630 39.2 33.8 0.77 4.330945492 49.3 176.1 4447 3.5 2.96601516 353 1.932880044 73.84912617901323 14 13.3 95.3 12.5 3 4 -0.06 -0.15 -0.13 0.06 -0.45 21.4 21.2 27.8 49.4 5.8 115 FALSE NA 86.7 0.014938298332972505 0.003926990724916113 NA NA 0.6877133105802049 0.22152562786197413 0.47976878612716767 0.008121717726858508 0.03671952859672378 0.6666666666666666 0.023001374520007004 0.03377525252525253 NA NA 0.5384615384615384 0.5078125 0.9893617021276596 0.03253796095444685 0.3333333333333333 0.5 0.5864661654135338 0.407035175879397 0.38858695652173914 0.4760638297872341 0.2670299727520436 0.04986876640419945 0.08364083640836407 0.12298136645962736 0.21042084168336675 0.06067415730337078 0.8507462686567164 0.49218750000000017
Ukraine 45e6 579330 25.5 26.4 0.751 4.311067104 52.5 353 8305 -9.9 6.13449593 469 5.874939919 173.24682413289116 15 8.9 45 42.8 3 3 -1.89 -0.46 -0.32 -0.71 -0.78 29.5 29 41 51.9 12.3 116 FALSE NA 91.1 0.03225806451612903 0.03535439573959913 NA NA 0.6552901023890786 0.21704965324643086 0.5260115606936416 0.016431329443927736 0.07404863039544853 0 0.24618635535500663 0.04598063973063973 NA NA 0.6153846153846154 0.3359375 0.4542553191489362 0.6898047722342733 0.3333333333333333 0.3333333333333333 0.12781954887218044 0.3291457286432161 0.33695652173913043 0.2712765957446809 0.17711171662125338 0.15616797900262466 0.1795817958179582 0.28695652173913044 0.2605210420841683 0.20674157303370788 0.8582089552238806 0.6640624999999998
Congo (Dem. Rep.) 81e6 2267048 42.1 NA 0.457 4.311033249 24.8 65 773 7.7 4.2713599 34 NA NA 9 3.6 94.8 13.2 7 6 -2.3 -1.63 -1.47 -1.69 -1.42 23.9 27.3 24.1 52.1 8.9 117 FALSE NA 96.4 0.05823771379086382 0.13840587647900227 NA NA 0.15358361774744034 0.21704203018762908 0.12572254335260116 0.002902962148755672 0.0011707675784462656 0.8756218905472637 0.11494870257021562 2.1043771043771043e-4 NA NA 0.15384615384615385 0.12890625000000003 0.9840425531914894 0.047722342733188705 1 0.8333333333333334 0.02506265664160403 0.03517587939698496 0.024456521739130457 0.010638297872340436 0.002724795640326978 0.08267716535433069 0.15867158671586717 0.07701863354037271 0.2645290581162325 0.13033707865168542 0.8656716417910447 0.8710937500000001
Bangladesh 165e6 130170 32.1 38.4 0.608 4.309771061 35.3 628.4 3891 6.4 2.63947252 88 NA NA 10 4.1 94.2 13.9 4 4 -1.25 -0.74 -0.81 -0.67 -0.83 32.6 21.2 32.4 55.1 20.3 118 FALSE NA 95.9 0.11885689543191166 0.007928840588258497 NA NA 0.4112627986348123 0.21675782598314106 0.2774566473988439 0.02936783066993602 0.03133980319493764 0.8109452736318408 0 0.005892255892255892 NA NA 0.23076923076923078 0.1484375 0.9776595744680852 0.06290672451193059 0.5 0.5 0.2882205513784461 0.25879396984924624 0.20380434782608695 0.2819148936170213 0.16348773841961853 0.19685039370078744 0.08364083640836407 0.18012422360248448 0.32464929859719444 0.3865168539325843 0.8731343283582089 0.8515625000000001
Armenia 3e6 28203 31.5 25.7 0.755 4.287736416 51.7 25.8 8621 3 10.14083813 883 2.247240067 89.7707766002676 13 16.8 80 25.8 5 4 -0.71 -0.1 0.28 -0.16 -0.56 47.4 40.5 55.3 68.7 18.1 119 FALSE NA 83.2 0.0019484736956051094 0.0017027706307450267 NA NA 0.6621160409556315 0.2117963315358796 0.5144508670520233 0.0010616010446905858 0.07710617217056438 0.6417910447761194 0.5283895536800671 0.0895412457912458 NA NA 0.46153846153846156 0.64453125 0.8265957446808511 0.3210412147505423 0.6666666666666666 0.5 0.42355889724310775 0.41959798994974873 0.5 0.41755319148936176 0.23705722070844684 0.3910761154855643 0.32103321033210336 0.46459627329192543 0.5971943887775553 0.3370786516853933 0.8805970149253731 0.3554687500000002
Mozambique 3e7 786380 45.6 23.7 0.437 4.279863358 26.7 34.9 1215 6.3 5.35312059 64 NA NA 10 24.4 60.7 36.2 4 4 -0.98 -0.89 -0.73 -1.01 -0.86 36.3 28.2 35.4 46.3 39.6 120 FALSE NA 75.6 0.021433210651656202 0.04799679754315483 NA NA 0.11945392491467578 0.2100235717047151 0.1531791907514451 0.0014890598724199807 0.005447455757564029 0.8059701492537312 0.19114696804547235 0.003367003367003367 NA NA 0.23076923076923078 0.94140625 0.6212765957446809 0.5466377440347072 0.5 0.5 0.3558897243107769 0.22110552763819097 0.22554347826086957 0.19148936170212766 0.1553133514986376 0.24540682414698162 0.16974169741697417 0.21739130434782608 0.14829659318637273 0.8202247191011236 0.8880597014925373 0.05859374999999998
Ethiopia 105e6 1e6 33 26.7 0.463 4.180315495 32.3 177.5 1946 10.2 4.04684368 66 NA NA 8 5.7 90.6 17.7 7 6 -1.69 -0.7 -1.01 -0.45 -0.56 37.6 37.7 31.1 52.8 38.8 121 FALSE NA 94.3 0.07555747997402035 0.06104036128754299 NA NA 0.16382252559726967 0.18760858977461145 0.23410404624277453 0.008187480623432261 0.012520440053797254 1 0.09913397876558085 0.0035774410774410776 NA NA 0.07692307692307693 0.21093750000000003 0.9393617021276596 0.14533622559652926 1 0.8333333333333334 0.17794486215538846 0.26884422110552764 0.14945652173913043 0.34042553191489366 0.23705722070844684 0.2624671916010499 0.28659286592865935 0.16397515527950315 0.2785571142284569 0.8022471910112359 0.8955223880597015 0.7890624999999999
Tunisia 12e6 155360 40 26.2 0.735 4.124342918 49.3 130.6 11634 0.8 6.74049066 774 NA NA 15 14.8 75.5 28.6 2 3 -1.05 -0.07 -0.41 0.07 -0.11 41.7 36.8 49.4 58.9 31.3 123 FALSE NA 85.2 0.008443386014288807 0.009466933326396957 NA NA 0.6279863481228669 0.1750053629023646 0.47976878612716767 0.005984423588211531 0.10625925245038752 0.5323383084577115 0.2888720877355635 0.07807239057239057 NA NA 0.6153846153846154 0.56640625 0.7787234042553192 0.3817787418655098 0.16666666666666666 0.3333333333333333 0.33834586466165406 0.4271356783919598 0.3125 0.4787234042553192 0.35967302452316074 0.3162729658792652 0.27552275522755226 0.391304347826087 0.40080160320641284 0.6337078651685393 0.9104477611940298 0.43359375000000017
Madagascar 26e6 581540 41 NA 0.519 4.078620434 31.1 37.5 1505 3 5.23778965 77 NA NA 11 2.1 92.9 15.4 3 4 -0.33 -1.14 -0.69 -0.86 -1.05 21.4 17.8 33.2 56.8 19.2 125 FALSE NA 97.9 0.018546582954463448 0.03548933757966606 NA NA 0.25938566552901027 0.16471012780867456 0.21676300578034685 0.0016111909660569506 0.008253427639790617 0.6417910447761194 0.1830231587178928 0.004734848484848485 NA NA 0.3076923076923077 0.07031250000000001 0.9638297872340427 0.09544468546637745 0.3333333333333333 0.5 0.5187969924812029 0.15829145728643218 0.2364130434782609 0.23138297872340427 0.10354223433242504 0.04986876640419945 0.041820418204182044 0.1900621118012423 0.35871743486973945 0.36179775280898874 0.9253731343283582 0.9296875000000001
India 1339e6 2973193 35.2 29.2 0.64 4.046111107 40 8662.4 6616 7.3 3.88825688 238 NA NA 12 3.5 77.7 27.3 2 3 -0.83 0.09 -0.25 0 -0.24 54.3 47.2 55.4 54.5 11.8 126 FALSE NA 96.5 0.9660821245579851 0.1815228473631937 NA NA 0.46587030716723554 0.15739007135236624 0.34537572254335264 0.4067529100081734 0.05770626312275643 0.8557213930348258 0.08796326494784037 0.021675084175084174 NA NA 0.38461538461538464 0.12500000000000003 0.8021276595744682 0.35357917570498915 0.16666666666666666 0.3333333333333333 0.3934837092731829 0.46733668341708545 0.35597826086956524 0.4601063829787234 0.3242506811989101 0.4816272965879265 0.4034440344403445 0.4658385093167702 0.31262525050100204 0.1955056179775281 0.9328358208955224 0.8749999999999999
Uganda 43e6 197100 39.5 19.4 0.516 4.000516891 30.9 85 2068 5 7.30193117 139 2.25067997 15.817668930653337 10 2.3 90.9 17.4 6 4 -0.56 -0.58 -0.22 -0.3 -1.04 40.3 28.3 43.5 62 34.3 127 FALSE NA 97.7 0.030814750667532656 0.012015563373633928 NA NA 0.2542662116040956 0.1471237180931583 0.2138728323699422 0.003842432099809288 0.013700883397354646 0.7412935323383084 0.32841946029681224 0.01125841750841751 NA NA 0.23076923076923078 0.078125 0.9425531914893618 0.1388286334056399 0.8333333333333334 0.5 0.4611528822055137 0.2989949748743718 0.3641304347826087 0.3803191489361702 0.10626702997275202 0.2979002624671916 0.1709717097170972 0.31801242236024846 0.46292585170340683 0.7011235955056179 0.9402985074626866 0.921875
Egypt 98e6 995450 31.8 23.8 0.696 3.929344177 43.1 1132.4 12554 4.2 7.30822225 495 NA NA 13 12 65.1 34.1 6 6 -1.42 -0.62 -0.86 -0.53 -0.54 52.5 32.2 32.7 53.4 14.9 129 FALSE NA 88 0.07050588150393303 0.060762539852111074 NA NA 0.561433447098976 0.13109790849615627 0.39017341040462433 0.05304247343648714 0.11516095635262358 0.7014925373134329 0.32886259840341703 0.04871632996632996 NA NA 0.46153846153846156 0.45703125 0.6680851063829787 0.5010845986984815 0.8333333333333334 0.8333333333333334 0.24561403508771928 0.2889447236180904 0.19021739130434784 0.3191489361702128 0.2425068119891008 0.4580052493438321 0.21894218942189428 0.1838509316770187 0.2905811623246493 0.2651685393258427 0.9552238805970149 0.54296875
Zimbabwe 17e6 386847 43.2 22.1 0.535 3.63830018 29.7 28.6 1970 1.5 10.31719793 182 7.53068018 77.64919079194497 10 5.1 72 30.6 6 5 -0.77 -1.19 -1.56 -1.38 -1.27 33 18.9 27.6 44 32.6 131 FALSE NA 94.9 0.01205167063577975 0.023601449947018537 NA NA 0.28668941979522194 0.06556414677572474 0.19653179190751446 0.001193126837838092 0.012752658416464282 0.5671641791044776 0.5408121818859073 0.015782828282828284 NA NA 0.23076923076923078 0.1875 0.7414893617021276 0.42516268980477223 0.8333333333333334 0.6666666666666666 0.40852130325814534 0.14572864321608042 0 0.09308510638297875 0.043596730245231585 0.2020997375328084 0.055350553505535034 0.12049689440993792 0.1022044088176353 0.6629213483146067 0.9701492537313433 0.8125000000000002
Botswana 22e5 566730 60.5 16.6 0.717 3.504881144 44.1 36.7 17042 -0.3 5.97091586 970 NA NA 13 18.4 63.4 34.9 3 2 1.03 0.43 0.46 0.51 0.8 54.7 56.6 57.7 69.9 9.5 132 FALSE NA 81.6 0.0013711481561665584 0.0345850440722492 NA NA 0.5972696245733788 0.03552246440357926 0.4046242774566475 0.0015736121680148061 0.1585857901713578 0.4776119402985074 0.23466392001829542 0.0986952861952862 NA NA 0.46153846153846156 0.70703125 0.65 0.5184381778741866 0.3333333333333333 0.16666666666666666 0.8596491228070174 0.5527638190954774 0.5489130434782609 0.5957446808510639 0.6076294277929155 0.4868766404199476 0.5190651906519066 0.4944099378881988 0.6212424849699401 0.14382022471910114 0.9776119402985075 0.2929687499999999
Central African Republic 49e5 622984 43.6 NA 0.367 3.475862026 16.1 3.2 652 4.3 4.78 32 NA NA 7 6.9 94.6 13.4 7 7 -1.94 -1.77 -1.48 -1.73 -1.17 28.2 24.6 17.9 49.2 8.6 133 FALSE NA 93.1 0.0033196218517716676 0.03801989396868592 NA NA 0 0.028988290931693222 0 0 0 0.7064676616915422 0.15077686098773138 0 NA NA 0 0.25781250000000006 0.9819148936170212 0.05206073752711497 1 1 0.11528822055137843 0 0.021739130434782625 0 0.07084468664850137 0.13910761154855641 0.12546125461254615 0 0.2064128256513027 0.12359550561797752 0.9850746268656716 0.7421874999999998
Malawi 19e6 94080 46.1 22.1 0.477 3.416862965 32.5 21.1 1135 3 9.33097184 108 4.839839935 17.168141378569544 11 6.7 70.7 31.3 3 3 -0.27 -0.67 -0.75 -0.37 -0.65 47.1 28.9 33.1 52 16.7 134 FALSE NA 93.3 0.013494984484376128 0.005725197598206214 NA NA 0.18771331058020477 0.015703597053251143 0.2369942196531792 8.408256061929861e-4 0.004673394548673936 0.6417910447761194 0.47134328907150447 0.007996632996632997 NA NA 0.3076923076923077 0.25000000000000006 0.7276595744680852 0.4403470715835141 0.3333333333333333 0.3333333333333333 0.5338345864661653 0.2763819095477387 0.22010869565217392 0.36170212765957444 0.21253405994550406 0.3871391076115486 0.17835178351783515 0.18881987577639756 0.26252505010020044 0.3056179775280899 0.9925373134328358 0.7499999999999999
Tanzania 57e6 885800 37.6 22.1 0.538 3.347121239 36 1164.9 16888 2.8 3.77148642 96 3.481430054 32.138231984753524 8 0.6 85.5 22 4 4 -0.58 -0.63 -0.58 -0.45 -0.48 45.3 34.7 48.6 67.1 36.4 135 FALSE NA 99.4 0.0409179476077073 0.05406734855648256 NA NA 0.2918088737201366 0 0.2875722543352601 0.054569112106949265 0.15709572234424438 0.6318407960199004 0.0797380571056624 0.006734006734006734 NA NA 0.07692307692307693 0.01171875 0.8851063829787235 0.23861171366594358 0.5 0.5 0.4561403508771929 0.2864321608040201 0.266304347826087 0.34042553191489366 0.25885558583106266 0.36351706036745407 0.2496924969249693 0.38136645962732924 0.565130260521042 0.748314606741573 1 0.9882812500000001
<!DOCTYPE html>
<html lang="en">
<head>
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet" type='text/css'>
<meta charset="utf-8">
<title>What do the happiest countries in the world have in common?</title>
<script type="text/javascript" src="https://d3js.org/d3.v4.min.js"></script>
<style type="text/css">
body {
/*overflow: hidden;*/
margin: 0;
font-size: 14px;
font-family: "Helvetica Neue", Helvetica;
}
div.tooltip {
position: absolute;
top: 100px;
left: 100px;
-moz-border-radius:5px;
border-radius: 5px;
border: 2px solid #000;
background: #fff;
opacity: .9;
color: black;
padding: 10px;
width: 300px;
font-size: 12px;
z-index: 10;
}
div.tooltip .title {
font-size: 13px;
}
div.tooltip .name {
font-weight:bold;
}
#footer {
position: absolute;
top: 0;
z-index: 1;
display: block;
font-size: 30px;
font-weight: 300;
text-shadow: 0 1px 0 #fff;
top: 30px;
left: 30px;
text-align: left;
}
#owner{
position: absolute;
z-index: 1;
display: block;
font-weight: 300;
text-shadow: 0 1px 0 #fff;
top: 550px;
left: 30px;
text-align: left;
color: #474747;
padding-bottom: 20px;
font-size: 10px;
}
#SideText{
font-family: "Helvetica Neue", Helvetica;
position: absolute;
display: block;
font-size: 12px;
color: #474747;
top: 220px;
left: 60px;
width: 850px;
font-weight: 300;
text-shadow: 0 1px 0 #fff;
}
#BelowLeftText{
position: absolute;
font-size: 14px;
color: #474747;
top: 370px;
left: 50px;
width: 110px;
text-align: center;
font-weight: 500;
text-shadow: 0 1px 0 #fff;
}
#BelowRightText{
position: absolute;
font-size: 14px;
color: #474747;
top: 370px;
left: 780px;
width: 110px;
text-align: center;
font-weight: 500;
text-shadow: 0 1px 0 #fff;
}
line {
stroke: #000;
stroke-width: 1.px;
}
.hint {
position: absolute;
left: 0;
width: 900px;
font-size: 12px;
color: #999;
}
.instructions {
position: absolute;
top: 80px;
left: 0;
width: 900px;
font-size: 14px;
text-align: center;
}
text {
font-size: 10px;
}
.titles{
font-size: 14px;
}
.annotate{
font-size: 11px;
fill: #474747;
}
path.chord {
fill-opacity: .80;
}
.pTitle {
font-size: 16px;
text-shadow: 0 1px 0 #fff;
fill: #474747;
font-weight: bold;
}
.survey {
font-size: 10px;
}
#buttons {
position: absolute;
top: 180px;
left: 30px;
display:inline-block;
 padding:0.35em 1.2em;
 border:0.1em solid #FFFFFF;
 margin:0 0.3em 0.3em 0;
 border-radius:0.12em;
 box-sizing: border-box;
 text-align:center;
 transition: all 0.2s;
}
#colorLegend {
position: absolute;
top: 490px;
left: 530px;
width: 380px;
display:inline-block;
font-weight: 200;
text-shadow: 0 1px 0 #fff;
}
#titleColorLegend {
position: absolute;
top: 0px;
left: 10px;
width: 90px;
display:inline-block;
text-align: center;
font-weight: 400;
text-shadow: 0 1px 0 #fff;
}
#leftColorLegend {
position: absolute;
top: 0px;
left: 118px;
width: 80px;
display:inline-block;
text-align: center;
font-weight: 200;
text-shadow: 0 1px 0 #fff;
}
#rightColorLegend {
position: absolute;
top: 0px;
left: 285px;
width: 80px;
display:inline-block;
text-align: center;
font-weight: 200;
text-shadow: 0 1px 0 #fff;
}
#sizeLegend {
position: absolute;
top: 490px;
left: 50px;
width: 380px;
display:inline-block;
font-weight: 200;
text-shadow: 0 1px 0 #fff;
}
#titleSizeLegend {
position: absolute;
top: 0px;
left: 10px;
width: 90px;
display:inline-block;
text-align: center;
font-weight: 400;
text-shadow: 0 1px 0 #fff;
}
#leftSizeLegend {
position: absolute;
top: 0px;
left: 118px;
width: 80px;
display:inline-block;
text-align: center;
font-weight: 200;
text-shadow: 0 1px 0 #fff;
}
#rightSizeLegend {
position: absolute;
top: 0px;
left: 315px;
width: 80px;
display:inline-block;
text-align: center;
font-weight: 200;
text-shadow: 0 1px 0 #fff;
}
#chart {
position: absolute;
top: 280px;
left: 90px;
display:inline-block;
 padding:0.35em 1.2em;
 margin:0 0.3em 0.3em 0;
 border-radius:0.12em;
 box-sizing: border-box;
 text-decoration:none;
 transition: all 0.2s;
}
#prettytooltip {
position: absolute;
width: 200px;
height: auto;
padding: 10px;
background-color: white;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
box-shadow: 4px 4px 10px rgba(0, 100, 100, 0.4);
pointer-events: none;
}
#prettytooltip.hidden {
display: none;
}
#prettytooltip p {
margin: 0;
font-family: sans-serif;
font-size: 16px;
line-height: 20px;
}
</style>
<svg width="960" height="200"></svg>
</head>
<body>
<div id="body">
<div id="footer">
What do the happiest countries in the world have in common?
<div class="hint">
<span>Every year the World Happiness Report is released based on a worldwide survey aimed at evaluating the average population happiness of each country worldwide.<span/></br>
<span>What other factors are correlated with happiness? </span></br>
</div>
<div class="instructions">
<span id="variable-buttons">Click on a variable button below to see how it is related to happiness. </br></span>
<span id="mouse-bubble">Mouse over a bubble to identify country. </br></span>
<span id="bubble-click">Double-click on a bubble to highlight it.</span>
</div>
</div>
<div id="buttons"></div>
<div id="SideText">
<p id="p0" class="pTitle Side">Happiness score</p>
<p id="p1" class="Side">Happiness is measured based on an the average happiness score collected in an annual worldwide survey.</p>
<p id="p2" class="Side">Scandinavian countries seem to be the happiest followed by Israel, Costa Rica, New Zealand and Australia.</p>
</div>
<div id="chart"></div>
<div id="BelowLeftText">
<p id="less">
Less happy
</p>
</div>
<div id="BelowRightText">
<p id = "more">
More happy
</p>
</div>
<div id="colorLegend">
<svg height="30" width="280">
<circle cx="270" cy="15" r="8" stroke="black" stroke-width="0.5" fill="#FEEC09" />
<circle cx="240" cy="15" r="8" stroke="black" stroke-width="0.5" fill="#08968D" />
<circle cx="210" cy="15" r="8" stroke="black" stroke-width="0.5" fill="#55005D" />
</svg>
<span id="titleColorLegend">Color legend:</span>
<span id="leftColorLegend">Less happy countries</span>
<span id="rightColorLegend">More happy countries</span>
</div>
<div id="sizeLegend">
<svg height="60" width="350">
<circle cx="295" cy="15" r="15" stroke="black" stroke-width="0.5" fill="grey" />
<circle cx="247" cy="15" r="10" stroke="black" stroke-width="0.5" fill="grey" />
<circle cx="210" cy="15" r="7" stroke="black" stroke-width="0.5" fill="grey" />
</svg>
<span id="titleSizeLegend">Size legend:</span>
<span id="leftSizeLegend">Smaller population</span>
<span id="rightSizeLegend">Bigger population</span>
</div>
<div id="owner">Analysis and Visualization created by <A HREF="http://www.rebeccabarter.com/">Rebecca Barter</A></div>
<div id="prettytooltip" class="hidden">
<p><strong id="country">Country</strong></p>
<p><span id="pretty_variable">Happiness score: </span><span id="pre_symbol"></span><span id="value">100</span><span id="post_symbol"></span></p>
</div>
</div>
<script type="text/javascript">
// code originated from https://bl.ocks.org/maegul/7d8e7342c649fdc077a6984e52da4b62
// helpful: http://bl.ocks.org/nbremer/7658623
// also helpful: https://github.com/vlandham/bubble_chart
// set page dimensions
var width = 750,
height = 250,
radius = 10;
padding = 100;
var buttons = d3.selectAll('#buttons')
buttons.append('button')
.text('Happiness')
.style("font-size", "10px")
.style("font-family", "Helvetica Neue")
.style("padding", "8px")
.style("color", "#454545")
.style("text-shadow", "0 1px 2px rgba(0, 0, 0, 0.25)")
.style("background", "#ecf0f1")
.style("border", "2px solid white")
.style("cursor", "pointer")
.style("-webkit-box-shadow", "inset 0 -2px #dadedf")
.style("box-shadow", "inset 0 -2px #dadedf")
.attr('value', 'world_happiness_score')
.classed('d_sel', true)
.on("mouseover", function(d) {
d3.select(this)
.style("background", "orange")
.style("color", "white")
})
.on("mouseout", function(d) {
d3.select(this)
.style("background", "#ecf0f1")
.style("color", "#454545")
})
buttons.append('button')
.text('GDP')
.style("font-size", "10px")
.style("font-family", "Helvetica Neue")
.style("padding", "8px")
.style("color", "#454545")
.style("text-shadow", "0 1px 2px rgba(0, 0, 0, 0.25)")
.style("background", "#ecf0f1")
.style("border", "2px solid white")
.style("cursor", "pointer")
.style("-webkit-box-shadow", "inset 0 -2px #dadedf")
.style("box-shadow", "inset 0 -2px #dadedf")
.attr('value', 'gdp_per_capita')
.classed('d_sel', true)
.on("mouseover", function(d) {
d3.select(this)
.style("background", "orange")
.style("color", "white")
})
.on("mouseout", function(d) {
d3.select(this)
.style("background", "#ecf0f1")
.style("color", "#454545")
})
buttons.append('button')
.text('School years')
.style("font-size", "10px")
.style("font-family", "Helvetica Neue")
.style("padding", "8px")
.style("color", "#454545")
.style("text-shadow", "0 1px 2px rgba(0, 0, 0, 0.25)")
.style("background", "#ecf0f1")
.style("border", "2px solid white")
.style("cursor", "pointer")
.style("-webkit-box-shadow", "inset 0 -2px #dadedf")
.style("box-shadow", "inset 0 -2px #dadedf")
.attr('value', 'school_years')
.classed('d_sel', true)
.on("mouseover", function(d) {
d3.select(this)
.style("background", "orange")
.style("color", "white")
})
.on("mouseout", function(d) {
d3.select(this)
.style("background", "#ecf0f1")
.style("color", "#454545")
})
buttons.append('button')
.text('Sustainable economic development')
.style("font-size", "10px")
.style("font-family", "Helvetica Neue")
.style("padding", "8px")
.style("color", "#454545")
.style("text-shadow", "0 1px 2px rgba(0, 0, 0, 0.25)")
.style("background", "#ecf0f1")
.style("border", "2px solid white")
.style("cursor", "pointer")
.style("-webkit-box-shadow", "inset 0 -2px #dadedf")
.style("box-shadow", "inset 0 -2px #dadedf")
.attr('value', 'sustainable_economic_development_assessment')
.classed('d_sel', true)
.on("mouseover", function(d) {
d3.select(this)
.style("background", "orange")
.style("color", "white")
})
.on("mouseout", function(d) {
d3.select(this)
.style("background", "#ecf0f1")
.style("color", "#454545")
})
buttons.append('button')
.text('Employment rate')
.style("font-size", "10px")
.style("font-family", "Helvetica Neue")
.style("padding", "8px")
.style("color", "#454545")
.style("text-shadow", "0 1px 2px rgba(0, 0, 0, 0.25)")
.style("background", "#ecf0f1")
.style("border", "2px solid white")
.style("cursor", "pointer")
.style("-webkit-box-shadow", "inset 0 -2px #dadedf")
.style("box-shadow", "inset 0 -2px #dadedf")
.attr('value', 'employment_rate')
.classed('d_sel', true)
.on("mouseover", function(d) {
d3.select(this)
.style("background", "orange")
.style("color", "white")
})
.on("mouseout", function(d) {
d3.select(this)
.style("background", "#ecf0f1")
.style("color", "#454545")
})
buttons.append('button')
.text('Health expenditure')
.style("font-size", "10px")
.style("font-family", "Helvetica Neue")
.style("padding", "8px")
.style("color", "#454545")
.style("text-shadow", "0 1px 2px rgba(0, 0, 0, 0.25)")
.style("background", "#ecf0f1")
.style("border", "2px solid white")
.style("cursor", "pointer")
.style("-webkit-box-shadow", "inset 0 -2px #dadedf")
.style("box-shadow", "inset 0 -2px #dadedf")
.attr('value', 'health_expenditure_per_person')
.classed('d_sel', true)
.on("mouseover", function(d) {
d3.select(this)
.style("background", "orange")
.style("color", "white")
})
.on("mouseout", function(d) {
d3.select(this)
.style("background", "#ecf0f1")
.style("color", "#454545")
})
buttons.append('button')
.text('Government effectiveness')
.style("font-size", "10px")
.style("font-family", "Helvetica Neue")
.style("padding", "8px")
.style("color", "#454545")
.style("text-shadow", "0 1px 2px rgba(0, 0, 0, 0.25)")
.style("background", "#ecf0f1")
.style("border", "2px solid white")
.style("cursor", "pointer")
.style("-webkit-box-shadow", "inset 0 -2px #dadedf")
.style("box-shadow", "inset 0 -2px #dadedf")
.attr('value', 'government_effectiveness')
.classed('d_sel', true)
.on("mouseover", function(d) {
d3.select(this)
.style("background", "orange")
.style("color", "white")
})
.on("mouseout", function(d) {
d3.select(this)
.style("background", "#ecf0f1")
.style("color", "#454545")
})
buttons.append('button')
.text('Female MPs')
.style("font-size", "10px")
.style("font-family", "Helvetica Neue")
.style("padding", "8px")
.style("color", "#454545")
.style("text-shadow", "0 1px 2px rgba(0, 0, 0, 0.25)")
.style("background", "#ecf0f1")
.style("border", "2px solid white")
.style("cursor", "pointer")
.style("-webkit-box-shadow", "inset 0 -2px #dadedf")
.style("box-shadow", "inset 0 -2px #dadedf")
.attr('value', 'women_mps_pct')
.classed('d_sel', true)
.on("mouseover", function(d) {
d3.select(this)
.style("background", "orange")
.style("color", "white")
})
.on("mouseout", function(d) {
d3.select(this)
.style("background", "#ecf0f1")
.style("color", "#454545")
})
buttons.append('button')
.text('Control of corruption')
.style("font-size", "10px")
.style("font-family", "Helvetica Neue")
.style("padding", "8px")
.style("color", "#454545")
.style("text-shadow", "0 1px 2px rgba(0, 0, 0, 0.25)")
.style("background", "#ecf0f1")
.style("border", "2px solid white")
.style("cursor", "pointer")
.style("-webkit-box-shadow", "inset 0 -2px #dadedf")
.style("box-shadow", "inset 0 -2px #dadedf")
.attr('value', 'control_of_corruption')
.classed('d_sel', true)
.on("mouseover", function(d) {
d3.select(this)
.style("background", "orange")
.style("color", "white")
})
.on("mouseout", function(d) {
d3.select(this)
.style("background", "#ecf0f1")
.style("color", "#454545")
})
var svg = d3.select('#chart').append('svg')
.attr('width', width)
.attr('height', height)
// define a tooltip
var div = d3.select("body").append("div")
.attr("class", "tooltip")
.style("opacity", 0);
// formatting the data displayed in the tooltip
var formatValue = d3.format(".2n");
var selected_variable = 'world_happiness_score';
var selected_variable_scaled = 'world_happiness_score_scaled';
var pre_symbol = ""
var post_symbol = ""
var pretty_variable = "Happiness score: "
var formatValue = d3.format(".2n");
d3.csv('country_data_non_missing.csv', function(data){
// define some useful scales
var radiusScale = d3.scaleLinear()
.domain(d3.extent(data, function(d) { return parseFloat(d.population) }))
.range([7, 30]);
var scaleColor = d3.scaleSequential()
.domain([0, 1])
.interpolator(d3.interpolateViridis);;
var scaleStroke = d3.scaleOrdinal()
.domain(["Scandinavian Europe", "Europe", "Israel", "New Zealand", "NA"])
.range(["#338F72", "#73A521", "#C95A2F", "#5A6D98", "#A0A0A0"]);
var xScale = d3.scaleLinear()
.rangeRound([padding, width - padding])
// a function to highlight points when clicked
var toggleHighlight = (function(){
var current_stroke_width = 0.5
var current_stroke = "black"
return function(){
current_stroke_width = current_stroke_width == 0.5 ? 3 : 0.5
current_stroke = current_stroke == "black" ? "#C40320" : "black"
d3.select(this).style("stroke-width", current_stroke_width)
.style("stroke", current_stroke);
}
})();
// set domain for selected variable
xScale.domain(d3.extent(data, function(d) { return d[selected_variable_scaled]; }));
function tick(){
d3.selectAll('.circ')
.attr('cx', function(d){return d.x})
.attr('cy', function(d){return d.y})
}
var circles = svg.selectAll('.circ')
.data(data)
.enter().append('circle').classed('circ', true)
.attr('r', function(d) { return radiusScale(d.population); })
.attr('cx', function(d){ return xScale(d[selected_variable_scaled]); })
.attr('cy', function(){ return height/2; })
.attr("fill", function(d) { return scaleColor(d.world_happiness_score_scaled); })
.attr("stroke", "black")
.attr("stroke-width", 0.5)
.on('click', toggleHighlight)
circles.on("mouseover", function(d) {
d3.select(this)
.attr("stroke", "black")
.attr("stroke-width", 3);
d3.select("#prettytooltip")
// px distance from left edge of svg
.style("left", (d3.event.pageX) + "px")
// px distance from top edge of svg
.style("top", (d3.event.pageY - 90) + "px")
// update value for label box
.select("#country")
.text(d.country)
d3.select("#prettytooltip")
.select("#value")
.text(formatValue(d[selected_variable]));
d3.select("#prettytooltip")
.select("#pretty_variable")
.text(pretty_variable);
d3.select("#prettytooltip")
.select("#post_symbol")
.text(post_symbol);
d3.select("#prettytooltip")
.select("#pre_symbol")
.text(pre_symbol);
//Show the tooltip
d3.select("#prettytooltip").classed("hidden", false);
})
.on("mouseout", function() {
//Hide the tooltip
d3.select("#prettytooltip").classed("hidden", true);
d3.select(this)
.attr("fill", function(d) {return scaleColor(d.world_happiness_score_scaled); })
.attr("stroke", "black")
.attr("stroke-width", 0.5)
.attr("r", function(d) { return radiusScale(d.population); });
})
var simulation = d3.forceSimulation(data)
.force('x', d3.forceX(function(d){
return xScale(d[selected_variable_scaled])
})
)
.force('y', d3.forceY(height/2).strength(0.03))
.force('collide', d3.forceCollide(function(d) { return radiusScale(d.population); }).strength(0.9))
.alpha(0.01)
.alphaTarget(0.3)
.alphaDecay(0.1)
.on('tick', tick)
d3.selectAll('.d_sel').on('click', function(){
selected_variable = this.value;
selected_variable_scaled = this.value + '_scaled';
simulation.force('x', d3.forceX(function(d){
return xScale(d[selected_variable_scaled])
}))
if(selected_variable == "world_happiness_score") {
pre_symbol = ""
post_symbol = ""
pretty_variable = "Happiness score: "
formatValue = d3.format(".2n");
d3.select("#p0").transition().duration(800).style("opacity", 1).text("Happiness score");
d3.select("#p1").transition().duration(800).style("opacity", 1).text("Happiness is measured based on an the average happiness score collected in an annual worldwide survey.");
d3.select("#p2").transition().duration(800).style("opacity", 1).text("Scandinavian countries seem to be the happiest followed by Israel, Costa Rica, New Zealand and Australia.");
d3.select("#less").transition().duration(800).style("opacity", 1).text("Less happy");
d3.select("#more").transition().duration(800).style("opacity", 1).text("More happy");
} else if (selected_variable == "gdp_per_capita") {
pre_symbol = "$"
post_symbol = ""
pretty_variable = "GDP per capita: "
formatValue = d3.format(",");
d3.select("#p0").transition().duration(800).style("opacity", 1).text("GDP per capita");
d3.select("#p1").transition().duration(800).style("opacity", 1).text("GDP per capita measures the value of a country's economic activity relative to the size of its population.");
d3.select("#p2").transition().duration(800).style("opacity", 1).text("Luxemborg and Singapore have the highest GDP per capita. There appears to be a strong correlation (cor = 0.71) between GDP per capita happiness.");
d3.select("#less").transition().duration(800).style("opacity", 1).text("Lower GDP per capita");
d3.select("#more").transition().duration(800).style("opacity", 1).text("Higher GDP per capita");
} else if (selected_variable == "school_years") {
pre_symbol = ""
post_symbol = " years"
pretty_variable = "School years: "
formatValue = d3.format(".2n");
d3.select("#p0").transition().duration(800).style("opacity", 1).text("Years of schooling");
d3.select("#p1").transition().duration(800).style("opacity", 1).text("School years reports the average number of years spent in primary and tertiary education as reported by the CIA World Factbook. ");
d3.select("#p2").transition().duration(800).style("opacity", 1).text("Australia, Iceland, and Belgium have the most years of schooling. There appears to be a strong correlation (cor = 0.71) between years of schooling and happiness.");
d3.select("#less").transition().duration(800).style("opacity", 1).text("Less school");
d3.select("#more").transition().duration(800).style("opacity", 1).text("More school");
} else if (selected_variable == "sustainable_economic_development_assessment") {
pre_symbol = ""
post_symbol = ""
pretty_variable = "Sustanable economic development score: "
formatValue = d3.format(".2n");
d3.select("#p0").transition().duration(800).style("opacity", 1).text("Sustainable economic development");
d3.select("#p1").transition().duration(800).style("opacity", 1).text("The sustainable economic development assessment is based on 40 indicators of sustainability, economics and investment and is collected by the Boston Consulting Group (BCG).");
d3.select("#p2").transition().duration(800).style("opacity", 1).text("The happiest countries also tend to have the highest sustainable economic development (with the exception of Israel and Costa Rica). There appears to be a strong correlation (cor = 0.81) between sustainable economic development and happiness.");
d3.select("#less").transition().duration(800).style("opacity", 1).text("Lower sustainable economic development");
d3.select("#more").transition().duration(800).style("opacity", 1).text("Higher sustainable economic development");
} else if (selected_variable == "employment_rate") {
pre_symbol = ""
post_symbol = "%"
pretty_variable = "Percent employed: "
formatValue = d3.format(".2n");
d3.select("#p0").transition().duration(800).style("opacity", 1).text("Employment rate");
d3.select("#p1").transition().duration(800).style("opacity", 1).text("The employment rate is the proportion of the working age population who are employed. Most countries have fairly high employment rates as reported by the Heritage Foundation.");
d3.select("#p2").transition().duration(800).style("opacity", 1).text("There does not appear to be much of a correlation (cor = 0.23) between employment rate and happiness.");
d3.select("#less").transition().duration(800).style("opacity", 1).text("Lower employment");
d3.select("#more").transition().duration(800).style("opacity", 1).text("Higher employment");
} else if (selected_variable == "health_expenditure_per_person") {
pre_symbol = "$"
post_symbol = ""
pretty_variable = "Health expenditure per person: "
formatValue = d3.format(",");
d3.select("#p0").transition().duration(800).style("opacity", 1).text("Health expenditure");
d3.select("#p1").transition().duration(800).style("opacity", 1).text("Health expenditure is calculated per person and is reported by the World Bank.");
d3.select("#p2").transition().duration(800).style("opacity", 1).text("Despite its lack of a universal health care system, the US has the highest healthcare expenditure per person. There seems to be a strong correlation (cor = 0.75) between health expenditure per person and happiness.");
d3.select("#less").transition().duration(800).style("opacity", 1).text("Lower health expenditure");
d3.select("#more").transition().duration(800).style("opacity", 1).text("Higher health expenditure");
} else if (selected_variable == "government_effectiveness") {
pre_symbol = ""
post_symbol = ""
pretty_variable = "Government effectiveness score: "
formatValue = d3.format(".2n");
d3.select("#p0").transition().duration(800).style("opacity", 1).text("Government effectiveness");
d3.select("#p1").transition().duration(800).style("opacity", 1).text("Government effectiveness measures the percieved quality of public services, civil service, policy formation, government commitment and is measured on a scale from -2.5 to +2.5 and is reported by the World Bank");
d3.select("#p2").transition().duration(800).style("opacity", 1).text("Singapore is rated as having the highest governemnt effeciveness in the world. There appears to be a strong correlation (cor = 0.75) between government effectiveness and happiness.");
d3.select("#less").transition().duration(800).style("opacity", 1).text("Lower government effectiveness");
d3.select("#more").transition().duration(800).style("opacity", 1).text("Higher government effectiveness");
} else if (selected_variable == "women_mps_pct") {
pre_symbol = ""
post_symbol = "%"
pretty_variable = "Female MPs: "
formatValue = d3.format(".2n");
d3.select("#p0").transition().duration(800).style("opacity", 1).text("Proportion of female MPs");
d3.select("#p1").transition().duration(800).style("opacity", 1).text("The proportion of the country's MPs that are women as reported by the World Bank.");
d3.select("#p2").transition().duration(800).style("opacity", 1).text("Iceland had the highest proportion of female MPs in the world. There does not appear to be a strong correlation (cor = 0.35) between the proportion of female MPs and happiness. The happiest countries do tend to have more female MPs, but there are also many less happy countries with a high proportion of female MPs.");
d3.select("#less").transition().duration(800).style("opacity", 1).text("Fewer female MPs");
d3.select("#more").transition().duration(800).style("opacity", 1).text("More female MPs");
} else if (selected_variable == "control_of_corruption") {
pre_symbol = ""
post_symbol = ""
pretty_variable = "Control of corruption score: "
formatValue = d3.format(".2n");
d3.select("#p0").transition().duration(800).style("opacity", 1).text("Control of corruption");
d3.select("#p1").transition().duration(800).style("opacity", 1).text("The governemnt's percieved control of corruption as reported by the World Bank");
d3.select("#p2").transition().duration(800).style("opacity", 1).text("There appears to be a correlation (cor = 0.68) between control of corruption and happiness.");
d3.select("#less").transition().duration(800).style("opacity", 1).text("Worse control of corruption");
d3.select("#more").transition().duration(800).style("opacity", 1).text("Better control of corruption");
};
})
})
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment