User:Zhouzixian/sandbox

2018 report
The 2018 report features the happiness score averaged over the years 2014-2017. For that timespan, Norway was the overall happiest country in the world, even though oil prices had dropped. Close behind were Denmark, Iceland and Switzerland in a tight pack. Four of the top five countries follow the Nordic model. All the top ten countries had high scores in the six categories. The ranked follow-on countries in the top ten are: Finland, the Netherlands, Canada, New Zealand, Australia, and Sweden.

Table of data for 2018. {| class="wikitable sortable" ! style="width: 10px;" | Overall Rank ! style="width: 250px;" | Country ! Score ! style="width: 10px;" | Change in score ! style="width: 10px;" | GDP per capita ! style="width: 10px;" | Social support ! style="width: 10px;" | Healthy life expectancy ! style="width: 10px;" | Freedom to make life choices ! style="width: 10px;" | Generosity
 * - valign=top
 * 1||🇫🇮 Finland||7.632||1.305||1.592||0.874||0.681||0.192||0.393
 * 2||🇳🇴 Norway||7.594||1.456||1.582||0.861||0.686||0.286||0.340
 * 3||🇩🇰 Denmark||7.555||1.351||1.590||0.868||0.683||0.284||0.408
 * 4||🇮🇸 Iceland||7.495||1.343||1.644||0.914||0.677||0.353||0.138
 * 5||🇨🇭 Switzerland||7.487||1.420||1.549||0.927||0.660||0.256||0.357
 * 6||🇳🇱 Netherlands||7.441||1.361||1.488||0.878||0.638||0.333||0.295
 * 7||🇨🇦 Canada||7.328||1.330||1.532||0.896||0.653||0.321||0.291
 * 8||🇳🇿 New Zealand||7.324||1.268||1.601||0.876||0.669||0.365||0.389
 * 9||🇸🇪 Sweden||7.314||1.355||1.501||0.913||0.659||0.285||0.383
 * 10||🇦🇺 Australia||7.272||1.340||1.573||0.910||0.647||0.361||0.302
 * 11||🇮🇱 Israel||7.190||1.244||1.433||0.888||0.464||0.262||0.082
 * 12||🇦🇹 Austria||7.139||1.341||1.504||0.891||0.617||0.242||0.224
 * 13||🇨🇷 Costa Rica||7.072||1.010||1.459||0.817||0.632||0.143||0.101
 * 14||🇮🇪 Ireland||6.977||1.448||1.583||0.876||0.614||0.307||0.306
 * 15||🇩🇪 Germany||6.965||1.340||1.474||0.861||0.586||0.273||0.280
 * 16||🇧🇪 Belgium||6.927||1.324||1.483||0.894||0.583||0.188||0.240
 * 17||🇱🇺 Luxembourg||6.910||1.576||1.520||0.896||0.632||0.196||0.321
 * 18||🇺🇸 United States||6.886||1.398||1.471||0.819||0.547||0.291||0.133
 * 19||🇬🇧 United Kingdom||6.814||1.301||1.559||0.883||0.533||0.354||0.272
 * 20||🇦🇪 United Arab Emirates||6.774||2.096||0.776||0.670||0.284||0.186
 * 21||🇨🇿 Czech Republic||6.711||1.233||1.489||0.854||0.543||0.064||0.034
 * 22||🇲🇹 Malta||6.627||1.270||1.525||0.884||0.645||0.376||0.142
 * 23||🇫🇷 France||6.489||1.293||1.466||0.908||0.520||0.098||0.176
 * 24||🇲🇽 Mexico||6.488||1.038||1.252||0.761||0.479||0.069||0.095
 * 25||🇨🇱 Chile||6.476||1.131||1.331||0.808||0.431||0.197||0.061
 * 26||🇹🇼 Taiwan||6.441||1.365||1.436||0.857||0.418||0.151||0.078
 * 27||🇵🇦 Panama||6.430||1.112||1.438||0.759||0.597||0.125||0.063
 * 28||🇧🇷 Brazil||6.419||0.986||1.474||0.675||0.493||0.110||0.088
 * 29||🇦🇷 Argentina||6.388||1.073||1.468||0.744||0.570||0.062||0.054
 * 30||🇬🇹 Guatemala||6.382||0.781||1.268||0.608||0.604||0.179||0.071
 * 31||🇺🇾 Uruguay||6.379||1.093||1.459||0.771||0.625||0.130||0.155
 * 32||🇶🇦 Qatar||6.374||1.649||1.303||0.748||0.654||0.256||0.171
 * 33||🇸🇦 Saudi Arabia||6.371||1.379||1.331||0.633||0.509||0.098||0.127
 * 34||🇸🇬 Singapore||6.343||1.529||1.451||1.008||0.631||0.261||0.457
 * 35||🇲🇾 Malaysia||6.322||1.161||1.258||0.669||0.356||0.311||0.059
 * 36||🇪🇸 Spain||6.310||1.251||1.538||0.965||0.449||0.142||0.074
 * 37||🇨🇴 Colombia||6.260||0.960||1.439||0.635||0.531||0.099||0.039
 * 38|| Trinidad & Tobago||6.192||1.223||1.492||0.564||0.575||0.171||0.019
 * 39||🇸🇰 Slovakia||6.173||1.210||1.537||0.776||0.354||0.118||0.014
 * 40||{{flag|El Salvador||6.167||0.806||1.231||0.639||0.461||0.065||0.082
 * 41||{{flag|Nicaragua}}||6.141||0.668||1.319||0.700||0.527||0.208||0.128
 * 42||{{flag|Poland}}||6.123||1.176||1.448||0.781||0.546||0.108||0.064
 * 43||{{flag|Bahrain}}||6.105||1.338||1.366||0.698||0.594||0.243||0.123
 * 44||{{flag|Uzbekistan}}||6.096||0.719||1.584||0.605||0.724||0.328||0.259
 * 45||{{flag|Kuwait}}||6.083||1.474||1.301||0.675||0.554||0.167||0.106
 * 46||{{flag|Thailand}}||6.072||1.016||1.417||0.707||0.637||0.364||0.029
 * 47||{{flag|Italy}}||6.000||1.264||1.501||0.946||0.281||0.137||0.028
 * 48||{{flag|Ecuador}}||5.973||0.889||1.330||0.736||0.556||0.114||0.120
 * 49||{{flag|Belize}}||5.956||0.807||1.101||0.474||0.593||0.183||0.089
 * 50||{{flag|Lithuania}}||5.952||1.197||1.527||0.716||0.350||0.026||0.006
 * 51||{{flag|Slovenia}}||5.948||1.219||1.506||0.856||0.633||0.160||0.051
 * 52||{{flag|Romania}}||5.945||1.116||1.219||0.726||0.528||0.088||0.001
 * 53||{{flag|Latvia}}||5.933||1.148||1.454||0.671||0.363||0.092||0.066
 * 54||{{flag|Japan}}||5.915||1.294||1.462||0.988||0.553||0.079||0.150
 * 55||{{flag|Mauritius}}||5.891||1.090||1.387||0.684||0.584||0.245||0.050
 * 56||{{flag|Jamaica}}||5.890||0.819||1.493||0.693||0.575||0.096||0.031
 * 57||{{flag|South Korea}}||5.875||1.266||1.204||0.955||0.244||0.175||0.051
 * 58||{{flag|Northern Cyprus}}||5.835||1.229||1.211||0.909||0.495||0.179||0.154
 * 59||{{flag|Russia}}||5.810||1.151||1.479||0.599||0.399||0.065||0.025
 * 60||{{flag|Kazakhstan}}||5.790||1.143||1.516||0.631||0.454||0.148||0.121
 * 61||{{flag|Cyprus}}||5.762||1.229||1.191||0.909||0.423||0.202	||0.035
 * 62||{{flag|Bolivia}}||5.752||0.751||1.223||0.508||0.606||0.141||0.054
 * 63||{{flag|Estonia}}||5.739||1.200||1.532||0.737||0.553||0.086||0.174
 * 64||{{flag|Paraguay}}||5.681||0.835||1.522||0.615||0.541||0.162||0.074
 * 65||{{flag|Peru}}||5.663||0.934||1.249||0.674||0.530||0.092||0.034
 * 66||{{flag|Kosovo}}||5.662||0.855||1.230||0.578||0.448||0.274||0.023
 * 67||{{flag|Moldova}}||5.640||0.657||1.301||0.620||0.232||0.171||0.000
 * 68||{{flag|Turkmenistan}}||5.636||1.016||1.533||0.517||0.417||0.199||0.037
 * 69||{{flag|Hungary}}||5.620||1.171||1.401||0.732||0.259||0.061||0.022
 * 70||{{flag|Libya}}||5.566||0.985||1.350||0.553||0.496||0.116||0.148
 * 71||{{flag|Philippines}}||5.524||0.775||1.312||0.513||0.643||0.120||0.105
 * 72||{{flag|Honduras}}||5.504||0.620||1.205||0.622||0.459||0.197||0.074
 * 73||{{flag|Belarus}}||5.483||1.039||1.498||0.700||0.307||0.101||0.154
 * 74||{{flag|Turkey}}||5.483||1.148||1.380||0.686||0.324||0.106	||0.109
 * 75||{{flag|Pakistan}}||5.472||0.652||0.810||0.424||0.334||0.216||0.113
 * 76||{{flag|Hong Kong}}||5.430||1.405||1.290||1.030||0.524||0.246||0.291
 * 77||{{flag|Portugal}}||5.410||1.188||1.429||0.884||0.562||0.055||0.017
 * 78||{{flag|Serbia}}||5.398||0.975||1.369||0.685||0.288||0.134||0.043
 * 79||{{flag|Greece}}||5.358||1.154||1.202||0.879||0.131||0.000	||0.044
 * 40||{{flag|El Salvador||6.167||0.806||1.231||0.639||0.461||0.065||0.082
 * 41||{{flag|Nicaragua}}||6.141||0.668||1.319||0.700||0.527||0.208||0.128
 * 42||{{flag|Poland}}||6.123||1.176||1.448||0.781||0.546||0.108||0.064
 * 43||{{flag|Bahrain}}||6.105||1.338||1.366||0.698||0.594||0.243||0.123
 * 44||{{flag|Uzbekistan}}||6.096||0.719||1.584||0.605||0.724||0.328||0.259
 * 45||{{flag|Kuwait}}||6.083||1.474||1.301||0.675||0.554||0.167||0.106
 * 46||{{flag|Thailand}}||6.072||1.016||1.417||0.707||0.637||0.364||0.029
 * 47||{{flag|Italy}}||6.000||1.264||1.501||0.946||0.281||0.137||0.028
 * 48||{{flag|Ecuador}}||5.973||0.889||1.330||0.736||0.556||0.114||0.120
 * 49||{{flag|Belize}}||5.956||0.807||1.101||0.474||0.593||0.183||0.089
 * 50||{{flag|Lithuania}}||5.952||1.197||1.527||0.716||0.350||0.026||0.006
 * 51||{{flag|Slovenia}}||5.948||1.219||1.506||0.856||0.633||0.160||0.051
 * 52||{{flag|Romania}}||5.945||1.116||1.219||0.726||0.528||0.088||0.001
 * 53||{{flag|Latvia}}||5.933||1.148||1.454||0.671||0.363||0.092||0.066
 * 54||{{flag|Japan}}||5.915||1.294||1.462||0.988||0.553||0.079||0.150
 * 55||{{flag|Mauritius}}||5.891||1.090||1.387||0.684||0.584||0.245||0.050
 * 56||{{flag|Jamaica}}||5.890||0.819||1.493||0.693||0.575||0.096||0.031
 * 57||{{flag|South Korea}}||5.875||1.266||1.204||0.955||0.244||0.175||0.051
 * 58||{{flag|Northern Cyprus}}||5.835||1.229||1.211||0.909||0.495||0.179||0.154
 * 59||{{flag|Russia}}||5.810||1.151||1.479||0.599||0.399||0.065||0.025
 * 60||{{flag|Kazakhstan}}||5.790||1.143||1.516||0.631||0.454||0.148||0.121
 * 61||{{flag|Cyprus}}||5.762||1.229||1.191||0.909||0.423||0.202	||0.035
 * 62||{{flag|Bolivia}}||5.752||0.751||1.223||0.508||0.606||0.141||0.054
 * 63||{{flag|Estonia}}||5.739||1.200||1.532||0.737||0.553||0.086||0.174
 * 64||{{flag|Paraguay}}||5.681||0.835||1.522||0.615||0.541||0.162||0.074
 * 65||{{flag|Peru}}||5.663||0.934||1.249||0.674||0.530||0.092||0.034
 * 66||{{flag|Kosovo}}||5.662||0.855||1.230||0.578||0.448||0.274||0.023
 * 67||{{flag|Moldova}}||5.640||0.657||1.301||0.620||0.232||0.171||0.000
 * 68||{{flag|Turkmenistan}}||5.636||1.016||1.533||0.517||0.417||0.199||0.037
 * 69||{{flag|Hungary}}||5.620||1.171||1.401||0.732||0.259||0.061||0.022
 * 70||{{flag|Libya}}||5.566||0.985||1.350||0.553||0.496||0.116||0.148
 * 71||{{flag|Philippines}}||5.524||0.775||1.312||0.513||0.643||0.120||0.105
 * 72||{{flag|Honduras}}||5.504||0.620||1.205||0.622||0.459||0.197||0.074
 * 73||{{flag|Belarus}}||5.483||1.039||1.498||0.700||0.307||0.101||0.154
 * 74||{{flag|Turkey}}||5.483||1.148||1.380||0.686||0.324||0.106	||0.109
 * 75||{{flag|Pakistan}}||5.472||0.652||0.810||0.424||0.334||0.216||0.113
 * 76||{{flag|Hong Kong}}||5.430||1.405||1.290||1.030||0.524||0.246||0.291
 * 77||{{flag|Portugal}}||5.410||1.188||1.429||0.884||0.562||0.055||0.017
 * 78||{{flag|Serbia}}||5.398||0.975||1.369||0.685||0.288||0.134||0.043
 * 79||{{flag|Greece}}||5.358||1.154||1.202||0.879||0.131||0.000	||0.044
 * 60||{{flag|Kazakhstan}}||5.790||1.143||1.516||0.631||0.454||0.148||0.121
 * 61||{{flag|Cyprus}}||5.762||1.229||1.191||0.909||0.423||0.202	||0.035
 * 62||{{flag|Bolivia}}||5.752||0.751||1.223||0.508||0.606||0.141||0.054
 * 63||{{flag|Estonia}}||5.739||1.200||1.532||0.737||0.553||0.086||0.174
 * 64||{{flag|Paraguay}}||5.681||0.835||1.522||0.615||0.541||0.162||0.074
 * 65||{{flag|Peru}}||5.663||0.934||1.249||0.674||0.530||0.092||0.034
 * 66||{{flag|Kosovo}}||5.662||0.855||1.230||0.578||0.448||0.274||0.023
 * 67||{{flag|Moldova}}||5.640||0.657||1.301||0.620||0.232||0.171||0.000
 * 68||{{flag|Turkmenistan}}||5.636||1.016||1.533||0.517||0.417||0.199||0.037
 * 69||{{flag|Hungary}}||5.620||1.171||1.401||0.732||0.259||0.061||0.022
 * 70||{{flag|Libya}}||5.566||0.985||1.350||0.553||0.496||0.116||0.148
 * 71||{{flag|Philippines}}||5.524||0.775||1.312||0.513||0.643||0.120||0.105
 * 72||{{flag|Honduras}}||5.504||0.620||1.205||0.622||0.459||0.197||0.074
 * 73||{{flag|Belarus}}||5.483||1.039||1.498||0.700||0.307||0.101||0.154
 * 74||{{flag|Turkey}}||5.483||1.148||1.380||0.686||0.324||0.106	||0.109
 * 75||{{flag|Pakistan}}||5.472||0.652||0.810||0.424||0.334||0.216||0.113
 * 76||{{flag|Hong Kong}}||5.430||1.405||1.290||1.030||0.524||0.246||0.291
 * 77||{{flag|Portugal}}||5.410||1.188||1.429||0.884||0.562||0.055||0.017
 * 78||{{flag|Serbia}}||5.398||0.975||1.369||0.685||0.288||0.134||0.043
 * 79||{{flag|Greece}}||5.358||1.154||1.202||0.879||0.131||0.000	||0.044
 * 70||{{flag|Libya}}||5.566||0.985||1.350||0.553||0.496||0.116||0.148
 * 71||{{flag|Philippines}}||5.524||0.775||1.312||0.513||0.643||0.120||0.105
 * 72||{{flag|Honduras}}||5.504||0.620||1.205||0.622||0.459||0.197||0.074
 * 73||{{flag|Belarus}}||5.483||1.039||1.498||0.700||0.307||0.101||0.154
 * 74||{{flag|Turkey}}||5.483||1.148||1.380||0.686||0.324||0.106	||0.109
 * 75||{{flag|Pakistan}}||5.472||0.652||0.810||0.424||0.334||0.216||0.113
 * 76||{{flag|Hong Kong}}||5.430||1.405||1.290||1.030||0.524||0.246||0.291
 * 77||{{flag|Portugal}}||5.410||1.188||1.429||0.884||0.562||0.055||0.017
 * 78||{{flag|Serbia}}||5.398||0.975||1.369||0.685||0.288||0.134||0.043
 * 79||{{flag|Greece}}||5.358||1.154||1.202||0.879||0.131||0.000	||0.044
 * 75||{{flag|Pakistan}}||5.472||0.652||0.810||0.424||0.334||0.216||0.113
 * 76||{{flag|Hong Kong}}||5.430||1.405||1.290||1.030||0.524||0.246||0.291
 * 77||{{flag|Portugal}}||5.410||1.188||1.429||0.884||0.562||0.055||0.017
 * 78||{{flag|Serbia}}||5.398||0.975||1.369||0.685||0.288||0.134||0.043
 * 79||{{flag|Greece}}||5.358||1.154||1.202||0.879||0.131||0.000	||0.044
 * 77||{{flag|Portugal}}||5.410||1.188||1.429||0.884||0.562||0.055||0.017
 * 78||{{flag|Serbia}}||5.398||0.975||1.369||0.685||0.288||0.134||0.043
 * 79||{{flag|Greece}}||5.358||1.154||1.202||0.879||0.131||0.000	||0.044
 * 79||{{flag|Greece}}||5.358||1.154||1.202||0.879||0.131||0.000	||0.044
 * 79||{{flag|Greece}}||5.358||1.154||1.202||0.879||0.131||0.000	||0.044