Skip to content

Instantly share code, notes, and snippets.

@JulienAssouline
Last active February 9, 2018 16:17
Show Gist options
  • Save JulienAssouline/04d96969efe0c9fb80a9fcd8a2b53d2c to your computer and use it in GitHub Desktop.
Save JulienAssouline/04d96969efe0c9fb80a9fcd8a2b53d2c to your computer and use it in GitHub Desktop.
Pause and play problem on chained transition
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
year country_origin_id country_destination_id hs92_product_id export_val export_val_pct name Country Latitude Longitude Name
18 2015 PRK BFA ALL 32791483.14 0.09% Burkina Faso BF 12.238333 -1.561593 Burkina Faso
38 2015 PRK CAF ALL 71735.0 0.00% Central African Republic CF 6.611111 20.939444 Central African Republic
56 2015 PRK CMR ALL 206795.91 0.00% Cameroon CM 7.369722 12.354722 Cameroon
77 2015 PRK DZA ALL 2204895.0 0.01% Algeria DZ 28.033886 1.6596259999999998 Algeria
98 2015 PRK EGY ALL 5756855.84 0.02% Egypt EG 26.820553000000004 30.802497999999996 Egypt
118 2015 PRK ETH ALL 5647398.31 0.02% Ethiopia ET 9.145 40.489672999999996 Ethiopia
131 2015 PRK GIN ALL 218701.5 0.00% Guinea GN 9.945587 -9.696645 Guinea
152 2015 PRK MDG ALL 16113.96 0.00% Madagascar MG -18.766947000000002 46.869107 Madagascar
173 2015 PRK MUS ALL 16833.81 0.00% Mauritius MU -20.348404000000002 57.552152 Mauritius
194 2015 PRK NER ALL 379442.87 0.00% Niger NE 17.607789 8.081666 Niger
211 2015 PRK SDN ALL 61270.4 0.00% Sudan SD 12.862807 30.217636 Sudan
221 2015 PRK SYC ALL 2138589.86 0.01% Seychelles SC -4.679574 55.491977 Seychelles
241 2015 PRK TGO ALL 1117365.86 0.00% Togo TG 8.619543 0.824782 Togo
261 2015 PRK TUN ALL 911692.06 0.00% Tunisia TN 33.886917 9.537499 Tunisia
282 2015 PRK TZA ALL 2185818.03 0.01% Tanzania TZ -6.369028 34.888822 Tanzania
303 2015 PRK UGA ALL 1066290.98 0.00% Uganda UG 1.373333 32.290275 Uganda
324 2015 PRK ZAF ALL 997085.56 0.00% South Africa ZA -30.559482 22.937506 South Africa
341 2015 PRK ZMB ALL 13772943.75 0.04% Zambia ZM -13.133897 27.849332 Zambia
354 2015 PRK ZWE ALL 490451.17 0.00% Zimbabwe ZW -19.015438 29.154857 Zimbabwe
387 2015 PRK CHN ALL 2338271127.0 6.70% China CN 35.86166 104.195397 China
408 2015 PRK HKG ALL 13088745.56 0.04% Hong Kong HK 22.396428 114.10949699999999 Hong Kong
449 2015 PRK IND ALL 97796047.12 0.28% India IN 20.593684 78.96288 India
483 2015 PRK KGZ ALL 3773.0 0.00% Kyrgyzstan KG 41.20438 74.766098 Kyrgyzstan
525 2015 PRK MYS ALL 979241.04 0.00% Malaysia MY 4.210483999999999 101.97576600000001 Malaysia
543 2015 PRK SAU ALL 25320391.05 0.07% Saudi Arabia SA 23.885942 45.079162 Saudi Arabia
563 2015 PRK SGP ALL 1319287.53 0.00% Singapore SG 1.352083 103.819836 Singapore
584 2015 PRK THA ALL 6873845.52 0.02% Thailand TH 15.870032 100.992541 Thailand
602 2015 PRK TUR ALL 13613789.9 0.04% Turkey TR 38.963745 35.243322 Turkey
654 2015 PRK CZE ALL 226274.0 0.00% Czech Republic CZ 49.817492 15.472961999999999 Czech Republic
675 2015 PRK DEU ALL 3399341.08 0.01% Germany DE 51.165690999999995 10.451526 Germany
696 2015 PRK DNK ALL 2642.0 0.00% Denmark DK 56.26392 9.501785 Denmark
717 2015 PRK ESP ALL 1586417.49 0.00% Spain ES 40.463667 -3.7492199999999998 Spain
738 2015 PRK EST ALL 505018.38 0.00% Estonia EE 58.595271999999994 25.013607 Estonia
759 2015 PRK FIN ALL 239657.0 0.00% Finland FI 61.92411 25.748151 Finland
780 2015 PRK FRA ALL 8901540.25 0.03% France FR 46.227638 2.213749 France
801 2015 PRK GBR ALL 415602.72 0.00% United Kingdom GB 55.378051 -3.435973 United Kingdom
855 2015 PRK HUN ALL 467576.0 0.00% Hungary HU 47.162494 19.503304 Hungary
876 2015 PRK IRL ALL 769203.14 0.00% Ireland IE 53.41291 -8.243889999999999 Ireland
898 2015 PRK ITA ALL 394346.0 0.00% Italy IT 41.87194 12.56738 Italy
943 2015 PRK MDA ALL 189991.2 0.00% Moldova MD 47.411631 28.369884999999996 Moldova
964 2015 PRK NLD ALL 418197.0 0.00% Netherlands NL 52.132633 5.291266 Netherlands
988 2015 PRK POL ALL 7286986.93 0.02% Poland PL 51.919438 19.145135999999997 Poland
1046 2015 PRK SVK ALL 1869234.06 0.01% Slovakia SK 48.669026 19.699023999999998 Slovakia
1067 2015 PRK SVN ALL 885229.82 0.00% Slovenia SI 46.151241 14.995463 Slovenia
1088 2015 PRK SWE ALL 438123.0 0.00% Sweden SE 60.128161 18.643501 Sweden
1109 2015 PRK CAN ALL 100265.2 0.00% Canada CA 56.130366 -106.34677099999999 Canada
1129 2015 PRK CRI ALL 2264450.33 0.01% Costa Rica CR 9.748917 -83.753428 Costa Rica
1150 2015 PRK GRL ALL 8568.59 0.00% Greenland GL 71.706936 -42.604303 Greenland
1169 2015 PRK GTM ALL 414601.88 0.00% Guatemala GT 15.783470999999999 -90.23075899999999 Guatemala
1235 2015 PRK MEX ALL 13809874.55 0.04% Mexico MX 23.634501 -102.552784 Mexico
1255 2015 PRK NIC ALL 335360.97 0.00% Nicaragua NI 12.865416 -85.207229 Nicaragua
1316 2015 PRK BOL ALL 757078.12 0.00% Bolivia BO -16.290154 -63.588653 Bolivia
1337 2015 PRK BRA ALL 15427466.46 0.04% Brazil BR -14.235004 -51.92528 Brazil
1358 2015 PRK CHL ALL 22898770.81 0.07% Chile CL -35.675146999999996 -71.542969 Chile
1379 2015 PRK COL ALL 3146065.61 0.01% Colombia CO 4.570868 -74.297333 Colombia
1399 2015 PRK PER ALL 280650.31 0.00% Peru PE -9.189967 -75.015152 Peru
1435 2015 PRK URY ALL 206349.39 0.00% Uruguay UY -32.522779 -55.765834999999996 Uruguay
1542 2015 PRK SEN ALL 286469.94 0.00% Senegal SN 14.497401000000002 -14.452361999999999 Senegal
1587 2015 PRK MNG ALL 822812.0 0.00% Mongolia MN 46.862496 103.84665600000001 Mongolia
1607 2015 PRK ALB ALL 14512.0 0.00% Albania AL 41.153332 20.168331 Albania
1627 2015 PRK AUT ALL 878933.99 0.00% Austria AT 47.516231 14.550072 Austria
1666 2015 PRK RUS ALL 5578760.6 0.02% Russia RU 61.52401 105.31875600000001 Russia
1686 2015 PRK UKR ALL 2013046.95 0.01% Ukraine UA 48.379433 31.16558 Ukraine
1736 2015 PRK SLV ALL 1084045.42 0.00% El Salvador SV 13.794185 -88.89653 El Salvador
1756 2015 PRK PYF ALL 87444.21 0.00% French Polynesia PF -17.679742 -149.40684299999998 French Polynesia
1772 2015 PRK ECU ALL 4412351.39 0.01% Ecuador EC -1.8312389999999998 -78.183406 Ecuador
1797 2015 PRK BRN ALL 719933.05 0.00% Brunei BN 4.535277 114.72766899999999 Brunei
1829 2015 PRK BHS ALL 124003.48 0.00% Bahamas BS 25.03428 -77.39628 Bahamas
1847 2015 PRK BRB ALL 28071.43 0.00% Barbados BB 13.193887 -59.543198 Barbados
1864 2015 PRK GUY ALL 7137466.15 0.02% Guyana GY 4.860416000000001 -58.93018000000001 Guyana
1881 2015 PRK BEN ALL 10440997.54 0.03% Benin BJ 9.30769 2.315834 Benin
1893 2015 PRK CPV ALL 13000.0 0.00% Cape Verde CV 16.002082 -24.013197 Cape Verde
1914 2015 PRK BLR ALL 119810.9 0.00% Belarus BY 53.709807 27.953389 Belarus
1940 2015 PRK PRY ALL 16496727.35 0.05% Paraguay PY -23.442503 -58.44383199999999 Paraguay
1950 2015 PRK ARM ALL 39104.46 0.00% Armenia AM 40.069099 45.038189 Armenia
1966 2015 PRK LKA ALL 8557356.62 0.03% Sri Lanka LK 7.873054 80.77179699999999 Sri Lanka
1978 2015 PRK ATG ALL 2798361.94 0.01% Antigua and Barbuda AG 17.060816 -61.796428000000006 Antigua and Barbuda
1991 2015 PRK BLZ ALL 1688.0 0.00% Belize BZ 17.189877 -88.49765 Belize
2023 2015 PRK NCL ALL 200326.2 0.00% New Caledonia NC -20.904304999999997 165.618042 New Caledonia
2049 2015 PRK MOZ ALL 10457349.09 0.03% Mozambique MZ -18.665695 35.529562 Mozambique
2077 2015 PRK MWI ALL 4851.0 0.00% Malawi MW -13.254307999999998 34.301525 Malawi
2084 2015 PRK BHR ALL 292616.82 0.00% Bahrain BH 25.930414000000003 50.637772 Bahrain
2095 2015 PRK KAZ ALL 458555.87 0.00% Kazakhstan KZ 48.019573 66.923684 Kazakhstan
2109 2015 PRK KHM ALL 968948.58 0.00% Cambodia KH 12.565679 104.990963 Cambodia
2113 2015 PRK PHL ALL 10358152.94 0.03% Philippines PH 12.879721 121.77401699999999 Philippines
2127 2015 PRK VCT ALL 115452.17 0.00% Saint Vincent and the Grenadines VC 12.984305 -61.287228000000006 Saint Vincent and the Grenadines
2145 2015 PRK BDI ALL 3210.0 0.00% Burundi BI -3.3730559999999996 29.918885999999997 Burundi
2150 2015 PRK KWT ALL 51963.71 0.00% Kuwait KW 29.311659999999996 47.481766 Kuwait
2180 2015 PRK FJI ALL 8853237.84 0.03% Fiji FJ -16.578193 179.414413 Fiji
2194 2015 PRK WSM ALL 774204.11 0.00% Samoa WS -13.759029 -172.10462900000002 Samoa
2214 2015 PRK PAK ALL 43066340.19 0.12% Pakistan PK 30.375321000000003 69.345116 Pakistan
2234 2015 PRK BIH ALL 266495.0 0.00% Bosnia and Herzegovina BA 43.915886 17.679076000000002 Bosnia and Herzegovina
2248 2015 PRK CYP ALL 56114.74 0.00% Cyprus CY 35.126413 33.429859 Cyprus
2260 2015 PRK YEM ALL 212273.04 0.00% Yemen YE 15.552726999999999 48.516388 Yemen
2270 2015 PRK RWA ALL 1702696.21 0.00% Rwanda RW -1.940278 29.873888 Rwanda
2281 2015 PRK QAT ALL 737331.48 0.00% Qatar QA 25.354826 51.183884 Qatar
2294 2015 PRK SRB ALL 1191261.86 0.00% Serbia RS 44.016521000000004 21.005859 Serbia
2307 2015 PRK MNE ALL 264544.0 0.00% Montenegro ME 42.708678000000006 19.37439 Montenegro
2324 2015 PRK BMU ALL 419860.0 0.00% Bermuda BM 32.321384 -64.75737 Bermuda
2328 2015 PRK SLB ALL 59750.06 0.00% Solomon Islands SB -9.645710000000001 160.156194 Solomon Islands
2332 2015 PRK MAR ALL 640294.16 0.00% Morocco MA 31.791702 -7.09262 Morocco
2333 2015 PRK AGO ALL 5580441.52 0.02% Angola AO -11.202691999999999 17.873887 Angola
2334 2015 PRK SLE ALL 490486.58 0.00% Sierra Leone SL 8.460555000000001 -11.779889 Sierra Leone
2335 2015 PRK PLW ALL 2336.0 0.00% Palau PW 7.51498 134.58252 Palau
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="//d3js.org/topojson.v1.min.js"></script>
<script src="https://d3js.org/d3-geo-projection.v1.min.js"></script>
<script src="https://d3js.org/d3-queue.v2.min.js"></script>
<script src="https://d3js.org/d3-scale-chromatic.v1.min.js"></script>
<style type="text/css">
/* No style rules here yet */
body,html{
margin: 0;
padding: 0;
font-family: "Arial", sans-serif;
font-size: 11px;
text-align: center;
}
.country{
/* fill: #E8E8E8;
*/ stroke: white;
}
</style>
</head>
<body>
<div id="option">
<button id="Pause"> Pause </button>
</div>
<script>
var w = 900;
var h = 500;
var isExports = true;
var isPlaying = true;
var margin = {
top: 10,
bottom: 40,
left: 0,
right: 30
};
var width = w - margin.left - margin.right;
var height = h - margin.top - margin.bottom;
var rectScale = d3.scaleLinear()
.range([5, 70])
// define map projection
var projection = d3.geoRobinson()
.scale(150)
.translate([w/2.2, h/1.9])
//Define default path generator
var path = d3.geoPath()
.projection(projection);
var svg = d3.select("body")
.append("svg")
.attr("id", "chart")
.attr("width", w)
.attr("height", h)
.append("g")
.attr("transform", "translate(0" + margin.left + "," + margin.top + ")");
var purple = ["#f2f0f7", "#dadaeb", "#bcbddc", "#9e9ac8", "#756bb1", "#54278f"]
var color_imp = d3.scaleThreshold()
.domain([0, 1688, 206684, 747204.800, 3652593.657, 1000000000, 2338271127])
.range(["#ede9f3", "#cbbedd", "#a993c7", "#8767b0", "#653c9a", "#54278f", "#431f72"]);
var color_exp = d3.scaleThreshold()
.domain([0, 1688, 206684, 747204.800, 3652593.657, 1000000000, 2338271127])
.range(["#ede9f3", "#cbbedd", "#a993c7", "#8767b0", "#653c9a", "#54278f", "darkgreen"]);
var countryMap_imp = d3.map();
var countryMap_exp = d3.map();
d3.queue()
.defer(d3.json, "readme-world-110m.json")
.defer(d3.csv, "North_Korea_imports_2015.csv", function(d){
d.import_val = +d.import_val
countryMap_imp.set(d.name, d)
return d
})
.defer(d3.csv, "df_NK_merged_geo_2015.csv", function(d){
d.export_val = +d.export_val
countryMap_exp.set(d.name, d)
return d
})
.await(ready)
function ready(error, json, data){
var countries = topojson.feature(json, json.objects.countries).features
var text = svg.append("svg:text")
text.append("svg:tspan")
.attr("y", 10)
.style("fill", "black")
.text("North Korea ")
.style("font-size", 20)
.style("font-weight", "bold");
text.append("svg:tspan")
.attr("y", 10)
.attr("fill", "#431f72")
.text("Imports")
.style("text-decoration", "underline")
.style("font-size", 20)
.style("font-weight", "bold")
.transition()
.delay(0)
.duration(0)
.on("start", function repeat(){
d3.active(this)
.transition()
.delay(3000)
.duration(2000)
.attr("fill", "darkgreen")
.text("Exports")
.transition()
.delay(3000)
.duration(2000)
.attr("fill", "#431f72")
.text("Imports")
.on("end", repeat)
});
text.append("svg:tspan")
.attr("y", 10)
.style("fill", "black")
.text(", 2015")
.style("font-size", 20)
.style("font-weight", "bold");
svg.selectAll("path")
.data(countries)
.enter()
.append("path")
.attr("class", "country")
.attr("d", path)
.style("stroke", "white")
.style("fill", function(d){
var countryData_imp = countryMap_imp.get(d.id)
if(countryData_imp){
return color_imp(countryData_imp)// here i just want one color
// return color(countryData.import_val) this is how I would add the choropleth
} else {
return "#ccc"
}
})
function drawExports(){
d3.selectAll("path")
.data(countries)
.transition()
.duration(500)
.style("fill", function(d){
var countryData_exp = countryMap_exp.get(d.id)
if(countryData_exp){
return color_exp(countryData_exp)// here i just want one color
// return color(countryData.import_val) this is how I would add the choropleth
} else {
return "#ccc"
}
})
}
function drawImports(){
d3.selectAll("path")
.data(countries)
.transition()
.duration(500)
.style("fill", function(d){
var countryData_imp = countryMap_imp.get(d.id)
if(countryData_imp){
return color_imp(countryData_imp)// here i just want one color
// return color(countryData.import_val) this is how I would add the choropleth
} else {
return "#ccc"
}
})
}
d3.select("#Pause", function() {
isPlaying = false
})
setInterval(function(){
if(!isPlaying){
return
}
if(isExports) {
drawImports()
isExports = false
} else {
drawExports()
isExports = true
}
}, 2000)
}
</script>
</body>
</html>
year country_origin_id country_destination_id hs92_product_id import_val import_val_pct id id_3char name Total Percent_imp perc_diff
22 2015 PRK CIV ALL 496008 0.00091% afciv CIV Cote d'Ivoire 3472362068 0.014284455085229322 99.98571554491477
37 2015 PRK EGY ALL 288894 0.00053% afegy EGY Egypt 3472362068 0.00831981211470831 99.9916801878853
77 2015 PRK ZWE ALL 3500 0.0000065% afzwe ZWE Zimbabwe 3472362068 0.00010079594038463618 99.99989920405962
110 2015 PRK CHN ALL 2946422604 5.4% aschn CHN China 3472362068 84.85355346877958 15.14644653122042
121 2015 PRK CYP ALL 1138325 0.0021% ascyp CYP Cyprus 3472362068 0.03278243966809743 99.9672175603319
142 2015 PRK HKG ALL 4922055 0.0091% ashkg HKG Hong Kong 3472362068 0.1417494749571144 99.85825052504289
183 2015 PRK IND ALL 108550714 0.20% asind IND India 3472362068 3.126134656301055 96.87386534369895
241 2015 PRK MYS ALL 4700672 0.0087% asmys MYS Malaysia 3472362068 0.13537390133706528 99.86462609866294
250 2015 PRK SAU ALL 6680541 0.012% assau SAU Saudi Arabia 3472362068 0.1923918321066051 99.80760816789339
270 2015 PRK SGP ALL 28177326 0.052% assgp SGP Singapore 3472362068 0.8114743061984169 99.18852569380158
291 2015 PRK THA ALL 73797295 0.14% astha THA Thailand 3472362068 2.125276499247831 97.87472350075217
309 2015 PRK TUR ALL 4652842 0.0086% astur TUR Turkey 3472362068 0.13399645281460898 99.86600354718539
330 2015 PRK BLX ALL 328533 0.00061% eublx BLX Belgium-Luxembourg 3472362068 0.00946136933782448 99.99053863066217
351 2015 PRK CHE ALL 5173138 0.0095% euche CHE Switzerland 3472362068 0.14898037412842743 99.85101962587157
372 2015 PRK CZE ALL 6508 0.000012% eucze CZE Czech Republic 3472362068 0.0001874228514352035 99.99981257714856
393 2015 PRK DEU ALL 7402100 0.014% eudeu DEU Germany 3472362068 0.21317189437746156 99.78682810562253
413 2015 PRK DNK ALL 304549 0.00056% eudnk DNK Denmark 3472362068 0.008770657956628732 99.99122934204337
434 2015 PRK ESP ALL 276887 0.00051% euesp ESP Spain 3472362068 0.007974024441508788 99.99202597555849
455 2015 PRK FIN ALL 156242 0.00029% eufin FIN Finland 3472362068 0.004499588376450379 99.99550041162355
476 2015 PRK FRA ALL 3335856 0.0062% eufra FRA France 3472362068 0.09606878357363739 99.90393121642636
497 2015 PRK GBR ALL 395958 0.00073% eugbr GBR United Kingdom 3472362068 0.01140313113223422 99.98859686886776
518 2015 PRK GRC ALL 381872 0.00070% eugrc GRC Greece 3472362068 0.010997470670446225 99.98900252932955
533 2015 PRK HRV ALL 54459 0.00010% euhrv HRV Croatia 3472362068 0.001568356033544829 99.99843164396646
553 2015 PRK HUN ALL 39624 0.000073% euhun HUN Hungary 3472362068 0.001141125240514521 99.99885887475949
586 2015 PRK ITA ALL 1635980 0.0030% euita ITA Italy 3472362068 0.04711432644298774 99.952885673557
603 2015 PRK LVA ALL 77005 0.00014% eulva LVA Latvia 3472362068 0.0022176546826625453 99.99778234531733
624 2015 PRK NLD ALL 2215541 0.0041% eunld NLD Netherlands 3472362068 0.0638050110159192 99.93619498898408
645 2015 PRK POL ALL 1114079 0.0021% eupol POL Poland 3472362068 0.03208418299079288 99.96791581700921
693 2015 PRK SVK ALL 10116 0.000019% eusvk SVK Slovakia 3472362068 0.00029132906655170843 99.99970867093344
714 2015 PRK SWE ALL 97604 0.00018% euswe SWE Sweden 3472362068 0.002810881990086294 99.99718911800991
752 2015 PRK CRI ALL 71310 0.00013% nacri CRI Costa Rica 3472362068 0.0020536452882366873 99.99794635471176
791 2015 PRK MEX ALL 45709430 0.084% namex MEX Mexico 3472362068 1.3163785660844858 98.68362143391552
822 2015 PRK USA ALL 804206 0.0015% nausa USA United States 3472362068 0.02316020000941906 99.97683979999059
866 2015 PRK BRA ALL 2478190 0.0046% sabra BRA Brazil 3472362068 0.0713689975719433 99.92863100242806
887 2015 PRK CHL ALL 2056508 0.0038% sachl CHL Chile 3472362068 0.059225045076722105 99.94077495492328
908 2015 PRK PER ALL 21187372 0.039% saper PER Peru 3472362068 0.6101717385768886 99.3898282614231
967 2015 PRK GIN ALL 2814000 0.0052% afgin GIN Guinea 3472362068 0.08103993606924749 99.91896006393075
981 2015 PRK MDG ALL 6169 0.000011% afmdg MDG Madagascar 3472362068 0.00017766004463794875 99.99982233995536
1005 2015 PRK TUN ALL 154794 0.00029% aftun TUN Tunisia 3472362068 0.004457887655971249 99.99554211234403
1025 2015 PRK AUT ALL 156185 0.00029% euaut AUT Austria 3472362068 0.004497946842564115 99.99550205315744
1045 2015 PRK BGR ALL 1118086 0.0021% eubgr BGR Bulgaria 3472362068 0.03219957994311323 99.96780042005689
1081 2015 PRK RUS ALL 78226112 0.14% eurus RUS Russia 3472362068 2.252821291906821 97.74717870809317
1120 2015 PRK UKR ALL 33738277 0.062% euukr UKR Ukraine 3472362068 0.9716232449063835 99.02837675509362
1134 2015 PRK GTM ALL 4373716 0.0081% nagtm GTM Guatemala 3472362068 0.12595794777009411 99.87404205222991
1178 2015 PRK ECU ALL 1000 0.0000018% saecu ECU Ecuador 3472362068 2.879884010989605e-05 99.9999712011599
1213 2015 PRK ETH ALL 554843 0.0010% afeth ETH Ethiopia 3472362068 0.015978834843095056 99.9840211651569
1219 2015 PRK BRN ALL 79320 0.00015% asbrn BRN Brunei 3472362068 0.002284323997516955 99.99771567600249
1250 2015 PRK MNG ALL 691840 0.0013% asmng MNG Mongolia 3472362068 0.019924189541630482 99.98007581045837
1259 2015 PRK MKD ALL 19534 0.000036% eumkd MKD Macedonia 3472362068 0.0005625565427067094 99.9994374434573
1293 2015 PRK GUY ALL 71731 0.00013% saguy GUY Guyana 3472362068 0.0020657695999229536 99.99793423040008
1305 2015 PRK BEN ALL 2579378 0.0048% afben BEN Benin 3472362068 0.07428309460498346 99.92571690539502
1333 2015 PRK TZA ALL 83371 0.00015% aftza TZA Tanzania 3472362068 0.0024009880988021437 99.9975990119012
1345 2015 PRK PHL ALL 53231731 0.098% asphl PHL Philippines 3472362068 1.533012109841997 98.46698789015801
1363 2015 PRK BLR ALL 364900 0.00067% eublr BLR Belarus 3472362068 0.010508696756101069 99.9894913032439
1395 2015 PRK ZAF ALL 1147991 0.0021% afzaf ZAF South Africa 3472362068 0.033060809256599676 99.9669391907434
1410 2015 PRK LKA ALL 1368160 0.0025% aslka LKA Sri Lanka 3472362068 0.03940142108475538 99.96059857891524
1429 2015 PRK MOZ ALL 226772 0.00042% afmoz MOZ Mozambique 3472362068 0.006530770569401347 99.9934692294306
1459 2015 PRK KAZ ALL 1511580 0.0028% askaz KAZ Kazakhstan 3472362068 0.04353175073331667 99.95646824926668
1474 2015 PRK KHM ALL 651436 0.0012% askhm KHM Cambodia 3472362068 0.018760601205830243 99.98123939879417
1483 2015 PRK QAT ALL 4285954 0.0079% asqat QAT Qatar 3472362068 0.12343050396436941 99.87656949603563
1541 2015 PRK UGA ALL 97805 0.00018% afuga UGA Uganda 3472362068 0.002816670556948383 99.99718332944305
1563 2015 PRK ISR ALL 78000 0.00014% asisr ISR Israel 3472362068 0.0022463095285718917 99.99775369047143
1598 2015 PRK PAK ALL 16217 0.000030% aspak PAK Pakistan 3472362068 0.0004670307900621843 99.99953296920994
1602 2015 PRK BLZ ALL 3964 0.0000073% nablz BLZ Belize 3472362068 0.00011415860219562794 99.9998858413978
1610 2015 PRK RWA ALL 87409 0.00016% afrwa RWA Rwanda 3472362068 0.002517277815165904 99.99748272218483
1621 2015 PRK SEN ALL 7821784 0.014% afsen SEN Senegal 3472362068 0.22525830679014316 99.77474169320986
1635 2015 PRK SRB ALL 7498 0.000014% eusrb SRB Serbia 3472362068 0.00021593370314400062 99.99978406629685
1653 2015 PRK NER ALL 15674 0.000029% afner NER Niger 3472362068 0.0004513930198825107 99.99954860698011
1658 2015 PRK KWT ALL 51309 0.000095% askwt KWT Kuwait 3472362068 0.0014776396871986565 99.9985223603128
1667 2015 PRK BRB ALL 6690 0.000012% nabrb BRB Barbados 3472362068 0.00019266424033520462 99.99980733575967
1674 2015 PRK BHS ALL 99750 0.00018% nabhs BHS Bahamas 3472362068 0.002872684300962131 99.99712731569903
1682 2015 PRK CMR ALL 201306 0.00037% afcmr CMR Cameroon 3472362068 0.0057973793071627346 99.99420262069283
1687 2015 PRK MAR ALL 205456 0.00038% afmar MAR Morocco 3472362068 0.005916894493618804 99.99408310550638
1694 2015 PRK BFA ALL 636816 0.0012% afbfa BFA Burkina Faso 3472362068 0.018339562163423563 99.98166043783658
1696 2015 PRK SLE ALL 52342 0.000097% afsle SLE Sierra Leone 3472362068 0.0015073888890321792 99.99849261111096
1697 2015 PRK SLB ALL 379325 0.00070% ocslb SLB Solomon Islands 3472362068 0.01092412002468632 99.98907587997532
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment