Skip to content

Instantly share code, notes, and snippets.

@heathermkrause
Created October 30, 2015 02:11
Show Gist options
  • Select an option

  • Save heathermkrause/6f99e84762dc27917301 to your computer and use it in GitHub Desktop.

Select an option

Save heathermkrause/6f99e84762dc27917301 to your computer and use it in GitHub Desktop.
Water Sustainability and GDP
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script>
<style type="text/css">
body {
margin: 0;
background-color: lightGray;
font-family: Helvetica, Arial, sans-serif;
}
#container {
width: 600px;
margin-left: auto;
margin-right: auto;
margin-top: 20px;
padding: 20px;
background-color: white;
box-shadow: 3px 3px 5px 6px #ccc;
}
h1 {
font-size: 14px;
margin: 0;
}
p {
font-size: 10px;
margin: 0;
}
.axis path,
.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.dot {
stroke: #000;
}
.tooltip {
position: absolute;
width: 200px;
height: 28px;
pointer-events: none;
font-size: 10px;
}
.axis text {
font-family: sans-serif;
font-size: 10px;
}
.legend text {
font-family: sans-serif;
font-size: 10px;
}
</style>
</head>
<body>
<div id="container">
<h1>Current Water Availability and Renewable Water Resouces are related to GDP</h1>
<p>Looking at current and future water resources by country and relating it to GDP. <strong>Enough Water</strong> is measured by the percent of the population who has enough clean water to drink. <strong>Renewable Water Resources </strong>is measured by the water consumption per year as a percentage of total available renewable water resources. <strong>Source:</strong> <a href="http://www.ssfindex.com/">Sustainable Society Index, 2014</a></p>
</div>
<script type="text/javascript">
var marginb = {top: 20, right: 20, bottom: 30, left: 40},
width = 600- marginb.left - marginb.right,
height = 400 - marginb.top - marginb.bottom;
// setup x
var xValue = function(d) { return d.SufficienttoDrink;}, // data -> value
xScale = d3.scale.linear().range([0, width]), // value -> display
xMap = function(d) { return xScale(xValue(d));}, // data -> display
xAxis = d3.svg.axis().scale(xScale).orient("bottom");
// setup y
var yValue = function(d) { return d["RenewableWaterResources"];}, // data -> value
yScale = d3.scale.linear().range([height, 0]), // value -> display
yMap = function(d) { return yScale(yValue(d));}, // data -> display
yAxis = d3.svg.axis().scale(yScale).orient("left");
//setup delay
var dValue = function(d) { return d["RenewableWaterResources"] *3 + 1000;}
// setup fill color
var cValue = function(d) { return d.GDPLevel;},
color = d3.scale.category10();
// add the svg
var svg = d3.select("#container").append("svg")
.attr("width", width + marginb.left + marginb.right)
.attr("height", height + marginb.top + marginb.bottom)
.append("g")
.attr("transform", "translate(" + marginb.left + "," + marginb.top + ")") ;
// tooltip
var tooltip = d3.select("body").append("div")
.attr("class", "tooltip")
.style("opacity", 0);
// load data
d3.csv("Sustainable.csv", function(error, data) {
// change string (from CSV) into number format
data.forEach(function(d) {
d.SufficienttoDrink = +d.SufficienttoDrink;
d["RenewableWaterResources"] = +d["RenewableWaterResources"];
// console.log(d);
});
// buffer the axis
xScale.domain([d3.min(data, xValue)-1, d3.max(data, xValue)+1]);
yScale.domain([d3.min(data, yValue)-1, d3.max(data, yValue)+1]);
// x-axis
svg.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + height + ")")
.call(xAxis)
.append("text")
.attr("class", "label")
.attr("x", width)
.attr("y", +28)
.style("text-anchor", "end")
.text("Enough Water To Drink");
// y-axis
svg.append("g")
.attr("class", "y axis")
.call(yAxis)
.append("text")
.attr("class", "label")
.attr("transform", "rotate(-90)")
.attr("y", 6)
.attr("dy", ".71em")
.style("text-anchor", "end")
.text("Renewable Water Resources");
// draw circles
svg.selectAll(".dot")
.data(data)
.enter().append("circle")
.attr("class", "dot")
.attr("r", 3.5)
.attr("cx", xMap)
.attr("cy", yMap)
.style("fill", function(d) { return color(cValue(d));})
.on("mouseover", function(d) {
tooltip.transition()
.duration(200)
.style("opacity", .9);
tooltip.html(d["Country"] + "<br/> (" + xValue(d)
+ ", " + yValue(d) + ")")
.style("left", (d3.event.pageX + 5) + "px")
.style("top", (d3.event.pageY - 28) + "px");
})
.on("mouseout", function(d) {
tooltip.transition()
.duration(500)
.style("opacity", 0);
})
.style("opacity", 0)
.transition()
.delay(dValue)
.style("opacity", 1);
// draw legend
var legend = svg.selectAll(".legend")
.data(color.domain())
.enter().append("g")
.attr("class", "legend")
.attr("transform", function(d, i) { return "translate(0," + i * 20 + ")"; });
// draw legend colored rectangles
legend.append("rect")
.attr("x", width - 500)
.attr("width", 18)
.attr("height", 18)
.style("fill", color);
// draw legend text
legend.append("text")
.attr("x", width - 480)
.attr("y", 9)
.attr("dy", ".35em")
.style("text-anchor", "start")
.text(function(d) { return d;})
});
</script>
</body>
</html>
Year Country SufficientFood SufficienttoDrink SafeSanitation Education HealthyLife GenderEquality IncomeDistribution PopulationGrowth GoodGovernance Biodiversity forestarea Biodiversity protect.area RenewableWaterResources Consumption EnergyUse EnergySavings GreenhouseGases RenewableEnergy OrganicFarming GenuineSavings GDP Employment PublicDebt GDPLevel
2014 Central African Republic 37.6 68.2 21.5 43.4 45.7 0.6 46 10.19 -8.02 -0.07 17.75 0.1 1.3 0.33 0.01 0.15 84.6 0 -4 542 7.5 30.5 Low GDP
2014 Burundi 67.3 75.3 47.5 64.3 47.5 0.74 7 18.27 -7.46 -0.01 4.85 2.2 0.9 0.33 0.01 0.15 84.6 0.03 -13.7 642 7.7 35.7 Low GDP
2014 Congo. Dem. Rep. 63 46.5 31.4 63.1 40 0.6 17.5 14.89 -9.76 -0.77 9.99 0.1 0.8 0.31 0.01 0.04 95.9 0.23 -2.5 648 7.2 35.4 Low GDP
2014 Liberia 29.6 74.6 16.8 63.2 53.6 0.62 15 18.97 -4.56 -0.07 1.57 0.1 1.1 0.33 0.01 0.15 84.6 0 -6 703 3.7 29.1 Low GDP
2014 Zimbabwe 31.8 79.9 39.9 57.1 49.4 0.66 20 7.72 -8.16 -0.81 28.01 21 1 0.7 -0.02 0.73 70.6 0 -10.5 788 4 59.7 Low GDP
2014 Niger 11.3 52.3 9 37.5 48.3 0.62 7.3 20.85 -4.3 -0.03 13.71 2.9 2.3 0.33 0.01 0.15 84.6 0 15.3 829 5.1 28.8 Low GDP
2014 Malawi 21.8 85 10.3 69.4 47.3 0.71 17.5 15.99 -2.14 -0.08 16.44 7.9 0.7 0.33 0.01 0.15 84.6 0 -2.7 879 7.6 50.4 Low GDP
2014 Madagascar 30.5 49.6 13.9 66 51.1 0.7 17.5 15.09 -4.58 -0.14 2.56 4.9 1.1 0.33 0.01 0.15 84.6 0.07 3.2 970 3.6 38.1 Low GDP
2014 Togo 15.3 60 11.3 72.8 51.5 0.62 14.5 13.85 -5.53 -0.05 11.03 1.2 0.9 0.47 -0.1 0.24 80.1 0.12 -11.5 1084 7.6 42 Low GDP
2014 Mozambique 27.9 49.2 21 60.9 43.1 0.73 18.5 13.68 -2.12 -0.53 16.12 0.4 0.7 0.41 -0.02 0.1 92.9 0.01 0.4 1090 7.5 42.2 Low GDP
2014 Mali 5 67.2 21.9 56.8 46.1 0.59 8.7 16.72 -5.39 -0.2 2.43 5.2 1.9 0.33 0.01 0.15 84.6 0.04 7.4 1103 8.1 29.7 Low GDP
2014 Guinea 18.1 74.8 18.9 52.4 50.3 0.62 10 13.98 -7.2 -0.09 6.42 0.2 1.6 0.33 0.01 0.15 84.6 0 -42.8 1125 3.1 35.4 Low GDP
2014 Guinea-Bissau 17.7 73.6 19.7 65.4 48.7 0.62 9.3 12.07 -7.56 -0.02 26.93 0.6 0.8 0.33 0.01 0.15 84.6 0 12.9 1206 7.5 52.8 Low GDP
2014 Haiti 51.8 62.4 24.4 58.4 55.8 0.71 48 6.94 -6.76 0 0.11 8.6 0.5 0.4 -0.04 0.2 81.8 0.04 12.7 1315 7 15.4 Low GDP
2014 Ethiopia 35 51.5 23.6 55.1 55.5 0.62 9.3 14.03 -5.57 -0.35 19.16 4.6 1.2 0.5 -0.09 0.09 94.6 0.46 6.1 1366 5.4 21.2 Low GDP
2014 Uganda 25.7 74.8 33.9 68.5 47.6 0.71 18 18.28 -3.51 -0.22 10.26 0.5 1.4 0.33 0.01 0.15 84.6 1.66 -11.2 1484 4.2 29.7 Low GDP
2014 Nepal 13 88.1 36.7 76.8 55.8 0.61 6.8 5.87 -5.5 -0.05 17 4.5 0.7 0.37 0 0.18 84.2 0.12 30 1508 2.7 33.6 Low GDP
2014 Rwanda 33.8 70.7 63.8 66.7 50.8 0.68 21.5 15.41 -1.22 0.02 9.99 1.6 0.8 0.33 0.01 0.15 84.6 0.19 -3.7 1538 0.6 24.1 Low GDP
2014 Sierra Leone 25.5 60.1 13 46.7 34.6 0.62 9.7 10.39 -4.35 -0.05 4.65 0.1 1 0.33 0.01 0.15 84.6 0 5.4 1542 3.4 36.7 Low GDP
2014 Burkina Faso 20.7 81.7 18.6 45.1 44.9 0.65 10.7 15.63 -2.67 -0.15 14.24 6.5 1.3 0.33 0.01 0.15 84.6 0.13 3.7 1585 3.3 27.3 Low GDP
2014 Benin 9.7 76.1 14.3 67.8 54.3 0.59 10.3 15.43 -2.1 -0.12 23.27 0.5 1 0.39 -0.07 0.49 55.5 0.08 -5.2 1623 1 29.1 Low GDP
2014 Tanzania 34.6 53.2 12.2 56.4 49.9 0.69 10 16.2 -2.71 -1 26.88 5.4 1.1 0.46 -0.04 0.19 86.1 0.53 8.7 1715 3.5 40.8 Low GDP
2014 Myanmar 16.7 85.7 77.4 57.4 51.2 0.68 22.1 3.87 -8.48 -0.77 5.22 2.8 1.8 0.29 0.02 0.22 74.6 0.01 0 1740 4.1 48 Low GDP
2014 Zambia 48.3 63.3 42.8 84.9 49.4 0.63 47 16.23 -1.24 -0.41 36.04 1.5 0.8 0.65 -0.04 0.2 90.2 0.03 1.8 1754 13.1 32.4 Low GDP
2014 Korea, North 37.5 98.1 81.8 59.5 60 0.67 8.9 2.7 -9.35 -0.31 1.73 11.2 0.5 0.57 0.32 1.83 15.9 0 0 1800 4.6 30 Low GDP
2014 Kenya 24.3 61.7 29.6 67 53.9 0.68 19 14.37 -4.41 -0.03 11.74 8.9 0.9 0.48 -0.03 0.25 82.3 0.02 4.7 1812 9.2 48.7 Low GDP
2014 Cote d'Ivoire 14.7 80.2 21.9 39.2 45 0.58 16 10.53 -5.95 0.01 21.82 1.9 0.9 0.64 -0.13 0.39 75.9 0.1 5.3 1818 4 45.8 Low GDP
2014 Senegal 16.7 74.1 51.9 49.7 55.6 0.69 15.5 15.3 -1.35 -0.1 23.46 5.7 1.4 0.3 -0.17 0.41 54.6 0.07 15.9 1958 9.9 41.7 Low GDP
2014 Gambia 6 90.1 60.2 54.5 52.3 0.68 18.5 17.12 -3.17 0 1.27 1.1 1.4 0.33 0.01 0.15 84.6 0 0.9 1962 7.7 79.2 Low GDP
2014 Bangladesh 16.7 84.8 57 59.4 58.1 0.68 6.8 5.63 -5.33 -0.01 1.59 2.9 0.5 0.21 -0.19 0.39 27 0.07 21.3 2080 4.5 38.7 Low GDP
2014 Mauritania 6.5 49.6 26.7 48.8 54.4 0.58 16 14 -5.1 -0.02 1.13 11.8 2.2 0.33 0.01 0.15 84.6 0 1.2 2218 31 98.5 Low GDP
2014 Yemen 25.7 54.9 53.3 56 53.3 0.51 10.3 12.61 -8.29 0 0.69 168.6 0.6 0.29 0.12 0.84 1.5 0 -11.5 2316 17.6 47.8 Medium GDP
2014 Tajikistan 32.3 71.7 94.4 69.1 57.8 0.67 6 12.63 -6.83 0 4.14 51.1 0.7 0.28 0.16 0.34 64.1 0.27 9 2354 11.5 32.3 Medium GDP
2014 Cameroon 10.5 74.1 45.2 61.6 49.3 0.66 10 13.62 -5.7 -0.55 9 0.3 1.1 0.32 0.01 0.25 72.1 0.01 -1.6 2423 3.8 16.2 Medium GDP
2014 Chad 34.8 50.7 11.9 46.8 41.9 0.56 10.3 16.4 -7.67 -0.2 9.41 2 1.9 0.33 0.01 0.15 84.6 0 -36.2 2539 7.8 27.8 Medium GDP
2014 Cambodia 16.1 71.3 36.8 61.7 61.9 0.65 7.5 8.13 -4.3 -0.35 23.35 0.5 0.9 0.37 -0.46 0.28 71.8 0.16 -7.5 2576 1.5 28.8 Medium GDP
2014 Kyrgyz Republic 6 87.6 91.8 75 58.8 0.69 8.7 6.43 -4.77 0.03 7 32.6 1.1 0.74 -0.24 1.7 29.6 0.03 12.1 2611 8.4 48.9 Medium GDP
2014 Sudan 38.9 55.5 23.6 38.6 51.4 0.6 9 11.97 -9.74 -3.81 3.22 71.2 1.5 0.35 0.05 0.3 71.8 0.04 -6.7 2631 14.8 95.7 Medium GDP
2014 Nigeria 6.4 64 27.8 55.8 43.8 0.65 19 14.71 -6.81 -1.02 12.59 4.6 1.1 0.79 -0.06 0.38 81.2 0.01 8.2 2831 7.5 18.3 Medium GDP
2014 Papua New Guinea 30 39.7 18.7 37 56.9 0.71 20.5 12.03 -3.88 -0.35 1.37 0 1.8 0.29 -0.23 0.53 42.3 1.03 0 2834 2.3 26.7 Medium GDP
2014 Laos 21.8 71.5 64.6 59.5 55.7 0.7 10 10.52 -5.13 -0.19 16.62 1 1.3 0.33 0.01 0.53 42.3 0.26 -11.6 3068 1.3 51.4 Medium GDP
2014 Pakistan 21.7 91.4 47.6 45.3 56.7 0.55 6.5 9.29 -7.04 -0.11 11.9 74.4 0.6 0.48 0.03 0.77 37.9 0.09 3.7 3149 5.1 63.8 Medium GDP
2014 Ghana 5 87.2 14.4 66.2 48.9 0.68 16.5 12.61 0.44 -0.29 13.96 1.8 1.5 0.4 -0.11 0.5 56.8 0.18 2.7 3461 3.6 50.2 Medium GDP
2014 Moldova 5 96.5 86.7 64 61.5 0.7 8.7 -0.49 -1.69 0.01 1.38 9.1 0.8 0.92 0.02 2.14 3.3 0.89 6.2 3736 5.6 23.9 Medium GDP
2014 Uzbekistan 5.8 87.3 100 70.4 59.6 0.69 9.7 10.82 -7.55 0.01 2.26 100.6 0.9 1.62 0.11 3.73 2 0 -17 3762 11.3 8.6 Medium GDP
2014 Vietnam 12.9 95 75 65.8 65.2 0.69 9.3 5.4 -3.16 0.48 4.59 9.3 1 0.73 -0.27 1.61 30.2 0.35 12.7 4012 2 51.3 Medium GDP
2014 India 15.2 92.6 36 69.8 57.8 0.66 7.3 6.69 -2.22 0.68 5.05 33.9 0.6 0.64 -0.18 1.58 25.2 0.28 14.8 4077 3.4 66.7 Medium GDP
2014 Nicaragua 16.8 85 52.1 70.1 65.5 0.77 10.7 7.08 -3.6 -0.17 36.85 0.9 1.2 0.55 -0.07 0.72 56.3 0.65 3.7 4554 7.7 42.7 Medium GDP
2014 Philippines 11.5 91.8 74.3 78.8 62.7 0.78 11.3 8.81 -2.31 0.14 5.03 17 0.9 0.44 0.01 0.82 39.3 0.68 9.4 4682 7 41.9 Medium GDP
2014 Congo 31.5 75.3 14.6 66.1 59.2 0.6 18.5 15.38 -6.52 -0.03 9.68 0 0.7 0.4 -0.21 0.5 51.8 0 -49.8 4791 7.1 26.2 Medium GDP
2014 Syria 6 90.1 95.7 73.2 62.5 0.57 9.7 14.51 -9.53 0.01 0.64 84.2 1 0.67 0.41 1.79 1.9 0.14 -4.8 4800 8.3 58.9 Medium GDP
2014 Honduras 12.1 89.6 80 71.4 63.3 0.68 82.8 10.55 -3.93 -0.3 13.86 1.7 1.3 0.64 -0.01 1.03 48.3 0.78 11.4 4839 4.8 34.4 Medium GDP
2014 Indonesia 8.7 84.9 58.8 77.4 62.6 0.66 10.3 6.88 -2.36 -1.33 6.44 5.6 0.9 0.87 -0.08 1.76 33.4 0.16 24.1 5214 6.6 24.5 Medium GDP
2014 Guatemala 14.3 93.8 80.3 70.7 61.3 0.63 45 13.25 -3.69 -0.14 29.51 2.6 1.3 0.73 -0.23 0.7 69.1 0.3 -2.3 5282 4.2 24.4 Medium GDP
2014 Bolivia 19.5 88.1 46.4 81.2 59.4 0.73 43 8.47 -3.59 -0.73 18.51 0.4 2.3 0.81 -0.13 1.55 23 0.09 5.5 5364 3.2 33.4 Medium GDP
2014 Morocco 5 83.6 75.4 67.1 61.7 0.58 11 6.05 -1.81 0.03 7.52 43.5 1.1 0.58 -0.13 1.59 8.5 0.06 14.7 5456 9 60.5 Medium GDP
2014 Mongolia 22.4 84.6 56.2 92.7 58.2 0.72 9.3 7.76 -1.23 -0.2 13.39 1.6 4.4 1.41 -0.19 5.08 3.7 0 13.8 5885 5.2 56.3 Medium GDP
2014 Jordan 5 96.1 98.1 79.1 63.7 0.61 9.7 11.61 -0.66 0 1.94 99.4 1.3 1.21 0.01 3.43 2 0.28 -0.7 6115 12.2 79.6 Medium GDP
2014 Georgia 9.8 98.7 93.3 71.9 65 0.68 15.5 2.33 0.78 -0.01 3.39 2.9 0.95 0.83 -0.2 1.52 25.3 0.08 7 6145 15 32.3 Medium GDP
2014 Armenia 5.7 99.8 90.5 76.8 61.9 0.66 6.5 -0.7 -1.1 -0.01 7.99 37.9 1 1 0.01 1.83 7 0.05 -3.7 6191 18.5 38.9 Medium GDP
2014 Angola 18 54.3 60.1 73 46.9 0.67 16 17.54 -6.03 -0.31 12.06 0.5 0.9 0.69 -0.07 0.79 61.1 0 -25.2 6247 7.5 30.2 Medium GDP
2014 Bhutan 33 98.1 46.9 69.5 56.7 0.67 10.3 9.19 0.86 0.03 28.35 0.4 4.06 0.29 -0.23 0.53 42.3 1.21 23.7 6370 2.1 56.9 Medium GDP
2014 Sri Lanka 24.6 93.8 92.3 77.1 62.8 0.7 10 1.44 -2.01 -0.05 14.95 24.5 0.9 0.55 -0.23 0.78 52.6 0.75 19.7 6531 4.8 79.1 Medium GDP
2014 Egypt 5 99.3 95.9 77.3 58.9 0.59 6.8 8.75 -4.5 0 6.84 98.2 1 0.97 -0.01 2.44 3.7 2.23 0 6579 11.9 80.6 Medium GDP
2014 Paraguay 11 93.8 79.7 73.7 64.4 0.67 41 9.18 -3.93 -0.44 5.44 0.1 2.7 0.75 -0.07 0.76 148.2 0.24 6.1 6823 6.3 11.6 Medium GDP
2014 Iraq 23.5 85.4 84.7 62.7 55.1 0.62 6.3 13.35 -8.18 0 0.05 73.4 0.5 1.38 -0.43 3.65 1.1 0 0 7391 15.1 39.1 Medium GDP
2014 Ukraine 0 98 94.3 94.2 62.4 0.69 5.5 -1.97 -3.4 0.05 3.6 13.8 1.1 2.69 0.08 6.16 2.2 0.66 -3.7 7423 7.7 37.4 Medium GDP
2014 El Salvador 13.5 90.1 70.5 70.9 61.9 0.66 37 2.85 -0.82 -0.01 1.62 8.1 1.4 0.69 0.05 0.98 52.5 0.44 6.6 7515 6.9 55.4 Medium GDP
2014 Algeria 4 83.9 95.2 79.2 60.9 0.6 9 9.64 -5.43 -0.02 6.24 49 1.2 1.2 -0.15 2.97 0.1 0 28.3 7534 9.8 10.5 Medium GDP
2014 Namibia 37.2 91.7 32.2 69.4 55.2 0.71 55 8.59 2.07 -0.18 15.98 1.6 1 0.72 -0.07 1.41 21.4 0.04 12 8191 16.7 27.7 Medium GDP
2014 Guyana 10 97.6 83.6 68.1 51.3 0.71 34 3.24 -2.53 0 4.76 0.6 1.83 1.83 -0.07 4.93 8.7 0.25 -11.8 8250 21.7 65.3 Medium GDP
2014 Bosnia-Herzegovina 0 99.6 95.4 76 68 0.7 9 -0.9 -1.73 0 0.58 0.9 1.5 1.74 -0.13 5.54 8.1 0.02 0 8280 28.2 44.3 Medium GDP
2014 Jamaica 7.9 93.1 80.2 82.7 65.1 0.71 18 1.7 -0.03 0 7.34 9.9 1 1.04 0.22 2.62 17.8 0.12 3.5 9048 13.7 148.7 Medium GDP
2014 Albania 5 95.7 91.2 67.9 64.7 0.64 7.3 -4.73 -1.55 0 8.42 3.1 1.1 0.66 -0.01 1.21 30.1 0.04 -1.3 9506 14.7 61.4 Medium GDP
2014 Turkmenistan 0 71.1 99.1 67.6 55.6 0.69 10.7 6.48 -7.97 0 2.99 112.5 1.5 4.94 -0.07 12.34 0 0 25.4 9510 11.3 18.1 Medium GDP
2014 China 10.6 91.9 65.3 74.1 68.4 0.69 15 2.49 -3.34 7.3 16.05 19.5 1 2.14 -0.34 6.08 10.8 0.36 35 9844 4.5 26.1 Medium GDP
2014 Thailand 6.8 95.8 93.4 71.9 62.6 0.69 10.3 1.07 -1.63 0 17.34 13.1 1.3 1.89 -0.17 3.84 19.1 0.16 16.7 9875 0.7 43.4 Medium GDP
2014 Cuba 0 94 92.6 84.6 69.7 0.75 17.1 -0.27 -3.47 0.1 5.35 11.6 1.1 1.01 -0.07 2.56 13.5 0.08 0 9900 2.4 35.9 Medium GDP
2014 Dominican Republic 14.7 80.9 82 73.2 63.6 0.69 18 6.88 -1.94 0 24.07 26.1 0.7 0.73 -0.03 1.93 10.6 8.68 -3.2 9911 13 33.5 Medium GDP
2014 Tunisia 0 96.8 90.4 78.4 66.8 0.63 9.3 5.4 -1.46 0.04 1.34 61.1 1.1 0.92 -0.01 2.14 11.4 1.36 -3.1 9932 12.8 44 Medium GDP
2014 Ecuador 11.2 86.4 83.1 80 64.9 0.74 38 8.58 -4.3 -0.49 37.99 2.2 1.2 0.93 -0.12 2.14 11.6 0.75 6.1 10080 4.5 22.2 Medium GDP
2014 Macedonia 0 99.4 91.4 71.3 66.8 0.7 16 0.43 -0.39 0.01 4.87 16.1 1.5 1.41 0.02 4.13 9.8 1.19 6 10904 31 34 Medium GDP
2014 Azerbaijan 0 80.2 82 71.1 59.8 0.66 9 8.33 -5.08 0 7.15 34.5 1 1.47 0.03 3.15 1.9 0.5 15.9 11044 5.4 11.6 Medium GDP
2014 Peru 8.7 86.8 73.1 82.9 68.3 0.68 36 5.86 -1.47 -0.32 13.51 1 1.3 0.72 -0.38 1.53 22.3 0.92 7.7 11124 4 20.5 Medium GDP
2014 Colombia 11.4 91.2 80.2 82.5 66.9 0.72 44 7.2 -1.94 -0.25 20.53 0.5 1.5 0.66 -0.01 1.41 24.6 0.08 -3.2 11189 10.4 32.6 Medium GDP
2014 South Africa 0 95.1 74.4 79.9 52.8 0.75 52 6.88 1.19 0 6.88 25 1 2.68 0.1 7.2 10.9 0.04 0.4 11259 25 42.3 Medium GDP
2014 Serbia 3 99.2 97.3 79.4 66.6 0.71 7.7 -2.47 -0.94 0.68 6.12 2.5 1.2 2 0.12 6.1 12.6 0.13 -1.5 11269 19.6 61.8 Medium GDP
2014 Libya 5 91 96.6 92.7 64.9 0.6 8.9 6.44 -8.2 0 0.11 200 1.5 2.79 0.07 7.18 1 0 0 11498 8.9 4.8 Medium GDP
2014 Montenegro 3 98 90 85.8 65.6 0.7 5.8 0.53 0.82 0.13 11.48 2.5 1.22 1.71 0.17 3.7 29 0.6 -1.5 11913 19.6 51.9 Medium GDP
2014 Brazil 5 97.5 81.3 87.5 65.3 0.69 43 4.56 0.28 -6.33 26 0.9 2.4 1.42 -0.09 2.22 40.7 0.27 4.3 12221 6.9 68 Medium GDP
2014 Iran 4.3 95.9 89.4 87 62.6 0.58 10 6.43 -6.58 0 6.87 67.9 1 2.87 -0.02 6.96 0.7 0.09 5.1 12264 13.1 9.5 Medium GDP
2014 Costa Rica 5.9 96.6 93.9 85.5 69.8 0.72 40 7.66 3.8 0.06 17.64 2.4 1.6 0.98 0.03 1.41 52.1 0.52 15.1 12942 7.6 35.3 Medium GDP
2014 Romania 0 87.7 72.1 80.6 66.8 0.69 5.3 -3.86 0.34 0.06 7.79 3.2 1.4 1.74 0.1 3.93 14.9 2.1 7 13396 7 38.2 Medium GDP
2014 Venezuela 3.2 91 90.8 89.2 66.8 0.71 33 8.31 -7.51 -0.71 50.19 1.7 1.5 2.55 -0.03 5.95 10.2 0 6.8 13605 7.8 46 Medium GDP
2014 Kazakhstan 5 93.1 97.5 92.4 58.6 0.72 6 8.44 -3.9 -0.01 2.57 18.6 1.6 4.46 0 13.45 1 0.14 -8 14391 5.3 12.4 Medium GDP
2014 Bulgaria 9 99.5 100 82.3 67.5 0.71 7.3 -3.17 1.04 0.14 8.86 28.7 1.4 2.51 0.05 6.06 8.9 1.28 10.9 14499 12.3 17.6 Medium GDP
2014 Lebanon 4 100 98.2 74.9 68.9 0.6 9.7 6.89 -4.15 0 0.38 18.6 1.9 1.62 -0.25 4.75 3.2 0.48 -2.2 14845 8.9 139.5 Medium GDP
2014 Turkey 4.2 99.7 91.2 84.6 67.9 0.61 15 6.48 -0.41 0.29 1.94 18.9 1.4 1.56 -0.12 4.04 10.4 2.16 3.4 15353 9.2 36.2 Medium GDP
2014 Mexico 0 94.9 85.3 75.9 68 0.69 19 6.45 -0.75 -0.46 11.88 17.2 1.5 1.61 0.01 3.72 8.8 2.27 5.8 15563 4.9 43.5 Medium GDP
2014 Belarus 0 99.6 94.3 100.4 63.6 0.71 5.3 -1 -5 0.09 7.22 7.5 2.4 3.22 -0.1 7.51 5.2 0 19.7 15753 9.7 41.9 Medium GDP
2014 Botswana 26.6 96.8 64.3 69.8 44.2 0.68 51 4.63 4.34 -0.29 30.94 1.6 1.8 1.08 0 2.23 22.5 0 33.2 16377 17.7 18.8 Medium GDP
2014 Panama 10.6 94.3 73.2 73.9 68.7 0.72 40 8.92 0.39 -0.03 11.49 0.7 1.2 1.09 -0.27 2.6 21.8 0.21 23.3 16658 4.5 42.2 Medium GDP
2014 Uruguay 6.2 99.5 96.4 90.5 67.9 0.68 17 1.7 4.44 0.09 0.27 2.1 3.2 1.36 -0.1 2.47 40.1 6.29 1.6 16723 6 59.6 Medium GDP
2014 Malaysia 4 99.6 95.7 71.3 65.3 0.65 17.5 9.05 2.02 -0.27 13.67 1.9 1.9 2.78 0.01 6.7 5.2 0.01 16.1 17748 3.1 55.5 Medium GDP
2014 Russia 0 97 70.5 85.3 62.6 0.7 10.7 0.75 -4.4 -0.01 9.23 1.5 1.6 5.27 -0.09 11.56 2.4 0.07 15.3 17884 5.5 12.5 Medium GDP
2014 Croatia 4 98.6 98.2 84.8 69.1 0.71 9 -3.8 2.36 0.01 9.55 0.6 2.1 1.85 0.09 4.03 12.4 2.41 9.3 18191 15.8 53.7 Medium GDP
2014 Argentina 0 98.7 97.2 96.9 67.8 0.72 32 4.46 -2.1 -0.61 5.26 4.3 1.4 1.95 0 4.59 7.3 2.59 10.1 18749 7.2 47.7 Medium GDP
2014 Chile 3 98.8 98.9 88.2 71 0.67 21.5 4.77 7.11 0.1 13.27 3.8 1.8 2.14 -0.18 4.47 30 0.14 -0.2 19067 6.4 11.9 Medium GDP
2014 Latvia 1 98.4 78.6 88.7 66.5 0.76 9 -7.54 3.92 0.03 16.43 1.2 2.7 2.17 -0.03 3.45 37.4 10.77 11 19120 14.9 36.4 Medium GDP
2014 Gabon 5.6 92.2 41.4 75.8 53.9 0.6 11 12.79 -2.83 0 14.58 0.1 1.81 1.35 -0.06 1.51 59.3 0 1.6 19478 20.3 21.3 Medium GDP
2014 Hungary 0 100 100 89.6 67.7 0.67 6.3 -1.35 3.85 0.03 5.15 5.4 1.6 2.37 0.1 4.39 7.6 3.09 12.4 20065 10.9 79.2 Medium GDP
2014 Trinidad and Tobago 9 93.6 92.1 64.1 62.6 0.72 14.2 2.09 0.7 0 9.7 6 1.4 14.38 -0.02 27.74 0.1 0 -26 20438 5.8 37.9 Medium GDP
2014 Poland 0 100 89.5 90.3 68.4 0.7 8.7 1.09 5.04 0.07 21.81 19.4 2.2 2.54 0.01 7.62 8.8 4.28 7.9 21214 10.1 55.6 Medium GDP
2014 Lithuania 0 95.9 94.3 96.5 65.6 0.73 9.7 -7.54 4.7 0.03 14.4 9.6 2.8 2.47 0.17 4.46 15.7 5.4 9.1 22747 13.2 41.1 Medium GDP
2014 Portugal 0 99.8 100 95.6 72.9 0.71 15 -0.27 5.55 0.01 6.12 12.3 2.5 2.02 0.13 4.34 20.5 5.97 8.7 23068 15.6 123.8 Medium GDP
2014 Estonia 0 99.1 95.2 89.5 69.3 0.7 9.3 -1.17 6.16 -0.01 22.75 14 3.3 4.12 -0.01 12.2 15.6 15.25 12.5 23144 10.1 9.7 Medium GDP
2014 Greece 5 99.8 98.6 98.6 73.1 0.68 8.7 -0.63 1.37 0.07 9.9 12.7 2.5 2.39 0.12 6.99 9.3 5.59 -4.3 24012 24.2 156.9 Medium GDP
2014 Slovak Republic 4 100 99.7 81.8 68.7 0.69 5.5 0.61 4.41 0 23.18 1.4 1.7 3.08 0.09 5.9 8.2 8.79 6.1 24605 13.9 52.1 Medium GDP
2014 Cyprus 1 100 100 78.4 70.7 0.68 6.6 6.2 6.44 0 4.54 17.6 2.1 2.58 0.22 7.5 5.8 2.69 2.5 25265 11.8 85.8 Medium GDP
2014 Czech Republic 0 99.8 100 87.5 71.3 0.68 5.8 2.06 5.18 0 15.05 12.9 2.1 4.06 0.06 10.25 7.5 11.03 5.1 27200 7 45.9 Medium GDP
2014 Malta 0 100 100 80.6 73.2 0.68 6.5 3.13 7.04 0 1.67 71.9 1.83 1.6 0.22 6.02 1.4 0.25 5.2 27840 6.4 71.6 Medium GDP
2014 Slovenia 0 99.6 100 94.4 72.4 0.72 8.3 1.93 5.31 0 13.07 24.2 1.5 3.4 0.11 7.11 14.9 7.6 9.5 27900 8.8 52.8 High GDP
2014 Oman 9 93 96.6 76.5 68.1 0.61 8.9 28.96 0.91 0 9.31 86.6 2.42 7.94 -0.2 20.41 0 0 -8.5 29813 8.1 6 High GDP
2014 Spain 0 100 100 105.6 75.4 0.73 9 3.39 5.17 0.32 7.63 29 2.4 2.71 0.11 5.77 12.8 6.4 5.9 29851 25.2 85.9 High GDP
2014 United Arab Emirates 0 99.6 97.5 67.2 68.9 0.64 8.9 58.79 3.43 0 4.71 200 2.5 7.33 0.14 18.57 0.1 0.69 30.9 30122 3.8 16.5 High GDP
2014 Italy 0 100 100 89.9 75.5 0.69 13.5 1.88 2.87 0.19 15.86 23.6 2.3 2.61 0.11 6.15 13.1 9.12 3.3 30289 10.7 127 High GDP
2014 New Zealand 0 100 100 106.6 73.9 0.78 14 4.84 10.83 0 20.02 1.5 1.5 4.27 -0.05 7.23 38.1 0.93 8 30493 6.9 37.8 High GDP
2014 Saudi Arabia 2 97 100 92.1 63.9 0.59 8.9 9.15 -1.95 0 29.95 200 1.5 7.08 -0.19 16.22 0 0.01 10 31245 5.6 3.7 High GDP
2014 Korea, South 0 97.8 100 100.1 72.9 0.64 7.3 2.89 4.38 -0.02 5.02 36.5 1.6 5.27 -0.14 11.86 0.9 1.37 18.1 33189 3.2 35 High GDP
2014 Israel 0 100 100 92.1 74 0.7 14.5 10.17 3.71 0 15.08 79.7 1.8 3.07 0.01 9.27 4.8 1.18 12.4 34770 6.9 68.2 High GDP
2014 Finland 0 100 100 101.2 73.2 0.84 5.8 2.37 11.2 -0.06 8.49 1.5 2 6.15 0.07 9.13 29.8 8.65 7.6 35617 7.6 53.6 High GDP
2014 France 0 100 100 93.8 74.6 0.71 8.3 2.6 7.07 0.14 17.1 14.8 2.9 3.86 0.07 5.1 8.4 3.76 9.9 35784 9.9 90.2 High GDP
2014 Japan 0 100 100 88.9 76.5 0.65 4.4 -0.16 7.48 0.02 10.92 20.9 1.4 3.55 0.08 9.59 4.1 0.27 1.5 36899 4.3 238 High GDP
2014 United Kingdom 0 100 100 89.3 73.9 0.74 14 3.87 8.23 0.02 18.06 8.8 2.1 3.02 0.11 7.18 4.4 3.43 3 37307 7.9 88.8 High GDP
2014 Belgium 0 100 100 95.3 72.8 0.77 9.3 4.73 8.01 0 13.16 34 4.4 5.06 0.08 9.46 6 4.36 7.9 37881 7.5 99.8 High GDP
2014 Denmark 0 100 100 99.1 73.7 0.78 7 2.38 10.6 0.01 4.08 10.8 5.6 3.1 0.11 6.64 24.4 7.36 15.7 37900 7.5 45.6 High GDP
2014 Ireland 0 99.9 99 106 74.8 0.78 9 4.27 8.51 0.03 1.21 2.4 2.5 2.89 0.12 7.74 6.2 1.31 10.9 39547 14.7 117.4 High GDP
2014 Kuwait 4 99 100 83.1 69.1 0.63 6 27.22 -0.35 0 4.41 200 1.9 10.65 0 28.08 0 0 16.4 39706 1.5 6.4 High GDP
2014 Taiwan 6.3 100 100 95.1 71.2 0.67 9.3 0 5.79 0 4.9 25.8 2.29 4.47 0.03 10.95 1.7 0.59 9.6 39767 4.2 41 High GDP
2014 Germany 0 100 100 90.5 74.3 0.76 7.3 -2.24 8.68 0 42.29 21 2.2 3.82 0.05 9.22 10.6 6.19 15.8 40007 5.4 81.9 High GDP
2014 Iceland 0 100 100 97.9 75.7 0.87 5.6 2.94 8.76 0 13.18 0.1 26.19 17.74 -0.06 5.73 89.8 0.36 2.3 41000 6 99.1 High GDP
2014 Sweden 0 100 100 91.7 74.7 0.81 5.5 4.06 10.95 0.16 10.02 1.5 2.7 5.27 0.02 4.25 36.9 15.58 17.8 41188 8 38.3 High GDP
2014 Netherlands 0 100 100 105.7 73.9 0.76 11.5 2.28 10.32 0 15.16 11.7 3.6 4.69 0.03 10.37 4.4 2.49 16.9 41711 5.3 71.3 High GDP
2014 Austria 0 100 100 93.7 72.8 0.74 7.7 1.56 9.05 0.01 22.93 4.7 2.4 3.93 0.03 7.68 30.5 19.7 13.1 42597 4.3 74.1 High GDP
2014 Australia 0 100 100 112.3 74.7 0.74 12.5 9.1 9.62 -1.57 12.48 4.5 3 5.55 0.02 16.7 5.5 2.93 12 43073 5.2 27.9 High GDP
2014 Canada 0 99.8 99.8 89.5 73.4 0.74 8.3 5.67 9.66 0 6.29 1.6 2.6 7.2 0.09 15.3 18.3 1.23 13 43472 7.2 85.3 High GDP
2014 Switzerland 0 100 100 86.7 75.9 0.77 8.7 5.9 10.57 0.01 24.85 4.9 1.7 3.23 0.07 5.2 20.7 11.98 18.9 46430 4.2 49.2 High GDP
2014 United States 0 99.2 100 96.7 70.8 0.74 15 4.2 7.53 0.95 13.66 15.6 2.6 6.81 0.09 16.15 6 0.64 7.3 53101 8.1 102.7 High GDP
2014 Norway 0 100 100 98.1 74 0.84 5.8 6.57 10.68 0.19 11.05 0.8 1.9 5.82 0.07 7.21 47.4 5.1 21.7 54947 3.2 34.1 High GDP
2014 Luxembourg 0 100 100 75.5 74.2 0.74 6.2 10.62 10.28 0 20.64 1.9 4.62 7.69 0.11 19.21 3.4 3 8.3 78670 5.1 20.8 High GDP
2014 Qatar 0 100 100 57.4 67.7 0.63 36 77.93 4.38 0 1.39 200 2.2 18.49 -0.1 36.95 0 0 46.1 98814 0.6 36.2 High GDP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment