Skip to content

Instantly share code, notes, and snippets.

@nhuntwalker
Last active March 14, 2016 18:23
Show Gist options
  • Save nhuntwalker/53cd73f7ee1cf258bcd9 to your computer and use it in GitHub Desktop.
Save nhuntwalker/53cd73f7ee1cf258bcd9 to your computer and use it in GitHub Desktop.
Project 6: USA vs the World
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Project 6: Visualizing PISA 2012 Data</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.16/d3.min.js"></script>
</head>
<body>
<h1 id="title-text">
PISA 2012 - U.S. Academic Performance vs. the World
</h1>
<svg id="figure-container" width="960" height="550"></svg>
<div id="lightbox-parent">
<div class="container" id="intro-lightbox">
<h2>
The PISA 2012 Survey
</h2>
<p>
<a href=""><em>PISA</em></a> is a survey of students' skills and knowledge as they approach the end of compulsory education. It is not a conventional school test. Rather than examining how well students have learned the school curriculum, it looks at how well prepared they are for life beyond school.
</p>
<p>
The <em>PISA</em> survey spans 65 countries and provides something of a standard metric against which countries can measure themselves for performance in mathematics, reading, and science across grade levels 7-12. What follows is a dive into the performance of the United States of America with respect to other countries in the world.
</p>
</div>
</div>
<div class="nav" id="nav-prev" nugget="0">
Previous
</div>
<div class="nav" id="nav-next" nugget="0">
Next
</div>
<div id="options-box">
</div>
<script src="vis-code-gist.js"></script>
</body>
</html>
[
{"country": "Albania", "latitude": 41.3333, "longitude": 19.8, "region": "Mediterranean"},
{"country": "Argentina", "latitude": -34.6, "longitude": -58.3833, "region": "South America"},
{"country": "Australia", "latitude": -35.308, "longitude": 149.1245, "region": "Oceania"},
{"country": "Austria", "latitude": 48.2, "longitude": 16.35, "region": "Western Europe"},
{"country": "Belgium", "latitude": 50.85, "longitude": 4.35, "region": "Western Europe"},
{"country": "Brazil", "latitude": -15.7833, "longitude": -47.8667, "region": "South America"},
{"country": "Bulgaria", "latitude": 42.6833, "longitude": 23.3167, "region": "Eastern Europe"},
{"country": "Canada", "latitude": 55, "longitude": -110, "region": "Northern America"},
{"country": "Chile", "latitude": -33.4333, "longitude": -70.6667, "region": "South America"},
{"country": "China-Shanghai", "latitude": 39.9167, "longitude": 116.3833, "region": "East Asia"},
{"country": "Chinese Taipei", "latitude": 25.0333, "longitude": 121.6333, "region": "East Asia"},
{"country": "Colombia", "latitude": 4.5833, "longitude": -74.0667, "region": "South America"},
{"country": "Connecticut (USA)", "latitude": 41.75, "longitude": -72.6667, "region": "Northern America"},
{"country": "Costa Rica", "latitude": 9.9333, "longitude": -84.0833, "region": "Central America"},
{"country": "Croatia", "latitude": 45.8, "longitude": 16.0, "region": "Eastern Europe"},
{"country": "Czech Republic", "latitude": 50.0833, "longitude": 14.4667, "region": "Eastern Europe"},
{"country": "Denmark", "latitude": 55.7167, "longitude": 12.5667, "region": "Northern Europe"},
{"country": "Estonia", "latitude": 59.4167, "longitude": 24.75, "region": "Northern Europe"},
{"country": "Finland", "latitude": 60.1667, "longitude": 24.56, "region": "Northern Europe"},
{"country": "Florida (USA)", "latitude": 25.7667, "longitude": -80.2, "region": "Northern America"},
{"country": "France", "latitude": 48.8567, "longitude": 2.3508, "region": "Western Europe"},
{"country": "Germany", "latitude": 52.5167, "longitude": 13.3833, "region": "Western Europe"},
{"country": "Greece", "latitude": 39.0, "longitude": 22.0, "region": "Southern Europe"},
{"country": "Hong Kong-China", "latitude": 22.2783, "longitude": 114.1747, "region": "East Asia"},
{"country": "Hungary", "latitude": 47.4333, "longitude": 19.25, "region": "Eastern Europe"},
{"country": "Iceland", "latitude": 65.0, "longitude": -18.0, "region": "Northern Europe"},
{"country": "Indonesia", "latitude": -6.175, "longitude": 106.8283, "region": "Southeast Asia"},
{"country": "Ireland", "latitude": 53.3442, "longitude": -6.2675, "region": "Northern Europe"},
{"country": "Israel", "latitude": 31.0, "longitude": 35.0, "region": "Middle East"},
{"country": "Italy", "latitude": 41.9, "longitude": 12.4833, "region": "Southern Europe"},
{"country": "Japan", "latitude": 35.6833, "longitude": 139.7667, "region": "East Asia"},
{"country": "Jordan", "latitude": 31.95, "longitude": 35.9333, "region": "Middle East"},
{"country": "Kazakhstan", "latitude": 48.0, "longitude": 68.0, "region": "Central Asia"},
{"country": "Korea", "latitude": 37.5500, "longitude": 126.9667, "region": "East Asia"},
{"country": "Latvia", "latitude": 57.0, "longitude": 25.0, "region": "Northern Europe"},
{"country": "Liechtenstein", "latitude": 47.1417, "longitude": 9.5233, "region": "Western Europe"},
{"country": "Lithuania", "latitude": 55.0, "longitude": 24.0, "region": "Northern Europe"},
{"country": "Luxembourg", "latitude": 49.6, "longitude": 6.1167, "region": "Western Europe"},
{"country": "Macao-China", "latitude": 22.1667, "longitude": 113.55, "region": "East Asia"},
{"country": "Malaysia", "latitude": 3.1333, "longitude": 101.7, "region": "Southeast Asia"},
{"country": "Massachusetts (USA)", "latitude": 42.3, "longitude": -71.8, "region": "Northern America"},
{"country": "Mexico", "latitude": 19.0, "longitude": -99.1333, "region": "Northern America"},
{"country": "Montenegro", "latitude": 42.7833, "longitude": 19.4667, "region": "Eastern Europe"},
{"country": "Netherlands", "latitude": 52.3167, "longitude": 5.55, "region": "Western Europe"},
{"country": "New Zealand", "latitude": -42.0, "longitude": 174.0, "region": "Oceania"},
{"country": "Norway", "latitude": 61.0, "longitude": 8.0, "region": "Northern Europe"},
{"country": "Perm(Russian Federation)", "latitude": 58.0, "longitude": 56.3167, "region": "Eastern Europe"},
{"country": "Peru", "latitude": -12.0433, "longitude": -77.0283, "region": "South America"},
{"country": "Poland", "latitude": 52.2167, "longitude": 21.0333, "region": "Western Europe"},
{"country": "Portugal", "latitude": 38.7, "longitude": -9.1833, "region": "Western Europe"},
{"country": "Qatar", "latitude": 25.3, "longitude": 51.5167, "region": "Middle East"},
{"country": "Romania", "latitude": 44.4167, "longitude": 26.1, "region": "Eastern Europe"},
{"country": "Russian Federation", "latitude": 60.0, "longitude": 90.0, "region": "Eastern Europe"},
{"country": "Serbia", "latitude": 44.8, "longitude": 20.4667, "region": "Eastern Europe"},
{"country": "Singapore", "latitude": 1.3, "longitude": 103.8, "region": "Southeast Asia"},
{"country": "Slovak Republic", "latitude": 48.15, "longitude": 17.1167, "region": "Eastern Europe"},
{"country": "Slovenia", "latitude": 46.05, "longitude": 14.5, "region": "Eastern Europe"},
{"country": "Spain", "latitude": 40.4333, "longitude": -3.7, "region": "Western Europe"},
{"country": "Sweden", "latitude": 59.35, "longitude": 18.0667, "region": "Northern Europe"},
{"country": "Switzerland", "latitude": 46.8333, "longitude": 8.3333, "region": "Western Europe"},
{"country": "Thailand", "latitude": 13.75, "longitude": 100.4833, "region": "Southeast Asia"},
{"country": "Tunisia", "latitude": 34.0, "longitude": 9.0, "region": "North Africa"},
{"country": "Turkey", "latitude": 39.9167, "longitude": 32.8333, "region": "Eastern Europe"},
{"country": "United Arab Emirates", "latitude": 24.4667, "longitude": 54.3667, "region": "Middle East"},
{"country": "United Kingdom", "latitude": 51.5, "longitude": -0.1167, "region": "Western Europe"},
{"country": "United States of America", "latitude": 38.5, "longitude": -98.0, "region": "Northern America"},
{"country": "Uruguay", "latitude": -34.8833, "longitude": -56.1667, "region": "South America"},
{"country": "Vietnam", "latitude": 21.0333, "longitude": 105.85, "region": "Southeast Asia"}
]
country gender allgrades_bucket the_count
Connecticut (USA) Female 800 2
Connecticut (USA) Female 850 4
Connecticut (USA) Female 900 8
Connecticut (USA) Female 950 7
Connecticut (USA) Female 1000 24
Connecticut (USA) Female 1050 13
Connecticut (USA) Female 1100 20
Connecticut (USA) Female 1150 22
Connecticut (USA) Female 1200 35
Connecticut (USA) Female 1250 33
Connecticut (USA) Female 1300 51
Connecticut (USA) Female 1350 51
Connecticut (USA) Female 1400 44
Connecticut (USA) Female 1450 60
Connecticut (USA) Female 1500 60
Connecticut (USA) Female 1550 66
Connecticut (USA) Female 1600 60
Connecticut (USA) Female 1650 62
Connecticut (USA) Female 1700 44
Connecticut (USA) Female 1750 25
Connecticut (USA) Female 1800 47
Connecticut (USA) Female 1850 41
Connecticut (USA) Female 1900 18
Connecticut (USA) Female 1950 18
Connecticut (USA) Female 2000 11
Connecticut (USA) Female 2050 6
Connecticut (USA) Female 2100 8
Connecticut (USA) Female 2150 2
Connecticut (USA) Female 2200 3
Connecticut (USA) Male 800 3
Connecticut (USA) Male 850 3
Connecticut (USA) Male 900 9
Connecticut (USA) Male 950 7
Connecticut (USA) Male 1000 14
Connecticut (USA) Male 1050 21
Connecticut (USA) Male 1100 28
Connecticut (USA) Male 1150 24
Connecticut (USA) Male 1200 42
Connecticut (USA) Male 1250 36
Connecticut (USA) Male 1300 47
Connecticut (USA) Male 1350 36
Connecticut (USA) Male 1400 49
Connecticut (USA) Male 1450 59
Connecticut (USA) Male 1500 40
Connecticut (USA) Male 1550 61
Connecticut (USA) Male 1600 61
Connecticut (USA) Male 1650 57
Connecticut (USA) Male 1700 36
Connecticut (USA) Male 1750 57
Connecticut (USA) Male 1800 37
Connecticut (USA) Male 1850 37
Connecticut (USA) Male 1900 24
Connecticut (USA) Male 1950 34
Connecticut (USA) Male 2000 12
Connecticut (USA) Male 2050 8
Connecticut (USA) Male 2100 3
Connecticut (USA) Male 2200 4
Connecticut (USA) Male 2250 3
Florida (USA) Female 650 2
Florida (USA) Female 700 2
Florida (USA) Female 800 2
Florida (USA) Female 850 3
Florida (USA) Female 900 6
Florida (USA) Female 950 10
Florida (USA) Female 1000 14
Florida (USA) Female 1050 24
Florida (USA) Female 1100 45
Florida (USA) Female 1150 42
Florida (USA) Female 1200 64
Florida (USA) Female 1250 67
Florida (USA) Female 1300 71
Florida (USA) Female 1350 71
Florida (USA) Female 1400 90
Florida (USA) Female 1450 77
Florida (USA) Female 1500 65
Florida (USA) Female 1550 65
Florida (USA) Female 1600 59
Florida (USA) Female 1650 47
Florida (USA) Female 1700 44
Florida (USA) Female 1750 30
Florida (USA) Female 1800 16
Florida (USA) Female 1850 17
Florida (USA) Female 1900 9
Florida (USA) Female 1950 3
Florida (USA) Female 2000 5
Florida (USA) Female 2100 1
Florida (USA) Female 2150 1
Florida (USA) Male 600 1
Florida (USA) Male 700 2
Florida (USA) Male 750 1
Florida (USA) Male 800 1
Florida (USA) Male 850 8
Florida (USA) Male 900 10
Florida (USA) Male 950 14
Florida (USA) Male 1000 20
Florida (USA) Male 1050 31
Florida (USA) Male 1100 48
Florida (USA) Male 1150 36
Florida (USA) Male 1200 51
Florida (USA) Male 1250 57
Florida (USA) Male 1300 62
Florida (USA) Male 1350 71
Florida (USA) Male 1400 74
Florida (USA) Male 1450 60
Florida (USA) Male 1500 76
Florida (USA) Male 1550 63
Florida (USA) Male 1600 57
Florida (USA) Male 1650 50
Florida (USA) Male 1700 45
Florida (USA) Male 1750 32
Florida (USA) Male 1800 21
Florida (USA) Male 1850 17
Florida (USA) Male 1900 18
Florida (USA) Male 1950 10
Florida (USA) Male 2000 5
Florida (USA) Male 2100 1
Florida (USA) Male 2150 2
Massachusetts (USA) Female 650 1
Massachusetts (USA) Female 750 1
Massachusetts (USA) Female 800 5
Massachusetts (USA) Female 850 4
Massachusetts (USA) Female 900 5
Massachusetts (USA) Female 950 9
Massachusetts (USA) Female 1000 7
Massachusetts (USA) Female 1050 13
Massachusetts (USA) Female 1100 16
Massachusetts (USA) Female 1150 22
Massachusetts (USA) Female 1200 31
Massachusetts (USA) Female 1250 35
Massachusetts (USA) Female 1300 49
Massachusetts (USA) Female 1350 51
Massachusetts (USA) Female 1400 56
Massachusetts (USA) Female 1450 63
Massachusetts (USA) Female 1500 72
Massachusetts (USA) Female 1550 61
Massachusetts (USA) Female 1600 67
Massachusetts (USA) Female 1650 60
Massachusetts (USA) Female 1700 50
Massachusetts (USA) Female 1750 41
Massachusetts (USA) Female 1800 39
Massachusetts (USA) Female 1850 33
Massachusetts (USA) Female 1900 30
Massachusetts (USA) Female 1950 29
Massachusetts (USA) Female 2000 20
Massachusetts (USA) Female 2050 9
Massachusetts (USA) Female 2100 7
Massachusetts (USA) Female 2150 5
Massachusetts (USA) Female 2350 1
Massachusetts (USA) Male 500 1
Massachusetts (USA) Male 650 1
Massachusetts (USA) Male 700 1
Massachusetts (USA) Male 800 1
Massachusetts (USA) Male 850 4
Massachusetts (USA) Male 900 9
Massachusetts (USA) Male 950 9
Massachusetts (USA) Male 1000 15
Massachusetts (USA) Male 1050 10
Massachusetts (USA) Male 1100 19
Massachusetts (USA) Male 1150 28
Massachusetts (USA) Male 1200 35
Massachusetts (USA) Male 1250 43
Massachusetts (USA) Male 1300 46
Massachusetts (USA) Male 1350 41
Massachusetts (USA) Male 1400 45
Massachusetts (USA) Male 1450 60
Massachusetts (USA) Male 1500 47
Massachusetts (USA) Male 1550 65
Massachusetts (USA) Male 1600 70
Massachusetts (USA) Male 1650 46
Massachusetts (USA) Male 1700 40
Massachusetts (USA) Male 1750 41
Massachusetts (USA) Male 1800 30
Massachusetts (USA) Male 1850 40
Massachusetts (USA) Male 1900 29
Massachusetts (USA) Male 1950 17
Massachusetts (USA) Male 2000 14
Massachusetts (USA) Male 2050 9
Massachusetts (USA) Male 2100 9
Massachusetts (USA) Male 2200 4
Massachusetts (USA) Male 2250 2
United States of America Female 700 2
United States of America Female 750 1
United States of America Female 800 6
United States of America Female 850 10
United States of America Female 900 14
United States of America Female 950 17
United States of America Female 1000 36
United States of America Female 1050 56
United States of America Female 1100 57
United States of America Female 1150 87
United States of America Female 1200 125
United States of America Female 1250 151
United States of America Female 1300 164
United States of America Female 1350 175
United States of America Female 1400 189
United States of America Female 1450 201
United States of America Female 1500 197
United States of America Female 1550 178
United States of America Female 1600 161
United States of America Female 1650 122
United States of America Female 1700 132
United States of America Female 1750 85
United States of America Female 1800 96
United States of America Female 1850 69
United States of America Female 1900 33
United States of America Female 1950 39
United States of America Female 2000 20
United States of America Female 2050 15
United States of America Female 2100 5
United States of America Female 2150 7
United States of America Female 2200 2
United States of America Female 2250 1
United States of America Male 600 1
United States of America Male 750 2
United States of America Male 800 12
United States of America Male 850 18
United States of America Male 900 20
United States of America Male 950 37
United States of America Male 1000 57
United States of America Male 1050 72
United States of America Male 1100 87
United States of America Male 1150 138
United States of America Male 1200 127
United States of America Male 1250 159
United States of America Male 1300 138
United States of America Male 1350 184
United States of America Male 1400 155
United States of America Male 1450 181
United States of America Male 1500 145
United States of America Male 1550 159
United States of America Male 1600 176
United States of America Male 1650 159
United States of America Male 1700 117
United States of America Male 1750 102
United States of America Male 1800 80
United States of America Male 1850 64
United States of America Male 1900 40
United States of America Male 1950 36
United States of America Male 2000 25
United States of America Male 2050 19
United States of America Male 2100 10
United States of America Male 2150 5
country math_avg read_avg scie_avg math_std read_std scie_std
Albania 394.8789120809612 396.25024533839405 398.91652880877115 86.11827186814898 105.7287775223046 90.60588855657983
Argentina 395.6357111611384 403.5960598815175 410.4784042281662 77.12490288820236 95.88911631771019 85.31593614742873
Australia 493.2689387652802 501.05693089980156 511.6382119687845 96.2325727773362 97.81084013747004 100.17655454974401
Austria 507.7787846014717 491.48555063722387 508.03681018296453 88.13090045178024 87.56912315011947 87.97030385548071
Belgium 521.8057264953445 514.7389512813863 512.6153220016505 97.92795302052274 96.65376396853063 95.91704353611563
Brazil 382.5471458602361 400.4217037815044 395.51322087690033 73.86937523519995 79.8128479179693 73.16577749869073
Bulgaria 442.46996601666103 442.03454618705 451.088994180236 89.72173093972745 111.56152321656245 96.13772698265414
Canada 509.4176865512443 510.9577476485355 514.4566330477122 84.870356887531 88.29720280732879 87.36236647870206
Chile 444.69231780338407 460.31650919486543 464.72379565927776 84.4619217953211 77.44804079207977 81.32277953997131
China-Shanghai 611.4389329882165 568.6292328568676 579.5565404481345 98.4045261531541 76.9919382521856 78.63615809850896
Chinese Taipei 558.312010459811 522.1854721237187 522.3569348759487 112.17123505892248 87.95521635659844 80.30194897585763
Colombia 385.9724085660747 414.2215472368558 408.8624310878427 71.85421271253136 77.22785687030711 71.67935267102834
Costa Rica 405.9735946153844 440.6356451325511 429.0946466188616 62.786724410511 66.5626980382097 63.06603127976849
Croatia 469.9757189896164 484.2023924600635 490.33281509984164 84.68738752694757 82.04380878559294 80.59017042640582
Czech Republic 520.0612850234685 512.4126654664929 527.2010716425767 94.40741655229444 86.33034004875637 86.92408792409213
Denmark 486.24128405293425 483.63938789733953 482.10300561689525 83.61932671021451 85.63790398654177 93.67314258337288
Estonia 522.3408034860861 518.2080895752234 543.2418489976986 77.77553375708348 76.83373888914541 76.21918698548022
Finland 507.3258761852993 510.6593547038183 527.6643307078948 86.82483210261972 96.16579374206844 95.68920284793087
France 498.3758703967055 509.0366190288313 502.39099716453444 94.19075634832517 103.89811063315157 95.34690588525747
Germany 513.8738429394132 507.3973927654478 524.1007071225754 94.25911710999026 89.20837603938168 92.83276430539951
Greece 453.51435331902616 477.5506683980479 467.4795531668296 84.01068927125816 93.20339212348763 82.79040528118088
Hong Kong-China 561.052123100644 544.5217345781601 554.9864334004274 93.57865967392921 82.7035689435984 80.11931468024805
Hungary 484.869389222454 496.1973139126816 501.6255336133042 88.83082519092937 85.37302628570406 85.12321716955628
Iceland 492.9272069669322 482.7644558950961 478.06857053021696 88.56539162043757 93.42585932349938 94.4764993091731
Indonesia 375.6219682710775 397.114814564211 382.7448038882955 65.64756120909854 68.92591715094204 62.26653506647403
Ireland 501.27486684609255 523.5968982057425 522.1607418141944 81.89404571240674 82.90128974417499 88.04326120797076
Israel 468.54592458951396 491.36926200989114 473.4511937922857 99.6889115631199 104.86707019135235 100.639262598482
Italy 492.0584000231691 495.26411964985357 500.1568393331826 87.94154921394515 91.30572797375311 87.29522053340752
Japan 535.9252475452682 537.7224835647916 546.4134551503724 91.41441545480511 94.77801737905773 92.08217856219945
Jordan 382.73907651321207 396.51470090650776 404.7958781301505 71.8594662626157 87.28934793676217 77.88414539213588
Kazakhstan 431.1819531680436 394.1439658539943 426.11278121556285 67.19587663621357 70.30660192218733 68.53942325639343
Korea 553.7520336658073 535.8052212517376 537.8319979137689 96.42532391385811 83.75608152306764 78.7157469053889
Latvia 495.54948725663735 495.7459582021431 506.1622719189571 77.89786364440954 78.42049554424938 73.48317849861031
Liechtenstein 538.8866077815701 518.2757180887374 527.5985221843 91.98930632043295 84.1140917370516 81.60500098390187
Lithuania 480.07470471025675 479.135745116992 497.5263722020565 85.59358292990537 81.84054685059603 80.25929124251921
Luxembourg 490.48378923925446 488.3955244009128 491.97667053252303 92.32656320150234 100.16291216851747 98.58806896177465
Macao-China 538.3197914639184 509.09596949578275 520.690410995312 91.40693514136537 77.85814627702759 74.59450627887756
Malaysia 421.96569794496736 400.21623505483973 421.04411015585777 77.37403789886173 78.17166783820787 73.9471059569751
Mexico 418.60000909246696 428.94938366384713 419.5202476027885 70.24537924429714 74.1248315704315 65.74305505056408
Montenegro 406.72829585160224 419.98382427065707 408.1978575969638 77.4230936837362 86.09714936521212 78.73970683832174
Netherlands 518.5397959955174 506.37028752466466 517.2964579910318 90.21586817134481 90.99559761879027 92.95885910967706
New Zealand 500.74110552576286 513.9325369410109 517.4260563487989 96.30851868110584 101.21245214869226 100.74573063124036
Norway 489.34768149807866 504.2474724071718 494.47214118651317 87.02439312730797 95.37650905924174 94.65908139823149
Perm(Russian Federation) 485.84497152754204 486.84879652470175 482.5665745599095 85.06839343606086 87.52906915531314 80.82080162352811
Peru 367.8596761126752 384.453115973489 373.4403033968519 79.55296158644306 86.87419385768153 71.78529879815838
Poland 520.522589377036 520.7635842804426 528.2451688691133 88.40736097604129 84.08372863848082 82.54598513975093
Portugal 496.27406318295255 497.3419647993864 498.01462921482033 86.07163990665914 81.00790314730543 79.01234295289358
Qatar 376.3392319733736 387.4071418931244 383.5316635272665 95.81816617368406 106.91134095695472 100.90563032288401
Romania 445.0890095940099 438.66372594402895 439.2693574024441 76.681424288088 84.17151366443875 73.52803589375834
Russian Federation 482.9651691837133 475.9294167730817 486.6044108774612 83.25872277588515 86.76556225250336 80.4701332863838
Serbia 447.4570951537147 445.70791819812126 443.941325029888 86.64501279987142 87.05652628421785 81.78346922643416
Singapore 568.5469740137039 537.7421378579143 546.8229195961075 101.95035306765925 96.92519334002536 100.71525012758595
Slovak Republic 485.6684784309543 467.89831066267647 476.2505260025652 99.13679499689152 101.40856326047289 98.20082513681335
Slovenia 484.52725225173447 461.9832418000339 496.07328695990526 87.41063125766725 91.75371923305939 88.99044373270449
Spain 495.4378498834631 493.93729828941576 504.30330914865925 85.79308459776897 87.8443355197424 82.55107554805909
Sweden 479.23701565033736 485.15432712837844 486.3460104138515 88.24985808931324 101.371354481243 94.95262882713604
Switzerland 520.9680900062322 497.7965020464856 503.7599098405912 89.81463584615547 85.18730723324374 85.1987773085655
Thailand 441.4160045049953 453.0604463366645 456.0978661398715 88.878688403531 79.5591168149897 79.27954498390257
Tunisia 387.4342601179937 403.61427266621223 397.83131646017665 74.14864324749267 82.15293729342667 72.45726623704455
Turkey 449.3712908828384 475.92472009075794 464.0659442450506 90.04738162160025 82.4486687645995 76.34068061066498
United Arab Emirates 431.3626531930459 437.1762874730457 444.8106802921764 87.0467296941525 93.93353997328174 90.90267589741809
United Kingdom 489.7260107726358 498.06736011534423 509.60998185969225 88.3873707433408 89.40705372597235 93.0154920645397
United States of America 481.6944013780643 498.02961475693115 498.1691765568495 86.67475660147474 87.94605929173089 89.97732318557289
Uruguay 410.99508816180656 413.2537846848543 417.6243184270919 84.27273165361059 89.27873951385372 89.22084123855502
Vietnam 514.0442758113211 511.334943027251 530.9486464528314 80.34867204392086 66.97939973016713 71.03414067856156
country gender the_count math_avg read_avg scie_avg math_std read_std scie_std
Albania Female 2416 395.1582844784768 403.32435519039694 401.72559658940423 85.3975914618095 105.4247757064067 90.65811320429763
Albania Male 2327 394.5888546196816 388.9055743446502 396.0000235410393 86.85923844503847 105.5429739628831 90.45938242328737
Argentina Female 3113 389.2817070992608 420.90228555734024 412.9255753999348 74.73654281955356 90.4946012298402 83.26506872209595
Argentina Male 2795 402.7126394776383 384.32082534525983 407.75280714132396 79.102254948697 98.02780637648237 87.46304071550723
Australia Female 7075 487.28026934275675 518.4951447321554 509.37526554628994 92.79808330876867 91.66456550042847 96.4815690060036
Australia Male 7406 498.98995364029383 484.3980917337282 513.8000194139872 99.06525376948458 100.55576761937567 103.53718685341651
Austria Female 2357 496.54830873143874 510.21656237590093 503.73413778532057 84.86535860457995 80.7085868805327 83.85082964394078
Austria Male 2398 518.8172464970802 473.0747938949122 512.265917289408 89.86939656883186 90.1070466830453 91.64280328460197
Belgium Female 4250 517.8103608188231 529.6183077741184 511.4485813882364 94.26745182226244 90.43295371399013 90.60571015727704
Belgium Male 4233 525.8171378171505 499.799838336878 513.7867483203406 101.31200543057321 100.3244416797034 100.95545270441404
Brazil Female 10175 374.20601058476655 414.6902893719899 394.4424909346444 70.5189021273433 75.49122523549443 70.91581588348929
Brazil Male 9029 391.94697434931885 384.34208717023 396.71985252630435 76.38778498402277 81.47672123494394 75.60295764991996
Bulgaria Female 2578 442.8577654305674 476.32420697439954 460.1779997672612 85.88625219534572 100.56138276816053 92.03910682932391
Bulgaria Male 2704 442.1002371375745 409.3427024334316 442.4235147411235 93.23016790488678 111.71784223026368 99.11577900334706
Canada Female 10943 504.91481106278013 528.953539402357 513.7215139650908 81.39265906393106 81.25332300262687 83.22648053357547
Canada Male 10601 514.0658297896389 492.3813917234217 515.2154678860504 88.07558423099194 91.37746739604063 91.42946352465925
Chile Female 3512 431.1184832915716 470.28832162300654 459.9513127505697 81.32561542628923 73.90411882169545 78.32958749185318
Chile Male 3344 458.9480913696171 449.84372054425927 469.73604445574153 85.34147039374537 79.67066343973018 84.0608647983301
China-Shanghai Female 2637 609.1406591657183 580.6919322411827 577.5501684641638 94.7400402896604 72.07643768320048 75.46045518131224
China-Shanghai Male 2540 613.8249755354333 556.105871330708 581.6395337244102 102.01508979424554 79.87857610769005 81.75072265953828
Chinese Taipei Female 3111 555.9237106075221 538.1470318547092 522.067722295083 106.40388577004205 80.70469965782597 75.71656245177228
Chinese Taipei Male 2935 560.8435269301526 505.2667626439523 522.663490357751 117.9242275351779 92.0653600793391 84.89125684656142
Colombia Female 4807 372.3486628458491 420.8639132556685 399.0590462575407 67.1957329006555 74.29421300840555 68.15456275488964
Colombia Male 4266 401.32387262541044 406.73681834505436 419.9090487341763 73.81141043023088 79.74514220653538 73.91210209147565
Connecticut (USA) Female 845 493.41207824852063 527.4335697988165 509.29993888757366 94.31463515133882 92.05771595531544 91.87151648714614
Connecticut (USA) Male 852 509.0062552816904 506.68311704225323 523.8167251643201 97.34134327193351 95.89968947269672 97.14490895329483
Costa Rica Female 2460 394.3120781626005 451.45109964227646 422.7724148699181 58.31407077189274 62.11854758401413 60.217518609438685
Costa Rica Male 2142 419.3663726143795 428.21453491129773 436.35547299719826 65.02830072669629 69.27299929445144 65.43706912819749
Croatia Female 2480 463.7641401451603 508.26630137903237 491.42592384677425 79.8824860477274 72.27181139954497 75.21475710482065
Croatia Male 2528 476.0693564636078 460.59539320411386 489.26046158227854 88.72822560308565 84.17338609473526 85.52231937330801
Czech Republic Female 2680 514.1966595597017 531.7553561343286 526.423782977612 92.67735180351559 81.90554082792667 84.26905351788918
Czech Republic Male 2647 525.9990244427651 492.8288305628997 527.9880507215715 95.76212641688346 86.28028439273565 89.52517085838228
Denmark Female 3777 479.25340384961675 499.05624701614977 476.585685649986 83.2853649022262 81.80126851518025 91.47460623201023
Denmark Male 3704 493.3668843574523 467.9186867926571 487.72906326133784 83.35744186613432 86.59913476439236 95.53554734468358
Estonia Female 2409 519.6670863345788 539.8697576006637 544.1446724699036 75.11349100631786 69.9549636263494 73.41321899132288
Estonia Male 2370 525.058518514768 496.1899637215194 542.3241689367077 80.29991168079097 77.25295127678417 78.95863928145984
Finland Female 4370 506.8541690205952 540.1036338581248 534.0374716018315 83.50039347903727 87.5592556300011 91.64133693199285
Finland Male 4459 507.7881682484876 481.80277253195726 521.4183953621887 89.961400557303 95.47341005904013 99.09974443286015
Florida (USA) Female 952 457.1351329411763 499.7759438865547 475.854322962185 78.51062810544657 79.59170279299488 82.32594016974824
Florida (USA) Male 944 471.9973939194916 478.45946995762716 488.7923253813558 84.18750278310333 86.24820792683798 91.60334680294406
France Female 2375 493.6278809010516 529.638091696842 503.0512174484201 89.35356453434954 94.86340251421285 89.54473504543034
France Male 2238 503.414509830205 487.174019571046 501.6903612511171 98.81687999754892 108.49941147232731 101.136156120695
Germany Female 2462 506.5854767424855 529.5393664094231 524.0844647928507 91.80855490912138 83.60148635879713 90.49410729099492
Germany Male 2539 520.9411755809373 485.92691654982315 524.1164568727843 96.04929408493001 89.22609262501378 95.04555741249631
Greece Female 2576 449.4195160403717 502.6692575388203 473.991566343168 77.9583174981786 80.12064415128293 76.13583537705955
Greece Male 2549 457.6525647077279 452.1660133856422 460.89856221263136 89.52321567237564 98.47049496818988 88.52612271572481
Hong Kong-China Female 2161 553.1153247107826 558.615271392873 551.8098371309583 87.36581438912279 75.98803089555331 74.78485029621004
Hong Kong-China Male 2509 567.8880821761641 532.3829808688716 557.7224336149868 98.10318584315786 86.25160427057659 84.34836000501707
Hungary Female 2529 479.27385202056195 513.4734237722408 499.30045312771824 84.60874860530647 78.67300959887005 81.83207934105168
Hungary Male 2281 491.0732969750105 477.04287207365223 504.20340671635364 92.89566223992199 88.37057170207234 88.55809858943509
Iceland Female 1739 496.11905875790677 508.714263783784 479.602837987349 84.64852602744243 83.22922244570972 90.08779558729043
Iceland Male 1769 489.78948494064485 457.2547238892027 476.5603223063873 92.14617754144601 95.8457734124098 98.57728704032307
Indonesia Female 2860 373.65374544056 411.30980409090927 384.72438083216855 64.2129057244211 64.76193955610395 60.530651762328645
Indonesia Male 2762 377.66002666908014 382.416165018103 380.6949885155685 67.03993345188873 70.01792228709745 63.94987697875242
Ireland Female 2545 493.472457123772 537.711601225934 520.1057943654224 80.21681225447513 78.42893239991663 85.67273305312837
Ireland Male 2471 509.31093837312767 509.05949667341116 524.2772295750702 82.82147027101045 84.84828182637816 90.37100200135464
Israel Female 2825 462.33109113628245 509.4520161911508 472.05487306902637 91.27026590183665 92.2353728386902 91.88090913945682
Israel Male 2230 476.41897593721905 468.46173709417064 475.220075426009 108.91978902333064 114.94414895470669 110.7190889224603
Italy Female 15243 481.79460169651765 514.711611405889 498.424981430165 82.72157904218416 82.80392745475604 82.815575792325
Italy Male 15830 501.94160140619255 476.53776988123866 501.8244773632317 91.61015979022837 95.11695484594804 91.3704815841783
Japan Female 3021 525.729332386627 549.2284002648122 539.5049022310477 86.21307789342168 87.40258545260322 87.16610825689963
Japan Male 3330 545.175055261261 527.2842330090101 552.6809441501507 94.94680297912963 99.86386971229712 95.89564820019758
Jordan Female 3615 394.21833344951733 434.57175607745467 427.5607298201932 63.924819310801674 66.91922720133468 66.48918884917776
Jordan Male 3423 370.6159348758387 356.3229818171213 380.7541197721299 77.55952979413668 88.27185831453768 81.71922586378793
Kazakhstan Female 2931 431.14588495394054 413.0605168474924 430.8131654998301 65.19535345358513 63.804304955730935 65.29566477622848
Kazakhstan Male 2877 431.2186983663536 374.8723596802222 421.3241728258612 69.17446085413185 71.3825446704722 71.37570015919744
Korea Female 2342 544.913138958156 548.9525144064897 536.5986677625958 88.86692320530703 74.40883965512043 73.03318099143372
Korea Male 2691 561.4445982905984 524.3630211148271 538.905375548123 101.92915233524084 89.55664299315632 83.33174708080914
Latvia Female 2185 496.3149119267732 521.011872027459 512.6002364576656 74.91864369603458 69.42895640146934 69.33404921234253
Latvia Male 2109 494.7564797155047 469.56956099573245 499.49230865813115 80.86112520106673 78.6161559984054 76.98226444042204
Liechtenstein Female 138 526.1366272463767 530.5553298550725 517.7511889855072 92.95746343854788 84.45451679285766 81.52770184751326
Liechtenstein Male 155 550.2382033548383 507.3429024516131 536.3658252903227 89.60481108189362 82.28190626002826 80.66847593582003
Lithuania Female 2272 479.58460954225444 506.32458740316804 504.6023855721837 82.43090430356278 72.65164454473694 75.81921852560218
Lithuania Male 2301 480.5586231029978 452.28956968274605 490.5395393568011 88.60304795687404 81.54117671296203 83.83057306255814
Luxembourg Female 2581 477.8487820922117 503.7586212088334 484.3966847191004 89.65012076519902 94.58218915565398 95.54928063193049
Luxembourg Male 2677 502.66569190885457 473.5833641987296 499.2848301830401 93.22800592616927 103.11882593777784 100.89394811400771
Macao-China Female 2604 536.7491718817198 527.2337517511521 521.2580587250384 88.3906411976525 70.59496697444331 70.57052354675226
Macao-China Male 2731 539.8173723471258 491.801650567558 520.1491606517778 94.16865496231384 80.48115850133914 78.23501356556183
Malaysia Female 2745 425.3288210054636 418.7820915555541 425.86238931876136 75.40675126336642 72.10125304165298 71.18622791899273
Malaysia Male 2452 418.200700880913 379.43186470636164 415.6500741435564 79.34975506431263 79.46171332465703 76.56151209463599
Massachusetts (USA) Female 892 501.8828276008969 535.4418936547079 518.3674805605382 92.90967021608043 91.74245096764173 92.98311554909563
Massachusetts (USA) Male 831 511.4264883754514 503.7364275812275 521.3503139109505 97.33749556675663 95.46224899539638 96.37116898573134
Mexico Female 17553 411.9851862655942 440.77464208283516 416.2423912903794 67.58794999206852 70.49328300837348 63.23986732947675
Mexico Male 16253 425.7439200676796 416.1782791890708 423.06028401772085 72.33050278948868 75.81268299217781 68.1667578527028
Montenegro Female 2373 406.030699637589 450.22229868520833 416.0184121871046 75.49237271850305 76.66011646587816 75.98023746297179
Montenegro Male 2371 407.4264805061162 389.7198429186003 400.3707061661752 79.30225129097886 84.37366424429794 80.65215158697129
Netherlands Female 2145 514.153621407925 521.3403365967371 516.4343485221448 88.68367923465496 85.5033320914897 91.14532051221765
Netherlands Male 2315 522.6038756889849 492.49955091144807 518.0952592051839 91.42504796822514 93.6928456890446 94.6011870794119
New Zealand Female 2130 494.11306004694853 532.035993868545 515.9479500469489 90.66659471471002 94.41200295088339 94.63720332400041
New Zealand Male 2159 507.2801221398798 496.07224826308396 518.8843085131997 101.14326940198879 104.47058207672116 106.40907379353543
Norway Female 2291 488.060328878218 527.5118808206017 495.90109832387503 84.30127583651125 87.15959103157729 91.33652823562059
Norway Male 2395 490.57913237578344 481.993293002087 493.105234797495 89.5344859434891 97.56256025044912 97.71215510735212
Perm(Russian Federation) Female 862 481.6373336658929 504.8834885150809 480.76941696055684 79.69850090717608 81.45499201886335 73.94492680677264
Perm(Russian Federation) Male 899 489.8794363070073 469.5563554838706 484.28976682981073 89.73151527197197 89.63606142828549 86.86937588698535
Peru Female 3118 357.7013988133424 393.77561808210305 369.46734397049465 77.93048920611777 86.71120310507092 72.34881990790677
Peru Male 2917 378.71792383956154 374.4882337058621 377.6870251971207 79.8347672634439 85.93702004753749 70.93238362305856
Poland Female 2388 518.8153792546062 541.3744870435514 529.9332589028475 84.58511888591657 74.86924675476719 78.64978695649975
Poland Male 2219 522.3598213609729 498.58294624605634 526.4285131680932 92.3088694857925 87.7333967482024 86.50639301135386
Portugal Female 2670 487.1967469288394 513.1719820973778 495.9372862022469 83.34196509400178 75.28514606233173 76.42456328318826
Portugal Male 2539 505.819724623867 480.69519591965434 500.1991529814892 87.84567411734103 83.43993076777168 81.58817373067997
Qatar Female 5305 384.5095021866169 423.61798857304353 401.4450308049009 88.1016652306504 89.71739907718116 92.13930288799865
Qatar Male 5661 368.6827607701816 353.47346557498474 366.7448037131251 101.93091791165168 110.53501058614188 105.76063116456419
Romania Female 2572 442.97750913685775 458.4429932581646 441.56893097200543 74.741939050265 79.72110361681611 71.60205859894062
Romania Male 2502 447.25958480415653 418.33108184652303 436.9054472422072 78.5661899467287 83.77982108477379 75.38358906220044
Russian Federation Female 2614 483.8311878270842 496.3921296327483 489.5147406579958 82.12190543828034 80.79770492237141 77.28989691584444
Russian Federation Male 2617 482.10014330149045 455.4901613603375 483.69741735575064 84.37007504317953 87.6989415291312 83.4246394981221
Serbia Female 2368 442.11200773648613 467.8401247804045 445.45710665540594 85.49373974696633 81.19953112785767 79.96272901737284
Serbia Male 2316 452.92219316925696 423.07878815198643 442.3915103108814 87.46946801930284 87.02603032488568 83.57568278188359
Singapore Female 2752 571.5087629869181 554.817410356105 548.2333687354659 96.33390393912234 90.728712002012 94.90806490623866
Singapore Male 2794 565.6297072798859 520.923544473873 545.4336726270576 107.11506189578293 99.84868809029842 106.10662588743045
Slovak Republic Female 2231 481.1497503541015 489.1511875661139 472.9482545674586 95.94962802295942 96.71357412852429 95.33159632767757
Slovak Republic Male 2447 489.78833226808274 448.52145395177735 479.2613014711884 101.78115094532605 101.70788119887034 100.6512175611403
Slovenia Female 2699 482.8825052019268 494.8312186439421 501.9757268469809 85.86121402853475 80.99881162018384 85.50595890386933
Slovenia Male 3212 485.90931087173055 434.3815327397259 491.1135468430879 88.66807346555458 91.16704458934097 91.52237375761783
Spain Female 12690 488.13265403151837 509.39877196375085 500.7770509219862 81.56518942292887 81.24151013661624 78.55532929662766
Spain Male 12623 502.7818200459498 478.3937586453282 507.8482839483492 89.24236215486276 91.41701031095211 86.23670837297834
Sweden Female 2378 480.2386300504629 510.11684993271604 489.72154375946195 84.20644004846201 91.3932538233913 89.08776500530617
Sweden Male 2358 478.2269057930451 459.9800780916031 482.94184659033107 92.13703240872775 104.66009090645015 100.40642084245395
Switzerland Female 5579 515.1380256031547 516.4190933894972 500.5931316795121 87.74567955264932 80.14239472420411 83.32794159360512
Switzerland Male 5650 526.7248916530982 479.40792910796375 506.88689309026466 91.44787376089465 86.02259830321593 86.89346911250459
Thailand Female 3736 447.6833070770876 476.7862323715201 464.87469399357644 87.35087265785073 71.47774421138988 76.04041405193323
Thailand Male 2870 433.25759251568013 422.1755903693372 444.67269928919893 90.17882006115828 78.94237396296853 81.91058396309306
Tunisia Female 2390 380.4818138075309 417.5389395146448 397.30112969037594 72.6473532918053 77.83184444561826 71.09982731236197
Tunisia Male 2017 395.6724091918687 387.114543480417 398.45954966782347 75.06009151913211 84.06106347272521 74.02860661857405
Turkey Female 2370 442.4550537215197 497.33726117299557 467.467622075949 85.16364475750532 74.61867900429102 71.44062211703582
Turkey Male 2478 455.98609397901606 455.44541324455207 460.8125235593231 94.00753459631359 84.35699205872906 80.61528550456781
United Arab Emirates Female 5792 434.4628726830093 466.70680531768124 459.93499128798385 80.29674429109723 80.62349425167069 82.74468799233316
United Arab Emirates Male 5708 428.21681029082015 407.21119298177916 429.4637970953046 93.29347743328617 96.94468229932501 96.08911939379561
United Kingdom Female 6307 483.48046882828635 510.6506674012985 504.26287225305055 87.41292753791136 86.51237106880939 91.85750336375422
United Kingdom Male 6351 495.9282833349087 485.571230521177 514.9200464619748 88.91143430218709 90.47612003743183 93.85035513540126
United States of America Female 2453 478.1890280146754 512.6356330860165 498.1433947248265 84.35899655543957 82.77908016037351 86.19160712161147
United States of America Male 2525 485.0998195405938 483.8400848712883 498.1942232237618 88.73420119937201 90.45934660168302 93.5084257219506
Uruguay Female 2826 404.85877897381437 429.030456914366 417.4090399646147 79.88196642643757 81.93791347426765 84.1479185040902
Uruguay Male 2489 417.9622274809166 395.3410182241861 417.86874467657714 88.48137072589985 93.77776398010575 94.65099668127401
Vietnam Female 2576 508.52841622670763 524.6747619099385 529.6649291925464 76.71153595226896 61.26218660457992 67.48084772008855
Vietnam Male 2194 520.5205083956249 495.6725121057438 532.4558732816769 83.95805970437723 69.94879822814018 74.96346910315901
country allgrades_bucket the_count
Albania 250 2
Albania 300 9
Albania 350 16
Albania 400 22
Albania 450 33
Albania 500 38
Albania 550 33
Albania 600 40
Albania 650 32
Albania 700 54
Albania 750 73
Albania 800 111
Albania 850 140
Albania 900 206
Albania 950 208
Albania 1000 269
Albania 1050 308
Albania 1100 374
Albania 1150 378
Albania 1200 407
Albania 1250 357
Albania 1300 326
Albania 1350 282
Albania 1400 261
Albania 1450 228
Albania 1500 151
Albania 1550 125
Albania 1600 99
Albania 1650 58
Albania 1700 54
Albania 1750 25
Albania 1800 11
Albania 1850 8
Albania 1900 3
Albania 1950 1
Albania 2100 1
Argentina 200 2
Argentina 250 4
Argentina 300 5
Argentina 350 1
Argentina 400 3
Argentina 450 9
Argentina 500 13
Argentina 550 14
Argentina 600 35
Argentina 650 56
Argentina 700 65
Argentina 750 92
Argentina 800 127
Argentina 850 189
Argentina 900 231
Argentina 950 313
Argentina 1000 362
Argentina 1050 409
Argentina 1100 429
Argentina 1150 447
Argentina 1200 492
Argentina 1250 446
Argentina 1300 443
Argentina 1350 393
Argentina 1400 337
Argentina 1450 295
Argentina 1500 224
Argentina 1550 176
Argentina 1600 109
Argentina 1650 71
Argentina 1700 53
Argentina 1750 32
Argentina 1800 19
Argentina 1850 8
Argentina 1900 2
Argentina 1950 2
Australia 250 2
Australia 300 1
Australia 400 2
Australia 450 1
Australia 500 5
Australia 550 5
Australia 600 11
Australia 650 21
Australia 700 30
Australia 750 46
Australia 800 65
Australia 850 108
Australia 900 121
Australia 950 178
Australia 1000 241
Australia 1050 313
Australia 1100 424
Australia 1150 507
Australia 1200 631
Australia 1250 772
Australia 1300 815
Australia 1350 845
Australia 1400 890
Australia 1450 932
Australia 1500 1006
Australia 1550 942
Australia 1600 973
Australia 1650 876
Australia 1700 760
Australia 1750 639
Australia 1800 617
Australia 1850 502
Australia 1900 386
Australia 1950 287
Australia 2000 212
Australia 2050 135
Australia 2100 78
Australia 2150 55
Australia 2200 27
Australia 2250 11
Australia 2300 8
Australia 2350 1
Austria 700 5
Austria 750 7
Austria 800 14
Austria 850 18
Austria 900 29
Austria 950 51
Austria 1000 69
Austria 1050 118
Austria 1100 125
Austria 1150 156
Austria 1200 203
Austria 1250 234
Austria 1300 286
Austria 1350 294
Austria 1400 319
Austria 1450 314
Austria 1500 324
Austria 1550 344
Austria 1600 361
Austria 1650 318
Austria 1700 302
Austria 1750 253
Austria 1800 208
Austria 1850 171
Austria 1900 100
Austria 1950 60
Austria 2000 38
Austria 2050 20
Austria 2100 8
Austria 2150 4
Austria 2200 2
Belgium 400 1
Belgium 500 1
Belgium 550 4
Belgium 600 4
Belgium 650 7
Belgium 700 11
Belgium 750 22
Belgium 800 40
Belgium 850 47
Belgium 900 80
Belgium 950 82
Belgium 1000 129
Belgium 1050 144
Belgium 1100 190
Belgium 1150 239
Belgium 1200 299
Belgium 1250 335
Belgium 1300 354
Belgium 1350 476
Belgium 1400 460
Belgium 1450 528
Belgium 1500 541
Belgium 1550 581
Belgium 1600 592
Belgium 1650 571
Belgium 1700 576
Belgium 1750 496
Belgium 1800 456
Belgium 1850 371
Belgium 1900 319
Belgium 1950 222
Belgium 2000 152
Belgium 2050 70
Belgium 2100 40
Belgium 2150 32
Belgium 2200 8
Belgium 2250 2
Belgium 2300 1
Brazil 450 2
Brazil 500 8
Brazil 550 12
Brazil 600 25
Brazil 650 67
Brazil 700 134
Brazil 750 231
Brazil 800 455
Brazil 850 719
Brazil 900 991
Brazil 950 1323
Brazil 1000 1614
Brazil 1050 1753
Brazil 1100 1810
Brazil 1150 1791
Brazil 1200 1608
Brazil 1250 1479
Brazil 1300 1218
Brazil 1350 999
Brazil 1400 802
Brazil 1450 633
Brazil 1500 473
Brazil 1550 350
Brazil 1600 236
Brazil 1650 184
Brazil 1700 115
Brazil 1750 86
Brazil 1800 43
Brazil 1850 23
Brazil 1900 16
Brazil 1950 3
Brazil 2000 1
Bulgaria 400 2
Bulgaria 450 1
Bulgaria 500 6
Bulgaria 550 8
Bulgaria 600 12
Bulgaria 650 27
Bulgaria 700 38
Bulgaria 750 45
Bulgaria 800 106
Bulgaria 850 113
Bulgaria 900 138
Bulgaria 950 198
Bulgaria 1000 227
Bulgaria 1050 246
Bulgaria 1100 285
Bulgaria 1150 304
Bulgaria 1200 305
Bulgaria 1250 311
Bulgaria 1300 321
Bulgaria 1350 341
Bulgaria 1400 368
Bulgaria 1450 272
Bulgaria 1500 329
Bulgaria 1550 271
Bulgaria 1600 250
Bulgaria 1650 177
Bulgaria 1700 180
Bulgaria 1750 141
Bulgaria 1800 95
Bulgaria 1850 71
Bulgaria 1900 39
Bulgaria 1950 27
Bulgaria 2000 16
Bulgaria 2050 8
Bulgaria 2100 3
Bulgaria 2150 1
Canada 400 1
Canada 500 1
Canada 600 3
Canada 650 5
Canada 700 8
Canada 750 22
Canada 800 45
Canada 850 60
Canada 900 102
Canada 950 161
Canada 1000 263
Canada 1050 347
Canada 1100 494
Canada 1150 583
Canada 1200 766
Canada 1250 936
Canada 1300 1147
Canada 1350 1297
Canada 1400 1503
Canada 1450 1628
Canada 1500 1686
Canada 1550 1675
Canada 1600 1586
Canada 1650 1524
Canada 1700 1350
Canada 1750 1162
Canada 1800 964
Canada 1850 759
Canada 1900 552
Canada 1950 396
Canada 2000 222
Canada 2050 157
Canada 2100 74
Canada 2150 42
Canada 2200 18
Canada 2250 4
Canada 2300 1
Chile 650 1
Chile 700 3
Chile 750 10
Chile 800 27
Chile 850 55
Chile 900 98
Chile 950 156
Chile 1000 252
Chile 1050 284
Chile 1100 399
Chile 1150 458
Chile 1200 533
Chile 1250 531
Chile 1300 478
Chile 1350 490
Chile 1400 498
Chile 1450 494
Chile 1500 464
Chile 1550 417
Chile 1600 334
Chile 1650 271
Chile 1700 229
Chile 1750 161
Chile 1800 87
Chile 1850 72
Chile 1900 28
Chile 1950 15
Chile 2000 7
Chile 2050 2
Chile 2100 1
Chile 2200 1
China-Shanghai 550 1
China-Shanghai 700 1
China-Shanghai 850 2
China-Shanghai 900 4
China-Shanghai 950 4
China-Shanghai 1000 9
China-Shanghai 1050 16
China-Shanghai 1100 25
China-Shanghai 1150 36
China-Shanghai 1200 60
China-Shanghai 1250 74
China-Shanghai 1300 86
China-Shanghai 1350 132
China-Shanghai 1400 175
China-Shanghai 1450 200
China-Shanghai 1500 238
China-Shanghai 1550 258
China-Shanghai 1600 295
China-Shanghai 1650 321
China-Shanghai 1700 350
China-Shanghai 1750 393
China-Shanghai 1800 430
China-Shanghai 1850 442
China-Shanghai 1900 392
China-Shanghai 1950 374
China-Shanghai 2000 296
China-Shanghai 2050 236
China-Shanghai 2100 157
China-Shanghai 2150 79
China-Shanghai 2200 50
China-Shanghai 2250 25
China-Shanghai 2300 7
China-Shanghai 2350 3
China-Shanghai 2400 3
China-Shanghai 2450 3
Chinese Taipei 600 2
Chinese Taipei 650 6
Chinese Taipei 700 2
Chinese Taipei 750 7
Chinese Taipei 800 4
Chinese Taipei 850 19
Chinese Taipei 900 35
Chinese Taipei 950 41
Chinese Taipei 1000 65
Chinese Taipei 1050 85
Chinese Taipei 1100 105
Chinese Taipei 1150 167
Chinese Taipei 1200 175
Chinese Taipei 1250 204
Chinese Taipei 1300 229
Chinese Taipei 1350 247
Chinese Taipei 1400 290
Chinese Taipei 1450 338
Chinese Taipei 1500 394
Chinese Taipei 1550 381
Chinese Taipei 1600 412
Chinese Taipei 1650 440
Chinese Taipei 1700 441
Chinese Taipei 1750 397
Chinese Taipei 1800 400
Chinese Taipei 1850 331
Chinese Taipei 1900 271
Chinese Taipei 1950 211
Chinese Taipei 2000 159
Chinese Taipei 2050 83
Chinese Taipei 2100 50
Chinese Taipei 2150 28
Chinese Taipei 2200 22
Chinese Taipei 2250 3
Chinese Taipei 2300 1
Chinese Taipei 2350 1
Colombia 550 9
Colombia 600 13
Colombia 650 22
Colombia 700 49
Colombia 750 91
Colombia 800 149
Colombia 850 249
Colombia 900 349
Colombia 950 474
Colombia 1000 659
Colombia 1050 751
Colombia 1100 875
Colombia 1150 835
Colombia 1200 866
Colombia 1250 816
Colombia 1300 661
Colombia 1350 562
Colombia 1400 459
Colombia 1450 382
Colombia 1500 273
Colombia 1550 187
Colombia 1600 119
Colombia 1650 90
Colombia 1700 61
Colombia 1750 28
Colombia 1800 19
Colombia 1850 10
Colombia 1900 8
Colombia 1950 6
Colombia 2000 1
Costa Rica 550 1
Costa Rica 700 2
Costa Rica 750 8
Costa Rica 800 16
Costa Rica 850 34
Costa Rica 900 84
Costa Rica 950 117
Costa Rica 1000 189
Costa Rica 1050 261
Costa Rica 1100 392
Costa Rica 1150 474
Costa Rica 1200 506
Costa Rica 1250 533
Costa Rica 1300 511
Costa Rica 1350 437
Costa Rica 1400 325
Costa Rica 1450 219
Costa Rica 1500 160
Costa Rica 1550 129
Costa Rica 1600 75
Costa Rica 1650 63
Costa Rica 1700 26
Costa Rica 1750 15
Costa Rica 1800 17
Costa Rica 1850 5
Costa Rica 1900 1
Costa Rica 1950 1
Costa Rica 2000 1
Croatia 650 1
Croatia 700 5
Croatia 750 8
Croatia 800 11
Croatia 850 22
Croatia 900 34
Croatia 950 57
Croatia 1000 105
Croatia 1050 127
Croatia 1100 181
Croatia 1150 252
Croatia 1200 273
Croatia 1250 337
Croatia 1300 357
Croatia 1350 375
Croatia 1400 388
Croatia 1450 421
Croatia 1500 363
Croatia 1550 362
Croatia 1600 314
Croatia 1650 276
Croatia 1700 230
Croatia 1750 168
Croatia 1800 128
Croatia 1850 85
Croatia 1900 62
Croatia 1950 30
Croatia 2000 24
Croatia 2050 8
Croatia 2100 2
Croatia 2150 1
Croatia 2200 1
Czech Republic 500 1
Czech Republic 600 1
Czech Republic 700 4
Czech Republic 750 7
Czech Republic 800 5
Czech Republic 850 15
Czech Republic 900 27
Czech Republic 950 39
Czech Republic 1000 44
Czech Republic 1050 78
Czech Republic 1100 99
Czech Republic 1150 143
Czech Republic 1200 181
Czech Republic 1250 253
Czech Republic 1300 265
Czech Republic 1350 305
Czech Republic 1400 309
Czech Republic 1450 345
Czech Republic 1500 402
Czech Republic 1550 372
Czech Republic 1600 401
Czech Republic 1650 363
Czech Republic 1700 362
Czech Republic 1750 310
Czech Republic 1800 269
Czech Republic 1850 251
Czech Republic 1900 165
Czech Republic 1950 127
Czech Republic 2000 83
Czech Republic 2050 53
Czech Republic 2100 29
Czech Republic 2150 11
Czech Republic 2200 4
Czech Republic 2250 2
Czech Republic 2300 1
Czech Republic 2350 1
Denmark 550 1
Denmark 600 1
Denmark 650 7
Denmark 700 15
Denmark 750 24
Denmark 800 28
Denmark 850 53
Denmark 900 95
Denmark 950 89
Denmark 1000 145
Denmark 1050 213
Denmark 1100 266
Denmark 1150 303
Denmark 1200 401
Denmark 1250 430
Denmark 1300 478
Denmark 1350 530
Denmark 1400 536
Denmark 1450 547
Denmark 1500 606
Denmark 1550 524
Denmark 1600 477
Denmark 1650 418
Denmark 1700 352
Denmark 1750 289
Denmark 1800 239
Denmark 1850 169
Denmark 1900 129
Denmark 1950 59
Denmark 2000 34
Denmark 2050 15
Denmark 2100 6
Denmark 2150 2
Estonia 750 1
Estonia 800 2
Estonia 850 2
Estonia 900 5
Estonia 950 8
Estonia 1000 18
Estonia 1050 32
Estonia 1100 54
Estonia 1150 85
Estonia 1200 118
Estonia 1250 156
Estonia 1300 239
Estonia 1350 273
Estonia 1400 335
Estonia 1450 352
Estonia 1500 430
Estonia 1550 428
Estonia 1600 385
Estonia 1650 379
Estonia 1700 348
Estonia 1750 309
Estonia 1800 253
Estonia 1850 218
Estonia 1900 130
Estonia 1950 79
Estonia 2000 62
Estonia 2050 44
Estonia 2100 19
Estonia 2150 11
Estonia 2200 4
Finland 500 1
Finland 550 3
Finland 600 5
Finland 650 6
Finland 700 13
Finland 750 18
Finland 800 27
Finland 850 43
Finland 900 82
Finland 950 84
Finland 1000 113
Finland 1050 149
Finland 1100 161
Finland 1150 238
Finland 1200 284
Finland 1250 363
Finland 1300 432
Finland 1350 448
Finland 1400 550
Finland 1450 612
Finland 1500 609
Finland 1550 657
Finland 1600 687
Finland 1650 630
Finland 1700 558
Finland 1750 517
Finland 1800 423
Finland 1850 348
Finland 1900 271
Finland 1950 206
Finland 2000 136
Finland 2050 70
Finland 2100 43
Finland 2150 28
Finland 2200 10
Finland 2250 4
France 450 1
France 500 1
France 550 2
France 600 5
France 650 7
France 700 10
France 750 15
France 800 27
France 850 33
France 900 46
France 950 81
France 1000 80
France 1050 103
France 1100 119
France 1150 154
France 1200 193
France 1250 208
France 1300 200
France 1350 242
France 1400 276
France 1450 309
France 1500 320
France 1550 317
France 1600 302
France 1650 295
France 1700 282
France 1750 258
France 1800 226
France 1850 187
France 1900 100
France 1950 92
France 2000 56
France 2050 35
France 2100 15
France 2150 10
France 2200 4
France 2250 1
France 2300 1
Germany 650 7
Germany 700 3
Germany 750 11
Germany 800 7
Germany 850 27
Germany 900 27
Germany 950 41
Germany 1000 73
Germany 1050 88
Germany 1100 129
Germany 1150 140
Germany 1200 195
Germany 1250 215
Germany 1300 221
Germany 1350 267
Germany 1400 306
Germany 1450 343
Germany 1500 323
Germany 1550 349
Germany 1600 332
Germany 1650 356
Germany 1700 345
Germany 1750 287
Germany 1800 267
Germany 1850 225
Germany 1900 146
Germany 1950 111
Germany 2000 87
Germany 2050 43
Germany 2100 16
Germany 2150 9
Germany 2200 4
Germany 2250 1
Greece 300 1
Greece 450 1
Greece 500 1
Greece 600 3
Greece 650 12
Greece 700 13
Greece 750 21
Greece 800 36
Greece 850 51
Greece 900 84
Greece 950 111
Greece 1000 127
Greece 1050 168
Greece 1100 218
Greece 1150 231
Greece 1200 279
Greece 1250 308
Greece 1300 376
Greece 1350 415
Greece 1400 447
Greece 1450 397
Greece 1500 378
Greece 1550 374
Greece 1600 286
Greece 1650 240
Greece 1700 189
Greece 1750 146
Greece 1800 92
Greece 1850 46
Greece 1900 34
Greece 1950 21
Greece 2000 13
Greece 2050 4
Greece 2100 2
Hong Kong-China 600 1
Hong Kong-China 700 3
Hong Kong-China 750 5
Hong Kong-China 800 2
Hong Kong-China 850 5
Hong Kong-China 900 7
Hong Kong-China 950 26
Hong Kong-China 1000 28
Hong Kong-China 1050 42
Hong Kong-China 1100 35
Hong Kong-China 1150 71
Hong Kong-China 1200 72
Hong Kong-China 1250 126
Hong Kong-China 1300 118
Hong Kong-China 1350 160
Hong Kong-China 1400 190
Hong Kong-China 1450 227
Hong Kong-China 1500 259
Hong Kong-China 1550 342
Hong Kong-China 1600 333
Hong Kong-China 1650 374
Hong Kong-China 1700 405
Hong Kong-China 1750 386
Hong Kong-China 1800 374
Hong Kong-China 1850 318
Hong Kong-China 1900 265
Hong Kong-China 1950 192
Hong Kong-China 2000 137
Hong Kong-China 2050 87
Hong Kong-China 2100 46
Hong Kong-China 2150 23
Hong Kong-China 2200 7
Hong Kong-China 2250 4
Hungary 450 1
Hungary 650 2
Hungary 700 2
Hungary 750 7
Hungary 800 13
Hungary 850 22
Hungary 900 38
Hungary 950 59
Hungary 1000 87
Hungary 1050 119
Hungary 1100 148
Hungary 1150 182
Hungary 1200 204
Hungary 1250 247
Hungary 1300 286
Hungary 1350 347
Hungary 1400 368
Hungary 1450 349
Hungary 1500 387
Hungary 1550 354
Hungary 1600 336
Hungary 1650 257
Hungary 1700 244
Hungary 1750 241
Hungary 1800 184
Hungary 1850 114
Hungary 1900 92
Hungary 1950 58
Hungary 2000 34
Hungary 2050 16
Hungary 2100 10
Hungary 2150 1
Hungary 2250 1
Iceland 450 1
Iceland 500 1
Iceland 550 2
Iceland 600 4
Iceland 650 6
Iceland 700 13
Iceland 750 11
Iceland 800 25
Iceland 850 22
Iceland 900 40
Iceland 950 72
Iceland 1000 69
Iceland 1050 90
Iceland 1100 110
Iceland 1150 131
Iceland 1200 153
Iceland 1250 210
Iceland 1300 237
Iceland 1350 233
Iceland 1400 240
Iceland 1450 257
Iceland 1500 254
Iceland 1550 272
Iceland 1600 205
Iceland 1650 201
Iceland 1700 178
Iceland 1750 139
Iceland 1800 116
Iceland 1850 84
Iceland 1900 66
Iceland 1950 34
Iceland 2000 15
Iceland 2050 8
Iceland 2100 6
Iceland 2150 3
Indonesia 500 2
Indonesia 550 5
Indonesia 600 7
Indonesia 650 15
Indonesia 700 25
Indonesia 750 75
Indonesia 800 121
Indonesia 850 180
Indonesia 900 296
Indonesia 950 394
Indonesia 1000 493
Indonesia 1050 596
Indonesia 1100 596
Indonesia 1150 644
Indonesia 1200 523
Indonesia 1250 474
Indonesia 1300 341
Indonesia 1350 282
Indonesia 1400 192
Indonesia 1450 142
Indonesia 1500 97
Indonesia 1550 55
Indonesia 1600 34
Indonesia 1650 19
Indonesia 1700 7
Indonesia 1750 2
Indonesia 1800 5
Ireland 500 1
Ireland 600 2
Ireland 650 1
Ireland 700 4
Ireland 750 4
Ireland 800 3
Ireland 850 12
Ireland 900 18
Ireland 950 33
Ireland 1000 51
Ireland 1050 88
Ireland 1100 92
Ireland 1150 112
Ireland 1200 157
Ireland 1250 204
Ireland 1300 262
Ireland 1350 294
Ireland 1400 355
Ireland 1450 391
Ireland 1500 396
Ireland 1550 376
Ireland 1600 385
Ireland 1650 375
Ireland 1700 336
Ireland 1750 296
Ireland 1800 231
Ireland 1850 183
Ireland 1900 143
Ireland 1950 95
Ireland 2000 47
Ireland 2050 33
Ireland 2100 19
Ireland 2150 11
Ireland 2200 6
Israel 400 2
Israel 500 5
Israel 550 7
Israel 600 9
Israel 650 12
Israel 700 22
Israel 750 40
Israel 800 48
Israel 850 68
Israel 900 95
Israel 950 103
Israel 1000 135
Israel 1050 173
Israel 1100 183
Israel 1150 203
Israel 1200 264
Israel 1250 264
Israel 1300 288
Israel 1350 307
Israel 1400 314
Israel 1450 295
Israel 1500 332
Israel 1550 335
Israel 1600 292
Israel 1650 265
Israel 1700 260
Israel 1750 216
Israel 1800 157
Israel 1850 114
Israel 1900 94
Israel 1950 68
Israel 2000 45
Israel 2050 26
Israel 2100 10
Israel 2150 4
Italy 250 1
Italy 350 1
Italy 450 1
Italy 500 1
Italy 550 6
Italy 600 9
Italy 650 25
Italy 700 35
Italy 750 72
Italy 800 78
Italy 850 160
Italy 900 288
Italy 950 383
Italy 1000 527
Italy 1050 703
Italy 1100 897
Italy 1150 1097
Italy 1200 1254
Italy 1250 1568
Italy 1300 1823
Italy 1350 2010
Italy 1400 2214
Italy 1450 2383
Italy 1500 2463
Italy 1550 2307
Italy 1600 2215
Italy 1650 2011
Italy 1700 1806
Italy 1750 1432
Italy 1800 1144
Italy 1850 811
Italy 1900 568
Italy 1950 373
Italy 2000 235
Italy 2050 102
Italy 2100 48
Italy 2150 13
Italy 2200 7
Italy 2300 2
Japan 600 1
Japan 650 3
Japan 700 6
Japan 750 11
Japan 800 16
Japan 850 12
Japan 900 25
Japan 950 56
Japan 1000 54
Japan 1050 63
Japan 1100 84
Japan 1150 112
Japan 1200 165
Japan 1250 166
Japan 1300 242
Japan 1350 293
Japan 1400 310
Japan 1450 366
Japan 1500 390
Japan 1550 416
Japan 1600 465
Japan 1650 469
Japan 1700 483
Japan 1750 441
Japan 1800 423
Japan 1850 334
Japan 1900 285
Japan 1950 235
Japan 2000 166
Japan 2050 123
Japan 2100 65
Japan 2150 41
Japan 2200 16
Japan 2250 8
Japan 2300 4
Japan 2350 2
Jordan 200 2
Jordan 250 1
Jordan 300 1
Jordan 350 4
Jordan 400 6
Jordan 450 12
Jordan 500 18
Jordan 550 31
Jordan 600 32
Jordan 650 63
Jordan 700 76
Jordan 750 109
Jordan 800 170
Jordan 850 196
Jordan 900 301
Jordan 950 381
Jordan 1000 459
Jordan 1050 546
Jordan 1100 602
Jordan 1150 616
Jordan 1200 617
Jordan 1250 615
Jordan 1300 541
Jordan 1350 459
Jordan 1400 362
Jordan 1450 290
Jordan 1500 219
Jordan 1550 130
Jordan 1600 73
Jordan 1650 45
Jordan 1700 26
Jordan 1750 18
Jordan 1800 6
Jordan 1850 9
Jordan 1900 2
Kazakhstan 600 3
Kazakhstan 650 7
Kazakhstan 700 10
Kazakhstan 750 18
Kazakhstan 800 46
Kazakhstan 850 88
Kazakhstan 900 148
Kazakhstan 950 224
Kazakhstan 1000 305
Kazakhstan 1050 410
Kazakhstan 1100 555
Kazakhstan 1150 563
Kazakhstan 1200 552
Kazakhstan 1250 601
Kazakhstan 1300 495
Kazakhstan 1350 478
Kazakhstan 1400 392
Kazakhstan 1450 329
Kazakhstan 1500 211
Kazakhstan 1550 155
Kazakhstan 1600 106
Kazakhstan 1650 63
Kazakhstan 1700 31
Kazakhstan 1750 13
Kazakhstan 1800 3
Kazakhstan 1850 1
Kazakhstan 1950 1
Korea 600 1
Korea 700 1
Korea 750 6
Korea 800 8
Korea 850 13
Korea 900 19
Korea 950 23
Korea 1000 30
Korea 1050 42
Korea 1100 58
Korea 1150 82
Korea 1200 94
Korea 1250 125
Korea 1300 150
Korea 1350 252
Korea 1400 280
Korea 1450 302
Korea 1500 337
Korea 1550 359
Korea 1600 365
Korea 1650 396
Korea 1700 398
Korea 1750 384
Korea 1800 344
Korea 1850 286
Korea 1900 202
Korea 1950 217
Korea 2000 116
Korea 2050 76
Korea 2100 33
Korea 2150 17
Korea 2200 11
Korea 2250 5
Korea 2350 1
Latvia 600 2
Latvia 800 3
Latvia 850 7
Latvia 900 22
Latvia 950 31
Latvia 1000 38
Latvia 1050 69
Latvia 1100 91
Latvia 1150 136
Latvia 1200 189
Latvia 1250 232
Latvia 1300 272
Latvia 1350 302
Latvia 1400 357
Latvia 1450 353
Latvia 1500 388
Latvia 1550 369
Latvia 1600 350
Latvia 1650 280
Latvia 1700 257
Latvia 1750 195
Latvia 1800 154
Latvia 1850 82
Latvia 1900 55
Latvia 1950 32
Latvia 2000 17
Latvia 2050 6
Latvia 2100 4
Latvia 2150 1
Liechtenstein 950 2
Liechtenstein 1000 1
Liechtenstein 1050 3
Liechtenstein 1100 7
Liechtenstein 1150 11
Liechtenstein 1200 12
Liechtenstein 1250 8
Liechtenstein 1300 10
Liechtenstein 1350 15
Liechtenstein 1400 14
Liechtenstein 1450 23
Liechtenstein 1500 26
Liechtenstein 1550 18
Liechtenstein 1600 17
Liechtenstein 1650 19
Liechtenstein 1700 19
Liechtenstein 1750 20
Liechtenstein 1800 25
Liechtenstein 1850 15
Liechtenstein 1900 12
Liechtenstein 1950 5
Liechtenstein 2000 7
Liechtenstein 2050 4
Lithuania 300 1
Lithuania 550 1
Lithuania 650 1
Lithuania 700 4
Lithuania 750 5
Lithuania 800 11
Lithuania 850 18
Lithuania 900 30
Lithuania 950 60
Lithuania 1000 82
Lithuania 1050 119
Lithuania 1100 154
Lithuania 1150 205
Lithuania 1200 223
Lithuania 1250 269
Lithuania 1300 308
Lithuania 1350 351
Lithuania 1400 348
Lithuania 1450 384
Lithuania 1500 368
Lithuania 1550 335
Lithuania 1600 314
Lithuania 1650 247
Lithuania 1700 202
Lithuania 1750 190
Lithuania 1800 133
Lithuania 1850 92
Lithuania 1900 56
Lithuania 1950 37
Lithuania 2000 13
Lithuania 2050 8
Lithuania 2100 2
Lithuania 2150 2
Luxembourg 500 1
Luxembourg 550 1
Luxembourg 600 3
Luxembourg 650 3
Luxembourg 700 10
Luxembourg 750 21
Luxembourg 800 23
Luxembourg 850 42
Luxembourg 900 87
Luxembourg 950 104
Luxembourg 1000 114
Luxembourg 1050 157
Luxembourg 1100 189
Luxembourg 1150 198
Luxembourg 1200 249
Luxembourg 1250 278
Luxembourg 1300 291
Luxembourg 1350 318
Luxembourg 1400 344
Luxembourg 1450 328
Luxembourg 1500 354
Luxembourg 1550 320
Luxembourg 1600 312
Luxembourg 1650 303
Luxembourg 1700 280
Luxembourg 1750 269
Luxembourg 1800 179
Luxembourg 1850 191
Luxembourg 1900 105
Luxembourg 1950 75
Luxembourg 2000 50
Luxembourg 2050 27
Luxembourg 2100 22
Luxembourg 2150 6
Luxembourg 2200 4
Macao-China 600 1
Macao-China 650 2
Macao-China 700 3
Macao-China 750 2
Macao-China 800 7
Macao-China 850 8
Macao-China 900 14
Macao-China 950 36
Macao-China 1000 38
Macao-China 1050 56
Macao-China 1100 83
Macao-China 1150 103
Macao-China 1200 148
Macao-China 1250 216
Macao-China 1300 238
Macao-China 1350 286
Macao-China 1400 329
Macao-China 1450 394
Macao-China 1500 410
Macao-China 1550 460
Macao-China 1600 443
Macao-China 1650 426
Macao-China 1700 421
Macao-China 1750 336
Macao-China 1800 286
Macao-China 1850 229
Macao-China 1900 155
Macao-China 1950 92
Macao-China 2000 60
Macao-China 2050 31
Macao-China 2100 10
Macao-China 2150 7
Macao-China 2200 5
Malaysia 500 1
Malaysia 550 2
Malaysia 600 5
Malaysia 650 17
Malaysia 700 18
Malaysia 750 47
Malaysia 800 72
Malaysia 850 129
Malaysia 900 186
Malaysia 950 258
Malaysia 1000 285
Malaysia 1050 380
Malaysia 1100 394
Malaysia 1150 410
Malaysia 1200 453
Malaysia 1250 461
Malaysia 1300 434
Malaysia 1350 406
Malaysia 1400 337
Malaysia 1450 251
Malaysia 1500 204
Malaysia 1550 161
Malaysia 1600 102
Malaysia 1650 79
Malaysia 1700 52
Malaysia 1750 26
Malaysia 1800 18
Malaysia 1850 7
Malaysia 1900 2
Mexico 500 4
Mexico 550 4
Mexico 600 15
Mexico 650 47
Mexico 700 73
Mexico 750 176
Mexico 800 301
Mexico 850 437
Mexico 900 759
Mexico 950 1117
Mexico 1000 1645
Mexico 1050 2213
Mexico 1100 2736
Mexico 1150 2950
Mexico 1200 3439
Mexico 1250 3409
Mexico 1300 3139
Mexico 1350 2878
Mexico 1400 2336
Mexico 1450 1991
Mexico 1500 1440
Mexico 1550 1030
Mexico 1600 667
Mexico 1650 482
Mexico 1700 237
Mexico 1750 147
Mexico 1800 77
Mexico 1850 33
Mexico 1900 14
Mexico 1950 9
Mexico 2000 1
Montenegro 450 2
Montenegro 500 2
Montenegro 550 3
Montenegro 600 11
Montenegro 650 21
Montenegro 700 28
Montenegro 750 42
Montenegro 800 78
Montenegro 850 133
Montenegro 900 219
Montenegro 950 249
Montenegro 1000 283
Montenegro 1050 338
Montenegro 1100 351
Montenegro 1150 393
Montenegro 1200 368
Montenegro 1250 402
Montenegro 1300 306
Montenegro 1350 328
Montenegro 1400 303
Montenegro 1450 258
Montenegro 1500 183
Montenegro 1550 146
Montenegro 1600 107
Montenegro 1650 85
Montenegro 1700 50
Montenegro 1750 21
Montenegro 1800 15
Montenegro 1850 11
Montenegro 1900 6
Montenegro 1950 2
Netherlands 650 1
Netherlands 700 4
Netherlands 750 5
Netherlands 800 11
Netherlands 850 13
Netherlands 900 24
Netherlands 950 34
Netherlands 1000 81
Netherlands 1050 97
Netherlands 1100 99
Netherlands 1150 138
Netherlands 1200 197
Netherlands 1250 198
Netherlands 1300 210
Netherlands 1350 233
Netherlands 1400 236
Netherlands 1450 283
Netherlands 1500 316
Netherlands 1550 282
Netherlands 1600 313
Netherlands 1650 307
Netherlands 1700 302
Netherlands 1750 265
Netherlands 1800 246
Netherlands 1850 193
Netherlands 1900 167
Netherlands 1950 90
Netherlands 2000 63
Netherlands 2050 31
Netherlands 2100 13
Netherlands 2150 6
Netherlands 2200 1
Netherlands 2350 1
New Zealand 600 5
New Zealand 650 4
New Zealand 700 6
New Zealand 750 8
New Zealand 800 18
New Zealand 850 23
New Zealand 900 34
New Zealand 950 54
New Zealand 1000 68
New Zealand 1050 97
New Zealand 1100 121
New Zealand 1150 116
New Zealand 1200 181
New Zealand 1250 201
New Zealand 1300 222
New Zealand 1350 245
New Zealand 1400 280
New Zealand 1450 262
New Zealand 1500 261
New Zealand 1550 257
New Zealand 1600 275
New Zealand 1650 270
New Zealand 1700 252
New Zealand 1750 227
New Zealand 1800 202
New Zealand 1850 159
New Zealand 1900 123
New Zealand 1950 105
New Zealand 2000 77
New Zealand 2050 66
New Zealand 2100 32
New Zealand 2150 14
New Zealand 2200 15
New Zealand 2250 5
New Zealand 2300 3
New Zealand 2350 1
Norway 400 1
Norway 450 2
Norway 500 2
Norway 550 2
Norway 600 4
Norway 650 3
Norway 700 10
Norway 750 14
Norway 800 19
Norway 850 32
Norway 900 45
Norway 950 53
Norway 1000 73
Norway 1050 92
Norway 1100 153
Norway 1150 159
Norway 1200 207
Norway 1250 252
Norway 1300 272
Norway 1350 311
Norway 1400 307
Norway 1450 349
Norway 1500 334
Norway 1550 331
Norway 1600 310
Norway 1650 322
Norway 1700 277
Norway 1750 199
Norway 1800 162
Norway 1850 133
Norway 1900 94
Norway 1950 65
Norway 2000 49
Norway 2050 17
Norway 2100 18
Norway 2150 5
Norway 2200 7
Norway 2250 1
Perm(Russian Federation) 550 1
Perm(Russian Federation) 650 2
Perm(Russian Federation) 700 1
Perm(Russian Federation) 750 6
Perm(Russian Federation) 800 7
Perm(Russian Federation) 850 7
Perm(Russian Federation) 900 10
Perm(Russian Federation) 950 28
Perm(Russian Federation) 1000 25
Perm(Russian Federation) 1050 44
Perm(Russian Federation) 1100 55
Perm(Russian Federation) 1150 69
Perm(Russian Federation) 1200 99
Perm(Russian Federation) 1250 95
Perm(Russian Federation) 1300 115
Perm(Russian Federation) 1350 135
Perm(Russian Federation) 1400 129
Perm(Russian Federation) 1450 163
Perm(Russian Federation) 1500 149
Perm(Russian Federation) 1550 139
Perm(Russian Federation) 1600 100
Perm(Russian Federation) 1650 113
Perm(Russian Federation) 1700 78
Perm(Russian Federation) 1750 67
Perm(Russian Federation) 1800 46
Perm(Russian Federation) 1850 27
Perm(Russian Federation) 1900 23
Perm(Russian Federation) 1950 14
Perm(Russian Federation) 2000 8
Perm(Russian Federation) 2050 4
Perm(Russian Federation) 2100 1
Perm(Russian Federation) 2250 1
Peru 350 1
Peru 450 4
Peru 500 17
Peru 550 21
Peru 600 36
Peru 650 60
Peru 700 111
Peru 750 167
Peru 800 236
Peru 850 311
Peru 900 410
Peru 950 463
Peru 1000 493
Peru 1050 495
Peru 1100 545
Peru 1150 513
Peru 1200 441
Peru 1250 411
Peru 1300 316
Peru 1350 277
Peru 1400 195
Peru 1450 162
Peru 1500 108
Peru 1550 89
Peru 1600 67
Peru 1650 30
Peru 1700 21
Peru 1750 13
Peru 1800 13
Peru 1850 9
Poland 700 2
Poland 750 2
Poland 800 1
Poland 850 5
Poland 900 14
Poland 950 22
Poland 1000 35
Poland 1050 48
Poland 1100 82
Poland 1150 108
Poland 1200 140
Poland 1250 181
Poland 1300 239
Poland 1350 269
Poland 1400 308
Poland 1450 329
Poland 1500 368
Poland 1550 326
Poland 1600 364
Poland 1650 361
Poland 1700 294
Poland 1750 295
Poland 1800 212
Poland 1850 180
Poland 1900 138
Poland 1950 106
Poland 2000 86
Poland 2050 42
Poland 2100 20
Poland 2150 21
Poland 2200 6
Poland 2250 2
Poland 2300 1
Portugal 700 1
Portugal 750 1
Portugal 800 14
Portugal 850 12
Portugal 900 30
Portugal 950 57
Portugal 1000 61
Portugal 1050 105
Portugal 1100 129
Portugal 1150 184
Portugal 1200 254
Portugal 1250 267
Portugal 1300 290
Portugal 1350 389
Portugal 1400 415
Portugal 1450 432
Portugal 1500 447
Portugal 1550 410
Portugal 1600 333
Portugal 1650 339
Portugal 1700 295
Portugal 1750 223
Portugal 1800 177
Portugal 1850 152
Portugal 1900 90
Portugal 1950 55
Portugal 2000 24
Portugal 2050 12
Portugal 2100 7
Portugal 2150 4
Qatar 300 2
Qatar 350 7
Qatar 400 14
Qatar 450 30
Qatar 500 55
Qatar 550 70
Qatar 600 119
Qatar 650 193
Qatar 700 291
Qatar 750 371
Qatar 800 523
Qatar 850 595
Qatar 900 650
Qatar 950 778
Qatar 1000 772
Qatar 1050 763
Qatar 1100 714
Qatar 1150 707
Qatar 1200 619
Qatar 1250 548
Qatar 1300 489
Qatar 1350 471
Qatar 1400 417
Qatar 1450 351
Qatar 1500 298
Qatar 1550 231
Qatar 1600 209
Qatar 1650 183
Qatar 1700 144
Qatar 1750 120
Qatar 1800 86
Qatar 1850 55
Qatar 1900 48
Qatar 1950 25
Qatar 2000 11
Qatar 2050 2
Qatar 2100 2
Qatar 2150 3
Romania 500 1
Romania 600 2
Romania 650 2
Romania 700 2
Romania 750 14
Romania 800 20
Romania 850 53
Romania 900 76
Romania 950 138
Romania 1000 218
Romania 1050 285
Romania 1100 370
Romania 1150 422
Romania 1200 409
Romania 1250 420
Romania 1300 436
Romania 1350 410
Romania 1400 366
Romania 1450 334
Romania 1500 269
Romania 1550 217
Romania 1600 205
Romania 1650 137
Romania 1700 95
Romania 1750 74
Romania 1800 44
Romania 1850 23
Romania 1900 19
Romania 1950 6
Romania 2000 4
Romania 2050 1
Romania 2100 2
Russian Federation 450 1
Russian Federation 650 2
Russian Federation 750 10
Russian Federation 800 14
Russian Federation 850 26
Russian Federation 900 41
Russian Federation 950 56
Russian Federation 1000 96
Russian Federation 1050 154
Russian Federation 1100 187
Russian Federation 1150 220
Russian Federation 1200 289
Russian Federation 1250 375
Russian Federation 1300 375
Russian Federation 1350 368
Russian Federation 1400 416
Russian Federation 1450 437
Russian Federation 1500 397
Russian Federation 1550 383
Russian Federation 1600 326
Russian Federation 1650 273
Russian Federation 1700 241
Russian Federation 1750 180
Russian Federation 1800 122
Russian Federation 1850 97
Russian Federation 1900 66
Russian Federation 1950 35
Russian Federation 2000 27
Russian Federation 2050 11
Russian Federation 2100 4
Russian Federation 2150 2
Serbia 600 4
Serbia 650 3
Serbia 700 22
Serbia 750 24
Serbia 800 36
Serbia 850 64
Serbia 900 98
Serbia 950 131
Serbia 1000 169
Serbia 1050 231
Serbia 1100 277
Serbia 1150 322
Serbia 1200 371
Serbia 1250 402
Serbia 1300 347
Serbia 1350 369
Serbia 1400 306
Serbia 1450 315
Serbia 1500 249
Serbia 1550 252
Serbia 1600 195
Serbia 1650 140
Serbia 1700 120
Serbia 1750 85
Serbia 1800 57
Serbia 1850 35
Serbia 1900 22
Serbia 1950 24
Serbia 2000 8
Serbia 2050 5
Serbia 2100 1
Singapore 400 1
Singapore 550 2
Singapore 600 1
Singapore 700 7
Singapore 750 6
Singapore 800 8
Singapore 850 7
Singapore 900 25
Singapore 950 23
Singapore 1000 56
Singapore 1050 65
Singapore 1100 88
Singapore 1150 105
Singapore 1200 144
Singapore 1250 170
Singapore 1300 188
Singapore 1350 208
Singapore 1400 307
Singapore 1450 245
Singapore 1500 299
Singapore 1550 315
Singapore 1600 325
Singapore 1650 381
Singapore 1700 339
Singapore 1750 344
Singapore 1800 372
Singapore 1850 342
Singapore 1900 288
Singapore 1950 237
Singapore 2000 212
Singapore 2050 167
Singapore 2100 109
Singapore 2150 71
Singapore 2200 45
Singapore 2250 23
Singapore 2300 10
Singapore 2350 6
Singapore 2400 3
Singapore 2450 2
Slovak Republic 350 1
Slovak Republic 400 1
Slovak Republic 450 1
Slovak Republic 500 3
Slovak Republic 550 3
Slovak Republic 600 8
Slovak Republic 650 14
Slovak Republic 700 14
Slovak Republic 750 36
Slovak Republic 800 53
Slovak Republic 850 63
Slovak Republic 900 86
Slovak Republic 950 95
Slovak Republic 1000 128
Slovak Republic 1050 146
Slovak Republic 1100 165
Slovak Republic 1150 195
Slovak Republic 1200 227
Slovak Republic 1250 234
Slovak Republic 1300 292
Slovak Republic 1350 302
Slovak Republic 1400 310
Slovak Republic 1450 333
Slovak Republic 1500 284
Slovak Republic 1550 286
Slovak Republic 1600 259
Slovak Republic 1650 274
Slovak Republic 1700 233
Slovak Republic 1750 174
Slovak Republic 1800 162
Slovak Republic 1850 94
Slovak Republic 1900 70
Slovak Republic 1950 65
Slovak Republic 2000 29
Slovak Republic 2050 21
Slovak Republic 2100 14
Slovak Republic 2200 3
Slovenia 600 1
Slovenia 650 3
Slovenia 700 5
Slovenia 750 14
Slovenia 800 21
Slovenia 850 31
Slovenia 900 74
Slovenia 950 106
Slovenia 1000 135
Slovenia 1050 187
Slovenia 1100 226
Slovenia 1150 293
Slovenia 1200 308
Slovenia 1250 388
Slovenia 1300 390
Slovenia 1350 416
Slovenia 1400 427
Slovenia 1450 433
Slovenia 1500 413
Slovenia 1550 363
Slovenia 1600 336
Slovenia 1650 307
Slovenia 1700 284
Slovenia 1750 220
Slovenia 1800 197
Slovenia 1850 126
Slovenia 1900 84
Slovenia 1950 63
Slovenia 2000 33
Slovenia 2050 20
Slovenia 2100 4
Slovenia 2150 1
Slovenia 2200 2
Spain 300 1
Spain 450 1
Spain 500 3
Spain 550 4
Spain 600 9
Spain 650 17
Spain 700 35
Spain 750 58
Spain 800 82
Spain 850 119
Spain 900 186
Spain 950 263
Spain 1000 370
Spain 1050 479
Spain 1100 625
Spain 1150 765
Spain 1200 1021
Spain 1250 1315
Spain 1300 1433
Spain 1350 1631
Spain 1400 1941
Spain 1450 1962
Spain 1500 2015
Spain 1550 2052
Spain 1600 1969
Spain 1650 1747
Spain 1700 1532
Spain 1750 1279
Spain 1800 869
Spain 1850 624
Spain 1900 424
Spain 1950 235
Spain 2000 122
Spain 2050 80
Spain 2100 30
Spain 2150 9
Spain 2200 4
Spain 2250 2
Sweden 400 1
Sweden 450 2
Sweden 500 6
Sweden 550 3
Sweden 600 4
Sweden 650 10
Sweden 700 15
Sweden 750 26
Sweden 800 22
Sweden 850 49
Sweden 900 54
Sweden 950 77
Sweden 1000 98
Sweden 1050 128
Sweden 1100 188
Sweden 1150 198
Sweden 1200 209
Sweden 1250 262
Sweden 1300 277
Sweden 1350 328
Sweden 1400 335
Sweden 1450 358
Sweden 1500 308
Sweden 1550 327
Sweden 1600 295
Sweden 1650 246
Sweden 1700 242
Sweden 1750 202
Sweden 1800 157
Sweden 1850 106
Sweden 1900 84
Sweden 1950 48
Sweden 2000 37
Sweden 2050 16
Sweden 2100 7
Sweden 2150 6
Sweden 2200 3
Sweden 2250 1
Sweden 2300 1
Switzerland 650 1
Switzerland 700 4
Switzerland 750 14
Switzerland 800 9
Switzerland 850 49
Switzerland 900 62
Switzerland 950 90
Switzerland 1000 133
Switzerland 1050 211
Switzerland 1100 299
Switzerland 1150 358
Switzerland 1200 428
Switzerland 1250 545
Switzerland 1300 642
Switzerland 1350 695
Switzerland 1400 688
Switzerland 1450 845
Switzerland 1500 867
Switzerland 1550 880
Switzerland 1600 821
Switzerland 1650 743
Switzerland 1700 720
Switzerland 1750 566
Switzerland 1800 463
Switzerland 1850 385
Switzerland 1900 286
Switzerland 1950 174
Switzerland 2000 135
Switzerland 2050 61
Switzerland 2100 30
Switzerland 2150 16
Switzerland 2200 5
Switzerland 2250 2
Switzerland 2300 2
Thailand 550 2
Thailand 700 4
Thailand 750 15
Thailand 800 31
Thailand 850 61
Thailand 900 101
Thailand 950 156
Thailand 1000 230
Thailand 1050 319
Thailand 1100 410
Thailand 1150 547
Thailand 1200 544
Thailand 1250 554
Thailand 1300 562
Thailand 1350 520
Thailand 1400 466
Thailand 1450 398
Thailand 1500 354
Thailand 1550 263
Thailand 1600 251
Thailand 1650 210
Thailand 1700 179
Thailand 1750 136
Thailand 1800 120
Thailand 1850 72
Thailand 1900 50
Thailand 1950 31
Thailand 2000 15
Thailand 2050 3
Thailand 2100 1
Thailand 2150 1
Tunisia 400 1
Tunisia 500 2
Tunisia 550 6
Tunisia 600 11
Tunisia 650 16
Tunisia 700 40
Tunisia 750 77
Tunisia 800 111
Tunisia 850 157
Tunisia 900 183
Tunisia 950 216
Tunisia 1000 337
Tunisia 1050 365
Tunisia 1100 368
Tunisia 1150 411
Tunisia 1200 375
Tunisia 1250 399
Tunisia 1300 354
Tunisia 1350 261
Tunisia 1400 228
Tunisia 1450 168
Tunisia 1500 113
Tunisia 1550 74
Tunisia 1600 49
Tunisia 1650 36
Tunisia 1700 24
Tunisia 1750 16
Tunisia 1800 7
Tunisia 1900 2
Turkey 700 2
Turkey 750 2
Turkey 800 15
Turkey 850 23
Turkey 900 48
Turkey 950 93
Turkey 1000 126
Turkey 1050 195
Turkey 1100 264
Turkey 1150 306
Turkey 1200 398
Turkey 1250 415
Turkey 1300 393
Turkey 1350 423
Turkey 1400 339
Turkey 1450 317
Turkey 1500 283
Turkey 1550 226
Turkey 1600 222
Turkey 1650 168
Turkey 1700 156
Turkey 1750 145
Turkey 1800 112
Turkey 1850 89
Turkey 1900 48
Turkey 1950 28
Turkey 2000 8
Turkey 2050 3
Turkey 2100 1
United Arab Emirates 400 2
United Arab Emirates 500 5
United Arab Emirates 550 9
United Arab Emirates 600 8
United Arab Emirates 650 27
United Arab Emirates 700 50
United Arab Emirates 750 89
United Arab Emirates 800 174
United Arab Emirates 850 211
United Arab Emirates 900 342
United Arab Emirates 950 467
United Arab Emirates 1000 565
United Arab Emirates 1050 653
United Arab Emirates 1100 692
United Arab Emirates 1150 754
United Arab Emirates 1200 771
United Arab Emirates 1250 767
United Arab Emirates 1300 835
United Arab Emirates 1350 778
United Arab Emirates 1400 788
United Arab Emirates 1450 713
United Arab Emirates 1500 628
United Arab Emirates 1550 498
United Arab Emirates 1600 409
United Arab Emirates 1650 356
United Arab Emirates 1700 303
United Arab Emirates 1750 222
United Arab Emirates 1800 134
United Arab Emirates 1850 105
United Arab Emirates 1900 63
United Arab Emirates 1950 43
United Arab Emirates 2000 22
United Arab Emirates 2050 8
United Arab Emirates 2100 5
United Arab Emirates 2150 1
United Arab Emirates 2200 3
United Kingdom 450 2
United Kingdom 500 1
United Kingdom 550 5
United Kingdom 600 5
United Kingdom 650 9
United Kingdom 700 16
United Kingdom 750 25
United Kingdom 800 51
United Kingdom 850 61
United Kingdom 900 104
United Kingdom 950 137
United Kingdom 1000 219
United Kingdom 1050 285
United Kingdom 1100 311
United Kingdom 1150 439
United Kingdom 1200 523
United Kingdom 1250 655
United Kingdom 1300 778
United Kingdom 1350 844
United Kingdom 1400 871
United Kingdom 1450 933
United Kingdom 1500 902
United Kingdom 1550 955
United Kingdom 1600 842
United Kingdom 1650 775
United Kingdom 1700 706
United Kingdom 1750 618
United Kingdom 1800 446
United Kingdom 1850 388
United Kingdom 1900 254
United Kingdom 1950 210
United Kingdom 2000 132
United Kingdom 2050 79
United Kingdom 2100 31
United Kingdom 2150 27
United Kingdom 2200 12
United Kingdom 2250 2
United Kingdom 2300 4
United Kingdom 2350 1
United States of America 600 1
United States of America 700 2
United States of America 750 3
United States of America 800 18
United States of America 850 28
United States of America 900 34
United States of America 950 54
United States of America 1000 93
United States of America 1050 128
United States of America 1100 144
United States of America 1150 225
United States of America 1200 252
United States of America 1250 310
United States of America 1300 302
United States of America 1350 359
United States of America 1400 344
United States of America 1450 382
United States of America 1500 342
United States of America 1550 337
United States of America 1600 337
United States of America 1650 281
United States of America 1700 249
United States of America 1750 187
United States of America 1800 176
United States of America 1850 133
United States of America 1900 73
United States of America 1950 75
United States of America 2000 45
United States of America 2050 34
United States of America 2100 15
United States of America 2150 12
United States of America 2200 2
United States of America 2250 1
Uruguay 350 1
Uruguay 400 1
Uruguay 450 2
Uruguay 500 6
Uruguay 550 10
Uruguay 600 22
Uruguay 650 35
Uruguay 700 53
Uruguay 750 80
Uruguay 800 121
Uruguay 850 148
Uruguay 900 198
Uruguay 950 220
Uruguay 1000 277
Uruguay 1050 340
Uruguay 1100 403
Uruguay 1150 404
Uruguay 1200 450
Uruguay 1250 386
Uruguay 1300 385
Uruguay 1350 324
Uruguay 1400 326
Uruguay 1450 273
Uruguay 1500 239
Uruguay 1550 189
Uruguay 1600 153
Uruguay 1650 92
Uruguay 1700 68
Uruguay 1750 44
Uruguay 1800 23
Uruguay 1850 25
Uruguay 1900 11
Uruguay 1950 5
Uruguay 2000 1
Vietnam 700 1
Vietnam 800 1
Vietnam 850 3
Vietnam 900 7
Vietnam 950 17
Vietnam 1000 23
Vietnam 1050 38
Vietnam 1100 75
Vietnam 1150 80
Vietnam 1200 119
Vietnam 1250 150
Vietnam 1300 222
Vietnam 1350 278
Vietnam 1400 381
Vietnam 1450 414
Vietnam 1500 487
Vietnam 1550 467
Vietnam 1600 448
Vietnam 1650 416
Vietnam 1700 330
Vietnam 1750 269
Vietnam 1800 182
Vietnam 1850 134
Vietnam 1900 102
Vietnam 1950 51
Vietnam 2000 36
Vietnam 2050 18
Vietnam 2100 12
Vietnam 2150 5
Vietnam 2200 3
Vietnam 2250 1
* {
box-sizing: border-box;
}
#tooltip {
opacity: 0;
position: fixed;
display: none;
background-color: rgba(0, 0, 0, 0.5);
color: white;
padding: 10px;
border: 2px solid black;
border-radius: 5px;
height: 232px;
width: 210px;
font-size: 14px;
}
.gender-sep {
margin: 0px 12px;
}
.col-6 {
width:50%;
float: left;
}
.rank-list {
margin-top: 0px;
}
.tooltip-div {
margin-bottom: 8px;
}
#tooltip-country {
width: 90px;
height: 40px;
float: left;
margin: 4px 0px 0px;
}
#tooltip-flag {
width: 68px;
height: 40px;
float: right;
}
#tooltip-flag img {
width: 100%;
height: 100%;
}
#tooltip-worldwide {
margin-bottom: 0px;
}
#tooltip ul {
list-style-type: none;
margin: 0px;
padding: 0px;
}
#options-box {
display: none;
opacity: 0;
}
.options-line {
clear: both;
}
.opt-box-choice {
float: left;
padding: 10px 10px;
background-color: black;
color: white;
margin-right: 10px;
margin-top: 10px;
cursor: pointer;
}
.opt-box-choice.selected {
background-color: gray;
}
#figure-container {
border: thin solid gray;
}
.map-country {
stroke: black;
stroke-width: 0.25px;
fill: beige;
}
.location-points,
.data-points {
fill: #FFD000;
stroke: black;
stroke-width: 0.5px;
opacity: 0.5;
}
.data-points {
z-index: 1;
}
.location-points.in-region {
fill: rgba(200, 0, 0, 0.5)!important;
opacity: 1.0;
}
.location-points.selected,
.data-points.selected {
fill: rgba(0, 200, 0, 1.0)!important;
opacity: 1.0;
}
.data-points.usa{
fill: #FF0000;
}
#lightbox-parent {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: rgba(0,0,0,0.2);
}
#intro-lightbox {
width: 480px;
position: relative;
top: 25%;
margin: auto;
background-color: white;
border: 3px solid black;
border-radius: 5px;
padding: 10px 20px;
}
#intro-lightbox h2 {
text-align: center;
}
.nav {
background-color: black;
color:white;
width: 100px;
padding: 20px 10px;
text-align: center;
position: fixed;
top: 45%;
z-index: 1;
opacity: 0.75;
}
#nav-next {
right: 0;
}
#nav-next:hover {
border-right: none;
}
#nav-prev {
left: 0;
display: none;
opacity: 0;
}
#nav-prev:hover {
border-left: none;
opacity: 1;
}
.nav:hover {
cursor: pointer;
background-color: #FFD000;
border: 2px solid black;
color: black;
padding: 18px 10px;
}
.axis {
stroke: black;
fill: none;
}
.axis-label {
font-size: 18px;
font-family: helvetica;
}
#full-chart {
font-size: 12px;
}
.plotted-box {
stroke: black;
stroke-width: 2px;
}
.female {
fill: rgba(255, 0, 0, 0.5);
}
.male {
fill: rgba(0, 0, 255, 0.5);
}
.neutral {
fill: rgba(255, 208, 0, 0.5)
}
#all-plotted-items path {
stroke: rgba(0,0,0,0.25);
stroke-width: 1.5;
fill: none;
}
#all-plotted-items path.green {
stroke-width: 5;
opacity: 1.0;
stroke: rgba(0, 200, 0, 1.0)!important;
}
#all-plotted-items path.usa {
stroke: rgba(255, 0, 0, 1.0);
stroke-width: 5;
}
#all-plotted-items path.girls {
stroke: rgba(255, 0, 0, 0.75);
}
#all-plotted-items path.boys {
stroke: rgba(0, 0, 255, 0.75);
}
#plot-legend {
}
#plot-legend #flag-line {
width: 68px;
height: 40px;
}
#plot-legend #flag-border {
stroke: black;
stroke-width: 0.5px;
fill: none;
}
/*
For testing only!!!
*/
#lightbox-parent {
/*display: none;*/
}
// variables for basic chart characteristics and svg object
var svg = d3.select("#figure-container"),
width = 960,
height = 550,
slide_indx = -1,
lightbox = d3.select("#lightbox-parent"),
tooltip = d3.select("body")
.append("div")
.attr("id", "tooltip")
.style("top", (height - 154) + "px")
.style("left", 10 + "px");
tooltip.append("div")
.attr("id", "tooltip-country")
.attr("class", "tooltip-div");
tooltip.append("div")
.attr("id", "tooltip-flag")
.attr("class", "tooltip-div")
.append("img");
tooltip.append("div")
.attr("class", "clearfix");
tooltip.append("div")
.attr("id", "tooltip-students")
.attr("class", "tooltip-div")
.append("div")
.html("Students: <span></span>");
tooltip.append("div")
.attr("id", "tooltip-region")
.attr("class", "tooltip-div")
.append("div")
.html("<span id='region'></span> Rank:<br/><i class='fa fa-mars'></i>: <span id='region-rank-male'></span> <span class='gender-sep'>|</span> <i class='fa fa-venus'></i>: <span id='region-rank-female'></span>");
tooltip.append("div")
.attr("class", "tooltip-div")
.attr("id", "tooltip-worldwide")
.append("span")
.html("Worldwide Rank:");
tooltip.append("div")
.attr("id", "tooltip-rankings-male")
.attr("class", "col-6")
.html('<i class="fa fa-mars"></i><ul class="rank-list"><li id="male-overall"></li> <li id="male-science"></li> <li id="male-reading"></li> <li id="male-math"></li></ul>');
tooltip.append("div")
.attr("id", "tooltip-rankings-female")
.attr("class", "col-6")
.html('<i class="fa fa-venus"></i><ul class="rank-list"><li id="female-overall"></li> <li id="female-science"></li> <li id="female-reading"></li> <li id="female-math"></li></ul>');
function draw_map(geo_data){
"use strict";
// setup the projection
var projection = d3.geo.mercator()
.scale(150)
.translate([width/2, height/1.5]);
var path = d3.geo.path().projection(projection);
var map = svg.selectAll("path")
.data(geo_data.features)
.enter()
.append("path")
.attr("d", path)
.attr("class", "map-country");
// debugger;
function place_points(location_data){
// actual academic information
function populate_tooltip(academic_data){
// drop points for selection onto map
function rank_these_on_this(input_data, column){
// take in some objects and sort them in order based on the
// input column
return input_data.sort(function(a,b){
return b[column] - a[column];
}).map(function(d, ii){
d["rank"] = ii + 1;
return d;
});
}
var points = svg.append("g")
.attr("class", "drop-points")
.selectAll("circle")
.data(location_data)
.enter()
.append("circle")
.attr("cx", function(d){
var coords = projection([+d.longitude, +d.latitude]);
return coords[0];
})
.attr("cy", function(d){
var coords = projection([+d.longitude, +d.latitude]);
return coords[1];
})
.attr("r", 4)
.attr("region-name", function(d){
return d["region"];
})
.attr("class", "location-points")
.on("mouseover", function(d){
d3.selectAll(".location-points")
.attr("r", 4)
.classed("selected", false)
.classed("in-region", false);
d3.selectAll(d3.selectAll(".location-points")[0]
.filter(function(loc){
return d3.select(loc)
.attr("region-name") == d["region"];
}))
.attr("r", 6)
.classed("in-region", true);
d3.select(this)
.classed("selected", true);
var country_data = academic_data.filter(function(scores){
return scores["country"] == d["country"];
}),
female = country_data[0],
male = country_data[1];
tooltip.style("display", "block")
.transition()
.duration(500)
.style("opacity", 0.9);
d3.select("#tooltip-country")
.html(d["country"]);
d3.select("#tooltip-students span")
.html((female["the_count"] + male["the_count"])
.toLocaleString());
var places_in_region = location_data.filter(function(loc){
return loc["region"] === d["region"];
}).map(function(loc){
return loc["country"];
}),
male_data_in_region = academic_data.filter(function(scores){
return (places_in_region.indexOf(scores["country"]) > -1) && (scores["gender"] == "Male");
}),
female_data_in_region = academic_data.filter(function(scores){
return (places_in_region.indexOf(scores["country"]) > -1) && (scores["gender"] == "Female");
}),
male_ranking = rank_these_on_this(male_data_in_region, "overall_avg"),
female_ranking = rank_these_on_this(female_data_in_region, "overall_avg");
d3.select("#tooltip-region #region")
.html(d["region"]);
d3.select("#tooltip-region #region-rank-male")
.html(male_ranking
.filter(function(loc){
return loc["country"] == d["country"];
})
.map(function(about_time){
return about_time["rank"];
}) + " / " + male_ranking.length);
d3.select("#tooltip-region #region-rank-female")
.html(female_ranking.filter(function(loc){
return loc["country"] == d["country"];
}).map(function(about_time){
return about_time["rank"];
}) + " / " + female_ranking.length);
function get_ranking_only(objects_to_rank, column, country){
// do all the rank processing and return ONLY a string with the result
var ranked_objects = rank_these_on_this(objects_to_rank, column);
var the_rank = ranked_objects.filter(function(loc){
return loc["country"] == country;
}).map(function(cnt_data){
return cnt_data["rank"];
});
return the_rank + " / " + ranked_objects.length;
}
d3.select("#tooltip-flag img")
.attr('src', get_flag(d["country"]));
d3.select("#male-math")
.html("Math: " + get_ranking_only(academic_data.filter(function(item){
return item["gender"] == "Male";
}), "math_avg", d["country"]));
d3.select("#male-science")
.html("Science: " + get_ranking_only(academic_data.filter(function(item){
return item["gender"] == "Male";
}), "scie_avg", d["country"]));
d3.select("#male-reading")
.html("Reading: " + get_ranking_only(academic_data.filter(function(item){
return item["gender"] == "Male";
}), "read_avg", d["country"]));
d3.select("#male-overall")
.html("Overall: " + get_ranking_only(academic_data.filter(function(item){
return item["gender"] == "Male";
}), "overall_avg", d["country"]));
d3.select("#female-math")
.html("Math: " + get_ranking_only(academic_data.filter(function(item){
return item["gender"] == "Female";
}), "math_avg", d["country"]));
d3.select("#female-science")
.html("Science: " + get_ranking_only(academic_data.filter(function(item){
return item["gender"] == "Female";
}), "scie_avg", d["country"]));
d3.select("#female-reading")
.html("Reading: " + get_ranking_only(academic_data.filter(function(item){
return item["gender"] == "Female";
}), "read_avg", d["country"]));
d3.select("#female-overall")
.html("Overall: " + get_ranking_only(academic_data.filter(function(item){
return item["gender"] == "Female";
}), "overall_avg", d["country"]));
});
}
d3.tsv("pisa2012_world_averages_gender.dat", function(d){
return make_numerical(d);
}, populate_tooltip);
}
d3.json("locations.JSON", place_points);
};
function draw_line_plot(all_data){
var margin = {x: 75, top: 50, bottom: 50},
linewidth = 2;
d3.selectAll(".opt-box-choice.city").on("click", function(){
d3.selectAll(".opt-box-choice.city").classed("selected", false);
var target = d3.select(this);
target.classed("selected", true);
var dataset = d3.select(".opt-box-choice.subject.selected");
if (dataset[0][0] == null){
the_file = "pisa2012_usa_total_gender.dat"
} else {
the_file = dataset.attr("file-target-1");
}
new_dataset(the_file, target.attr("d-target"));
});
d3.selectAll(".opt-box-choice.subject").on("click", function(){
d3.selectAll(".opt-box-choice.subject").classed("selected", false);
var target = d3.select(this);
target.classed("selected", true);
var the_city = "United States of America";
new_dataset(target.attr("file-target-1"), the_city);
});
function new_dataset(the_file, the_name){
d3.tsv("" + the_file, function(d){ // slide 1
if (d["country"] == the_name) {
return make_numerical(d);
}
}, draw_line_plot);
};
var fem_count = all_data.filter(function(d){
return d.gender == "Female";
}).map(function(d){
return d["the_count"];
}).reduce(function(a, b){
return a + b;
}),
male_count = all_data.filter(function(d){
return d.gender == "Male";
}).map(function(d){
return d["the_count"];
}).reduce(function(a, b){
return a + b;
}),
popfrac_extent = d3.extent(all_data, function(d){
if (d.gender == "Female") {
return d["the_count"] / fem_count * 100;
} else {
return d["the_count"] / male_count * 100;
}
});
if (all_data.map(function(obj){return obj.allgrades_bucket;})[all_data.length - 1] > 1000) {
var score_extent = [0, 3000];
} else {
var score_extent = [0, 1000];
}
var score_scale = d3.scale.linear()
.range([margin.x, width - margin.x])
.domain(score_extent),
popfrac_scale = d3.scale.linear()
.range([height - margin.bottom, margin.top])
.domain(popfrac_extent);
var score_axis = d3.svg.axis()
.scale(score_scale),
popfrac_axis = d3.svg.axis()
.scale(popfrac_scale)
.orient("left");
if (d3.select("#full-chart")[0].length == 1){
var chart_space = svg.append("g")
.attr("id", "full-chart");
} else {
var chart_space = d3.select("#full-chart");
}
if (d3.selectAll(".axis")[0].length == 0) {
chart_space.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + (height - margin.bottom) + ")")
.call(score_axis);
chart_space.append("g")
.attr("class", "y axis")
.attr("transform", "translate(" + margin.x + ", 0)")
.call(popfrac_axis);
chart_space.append("g")
.attr("class", "x-label axis-label")
.append("text")
.attr("x", (width - margin.x)/ 2)
.attr("y", height - margin.bottom/4)
.text("PISA Cumulative Score");
chart_space.append("g")
.attr("class", "y-label axis-label")
.style("transform", "rotate(270deg)")
.append("text")
.attr("x", -(height + margin.top)/2)
.attr("y", margin.x / 3)
.text("Population Fraction");
} else {
d3.selectAll(".axis").remove();
chart_space.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + (height - margin.bottom) + ")")
.call(score_axis);
chart_space.append("g")
.attr("class", "y axis")
.attr("transform", "translate(" + margin.x + ", 0)")
.call(popfrac_axis);
}
// add in the data
if (d3.select("#all-plotted-items")[0].length == 1){
var plot_space = chart_space.append("g")
.attr("id", "all-plotted-items");
} else {
var plot_space = d3.select("#all-plotted-items")
}
var line = d3.svg.line()
.interpolate("basis")
.x(function(d) {
return score_scale(d["allgrades_bucket"]);
})
.y(function(d) {
if (d.gender == "Female"){
return popfrac_scale(d["the_count"]/fem_count * 100);
} else {
return popfrac_scale(d["the_count"]/male_count * 100);
}
});
var datagroup = d3.nest()
.key(function(d){
return d.gender;
}).entries(all_data);
if (d3.selectAll(".country-line")[0].length == 0){
datagroup.forEach(function(d, i) {
plot_space.append('svg:path')
.attr('d', line(d.values))
.attr("class", function(){
if (d.key == "Female") {
return "country-line usa girls";
} else {
return "country-line usa boys";
}
});
});
} else {
d3.select(".country-line.girls")
.transition()
.style("opacity", 0)
.transition()
.attr('d', line(datagroup.filter(function(d){
return d.key == "Female";
})[0]
.values))
.transition()
.style("opacity", 1.0);
d3.select(".country-line.boys")
.transition()
.style("opacity", 0)
.transition()
.attr('d', line(datagroup.filter(function(d){
return d.key == "Male";
})[0]
.values))
.transition()
.style("opacity", 1.0);
}
};
function draw_multiple_lines(all_data){
var margin = {x: 75, top: 50, bottom: 50},
linewidth = 2;
d3.selectAll(".opt-box-choice.subject").on("click", function(){
d3.selectAll(".opt-box-choice.subject").classed("selected", false);
var target = d3.select(this);
target.classed("selected", true);
new_dataset(target.attr("file-target-2"));
});
function new_dataset(the_file){
d3.tsv("" + the_file, function(d){ // slide 1
return make_numerical(d);
}, draw_multiple_lines);
};
var popfrac_extent = d3.extent(all_data, function(d){
var total_count = all_data.filter(function(c){
return c["country"] == d["country"];
}).map(function(c){
return c["the_count"];
}).reduce(function(a, b){
return a + b;
});
return d["the_count"] / total_count * 100;
});
if (all_data.map(function(obj){return obj.allgrades_bucket;})[all_data.length - 1] > 1000) {
var score_extent = [0, 3000];
} else {
var score_extent = [0, 1000];
}
var score_scale = d3.scale.linear()
.range([margin.x, width - margin.x])
.domain(score_extent),
popfrac_scale = d3.scale.linear()
.range([height - margin.bottom, margin.top])
.domain(popfrac_extent);
var score_axis = d3.svg.axis()
.scale(score_scale),
popfrac_axis = d3.svg.axis()
.scale(popfrac_scale)
.orient("left");
if (d3.select("#full-chart")[0].length == 1){
var chart_space = svg.append("g")
.attr("id", "full-chart");
} else {
var chart_space = d3.select("#full-chart");
}
if (d3.selectAll(".axis")[0].length == 0) {
chart_space.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + (height - margin.bottom) + ")")
.call(score_axis);
chart_space.append("g")
.attr("class", "y axis")
.attr("transform", "translate(" + margin.x + ", 0)")
.call(popfrac_axis);
chart_space.append("g")
.attr("class", "x-label axis-label")
.append("text")
.attr("x", (width - margin.x)/ 2)
.attr("y", height - margin.bottom/4)
.text("PISA Cumulative Score");
chart_space.append("g")
.attr("class", "y-label axis-label")
.style("transform", "rotate(270deg)")
.append("text")
.attr("x", -(height + margin.top)/2)
.attr("y", margin.x / 3)
.text("Population Fraction");
} else {
d3.selectAll(".axis").remove();
chart_space.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + (height - margin.bottom) + ")")
.call(score_axis);
chart_space.append("g")
.attr("class", "y axis")
.attr("transform", "translate(" + margin.x + ", 0)")
.call(popfrac_axis);
}
// add in the data
if (d3.select("#all-plotted-items")[0].length == 1){
var plot_space = chart_space.append("g")
.attr("id", "all-plotted-items");
} else {
var plot_space = d3.select("#all-plotted-items")
}
var line = d3.svg.line()
.interpolate("basis")
.x(function(d) {
return score_scale(d["allgrades_bucket"]);
})
.y(function(d) {
var total_count = all_data.filter(function(c){
return c["country"] == d["country"];
}).map(function(c){
return c["the_count"];
}).reduce(function(a, b){
return a + b;
});
return popfrac_scale(d["the_count"] / total_count * 100);
});
var datagroup = d3.nest()
.key(function(d){
return d["country"];
})
.entries(all_data);
function total_counts(values){
return values.map(function(a){
return a.the_count;
}).reduce(function(a, b){
return a+b;
});
};
var legend = svg.append("g")
.attr("id", "plot-legend")
.attr("transform", "translate(700, " + margin.top + ")");
if (d3.select("#legend-head")[0][0] === null) {
legend.append("text")
.attr("id", "legend-head")
.text("Selected Country");
}
legend.append("text")
.attr("y", 15)
.attr("id", "country-line-name");
legend.append("text")
.attr("id", "population-line")
.attr("y", 30)
legend.append("image")
.attr("id", "flag-line")
.attr("y", 45);
if (d3.selectAll(".country-line")[0].length == 0){
datagroup.forEach(function(d, i) {
plot_space.append('svg:path')
.attr('d', line(d.values))
.attr("total_counts", total_counts(d.values))
.attr("this_country", d.key)
.attr("class", function(){
if (d.key == "United States of America") {
return "country-line usa";
} else {
return "country-line";
}
}
);
});
// For filling the legend
var lines = d3.selectAll(".country-line")
.on("mouseover", function(){
var the_line = d3.select(this);
d3.selectAll(".country-line").classed("green", false);
the_line.classed("green", true);
d3.select("#country-line-name")
.text("Country: " + the_line.attr("this_country"));
d3.select("#population-line")
.text("Number of students: " + Number(the_line.attr("total_counts")).toLocaleString());
d3.select("image#flag-line")
.attr('xlink:href', get_flag(the_line.attr("this_country")));
if (d3.select("#flag-border")[0][0] === null){
legend.append("rect")
.attr("id", "flag-border")
.attr("y", 45)
.attr("width", 68)
.attr("height", 40);
}
});
} else {
clear_svg(d3.selectAll("path.country-line"));
setTimeout(function(){
datagroup.forEach(function(d, i) {
plot_space.append('svg:path')
.attr('d', line(d.values))
.attr("total_counts", total_counts(d.values))
.attr("this_country", d.key)
.attr("class", function(){
if (d.key == "United States of America") {
return "country-line usa";
} else {
return "country-line";
}
}
);
});
// For filling the legend
var lines = d3.selectAll(".country-line")
.on("mouseover", function(){
var the_line = d3.select(this);
d3.selectAll(".country-line").classed("green", false);
the_line.classed("green", true);
d3.select("#country-line-name")
.text("Country: " + the_line.attr("this_country"));
d3.select("#population-line")
.text("Number of students: " + Number(the_line.attr("total_counts")).toLocaleString());
d3.select("image#flag-line")
.attr('xlink:href', get_flag(the_line.attr("this_country")));
if (d3.select("#flag-border")[0][0] === null){
legend.append("rect")
.attr("id", "flag-border")
.attr("y", 45)
.attr("width", 68)
.attr("height", 40);
}
});
}, 750);
}
};
function draw_scatter_plots(all_data){
var margin = {x: 75, top: 50, bottom: 50},
linewidth = 2;
d3.selectAll(".opt-box-choice.axis-data").on("click", function(){
var target = d3.select(this);
if (target.classed("xval")) {
d3.selectAll(".xval").classed("selected", false);
} else {
d3.selectAll(".yval").classed("selected", false);
}
target.classed("selected", true);
new_dataset(target.attr("d-target"));
});
function new_dataset(){
d3.tsv("pisa2012_world_averages.dat", function(d){ // slide 1
return make_numerical(d);
}, draw_scatter_plots);
};
var score_extent = [350, 625];
var x_scale = d3.scale.linear()
.range([margin.x, width - margin.x])
.domain(score_extent),
y_scale = d3.scale.linear()
.range([height - margin.bottom, margin.top])
.domain(score_extent);
var x_axis = d3.svg.axis()
.scale(x_scale),
y_axis = d3.svg.axis()
.scale(y_scale)
.orient("left");
if (d3.select("#full-chart")[0].length == 1){
var chart_space = svg.append("g")
.attr("id", "full-chart");
} else {
var chart_space = d3.select("#full-chart");
}
if (d3.selectAll(".axis")[0].length == 0) {
chart_space.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + (height - margin.bottom) + ")")
.call(x_axis);
chart_space.append("g")
.attr("class", "y axis")
.attr("transform", "translate(" + margin.x + ", 0)")
.call(y_axis);
} else {
d3.selectAll(".axis").remove();
chart_space.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + (height - margin.bottom) + ")")
.call(x_axis);
chart_space.append("g")
.attr("class", "y axis")
.attr("transform", "translate(" + margin.x + ", 0)")
.call(y_axis);
}
if (d3.selectAll(".axis-label")[0].length == 0) {
console.log("fire");
chart_space.append("g")
.attr("class", "x-label axis-label")
.append("text")
.attr("x", (width - margin.x)/ 2)
.attr("y", height - margin.bottom/4)
.text("PISA Score - Reading");
chart_space.append("g")
.attr("class", "y-label axis-label")
.style("transform", "rotate(270deg)")
.append("text")
.attr("x", -(height + margin.top)/2)
.attr("y", margin.x / 3)
.text("PISA Score - Math");
} else {
var new_xlabel = d3.selectAll(".xval.selected").html(),
new_ylabel = d3.selectAll(".yval.selected").html();
d3.select(".x-label.axis-label text").text("PISA Score - " + new_xlabel);
d3.select(".y-label.axis-label text").text("PISA Score - " + new_ylabel);
}
// get the data
if (d3.select("#all-plotted-items")[0].length == 1){
var plot_space = chart_space.append("g")
.attr("id", "all-plotted-items");
} else {
var plot_space = d3.select("#all-plotted-items")
}
if (d3.selectAll(".data-points")[0][0] == null) {
var points = plot_space.selectAll("circle")
.data(all_data)
.enter()
.append("circle")
.attr("class", function(d){
if (d["country"] == "United States of America") {
return "data-points usa";
} else {
return "data-points";
}
})
.attr("cx", function(d){return x_scale(d[d3.select("#x-axis-choices .selected").attr("d-target")]);})
.attr("cy", function(d){return y_scale(d[d3.select("#y-axis-choices .selected").attr("d-target")]);})
.attr("r", 6);
// point functionality
points.on("mouseover", function(){
d3.selectAll(".data-points").classed("selected", false);
d3.select(this).classed("selected", true);
});
} else {
var points = d3.selectAll(".data-points")
.transition()
.delay(function(d,ii){
return ii*10;
})
.attr("cx", function(d){return x_scale(d[d3.select("#x-axis-choices .selected").attr("d-target")]);})
.attr("cy", function(d){return y_scale(d[d3.select("#y-axis-choices .selected").attr("d-target")]);})
.attr("r", 6);
}
// add a one-to-one line
var line_data = [
{xval: score_extent[0], yval: score_extent[0]},
{xval: score_extent[1], yval: score_extent[1]}
];
var line = d3.svg.line()
.x(function(d) {
return x_scale(d.xval);
})
.y(function(d) {
return y_scale(d.yval);
})
.interpolate('basis');
plot_space.append('svg:path')
.attr("d", line(line_data))
.attr('stroke', "#CCC") // line color
.attr('stroke-width', 2) // line width
.attr('class','diag_line guide')
.attr('fill', 'none');
};
d3.json("world_countries.json", draw_map); // slide 0/4
// d3.tsv("pisa2012_usa_total_gender.dat", function(d){ // slide 1
// if (d["country"] == "United States of America") {
// return make_numerical(d);
// }
// }, draw_line_plot);
// d3.tsv("pisa2012_world_averages.dat", function(d){ // slide 3
// return make_numerical(d);
// }, draw_scatter_plots);
function make_numerical(d){
d["allgrades_bucket"] = +d["allgrades_bucket"];
d["the_count"] = +d["the_count"];
d["math_avg"] = +d["math_avg"];
d["scie_avg"] = +d["scie_avg"];
d["read_avg"] = +d["read_avg"];
d["math_std"] = +d["math_std"];
d["scie_std"] = +d["scie_std"];
d["read_std"] = +d["read_std"];
d["overall_avg"] = d["math_avg"] + d["scie_avg"] + d["read_avg"];
return d;
};
// setting up the options box
var options_box = d3.select("#options-box"),
cities_line = options_box.append("div")
.attr("class", "options-line"),
subject_line = options_box.append("div")
.attr("class", "options-line"),
x_axis_options = options_box.append("div")
.attr("class", "options-line")
.attr("id", "x-axis-choices"),
y_axis_options = options_box.append("div")
.attr("class", "options-line")
.attr("id", "y-axis-choices");
cities_line.append("div")
.attr("class", "opt-box-choice city")
.attr("id", "usa-data")
.attr("d-target", "United States of America")
.html("USA total");
cities_line.append("div")
.attr("class", "opt-box-choice city")
.attr("id", "florida-data")
.attr("d-target", "Florida (USA)")
.html("Florida");
cities_line.append("div")
.attr("class", "opt-box-choice city")
.attr("id", "connecticut-data")
.attr("d-target", "Connecticut (USA)")
.html("Connecticut");
cities_line.append("div")
.attr("class", "opt-box-choice city")
.attr("id", "massachusetts-data")
.attr("d-target", "Massachusetts (USA)")
.html("Massachusetts");
subject_line.append("div")
.attr("class", "opt-box-choice subject")
.attr("id", "total")
.attr("file-target-1", "pisa2012_usa_total_gender.dat")
.attr("file-target-2", "pisa2012_world_total.dat")
.html("Cumulative Total");
subject_line.append("div")
.attr("class", "opt-box-choice subject")
.attr("id", "total")
.attr("file-target-1", "pisa2012_usa_reading_gender.dat")
.attr("file-target-2", "pisa2012_world_reading.dat")
.html("Reading");
subject_line.append("div")
.attr("class", "opt-box-choice subject")
.attr("id", "total")
.attr("file-target-1", "pisa2012_usa_science_gender.dat")
.attr("file-target-2", "pisa2012_world_science.dat")
.html("Science");
subject_line.append("div")
.attr("class", "opt-box-choice subject")
.attr("id", "total")
.attr("file-target-1", "pisa2012_usa_science_gender.dat")
.attr("file-target-2", "pisa2012_world_science.dat")
.html("Mathematics");
x_axis_options.append("div")
.attr("id", "x-label-control")
.attr("class", "opt-box-label")
.html("X-axis Data");
x_axis_options.append("div")
.attr("class", "opt-box-choice axis-data xval")
.attr("d-target", "math_avg")
.html("Math");
x_axis_options.append("div")
.attr("class", "opt-box-choice axis-data xval")
.attr("d-target", "scie_avg")
.html("Science");
x_axis_options.append("div")
.attr("class", "opt-box-choice axis-data xval selected")
.attr("d-target", "read_avg")
.html("Reading");
y_axis_options.append("div")
.attr("id", "y-label-control")
.attr("class", "opt-box-label")
.html("Y-axis Data");
y_axis_options.append("div")
.attr("class", "opt-box-choice axis-data yval selected")
.attr("d-target", "math_avg")
.html("Math");
y_axis_options.append("div")
.attr("class", "opt-box-choice axis-data yval")
.attr("d-target", "scie_avg")
.html("Science");
y_axis_options.append("div")
.attr("class", "opt-box-choice axis-data yval")
.attr("d-target", "read_avg")
.html("Reading");
// utility
var navigation = d3.selectAll(".nav").on("click", function(){
var btn = d3.select(this),
nugget = btn.attr("nugget");
if (btn.attr("id") == "nav-next") {
nugget = (Number(nugget) < 4) ? Number(nugget) + 1 : 4;
d3.selectAll(".nav").attr("nugget", nugget)
nav_control(nugget);
} else {
nugget = (Number(nugget) > 0) ? Number(nugget) - 1 : 0;
d3.selectAll(".nav").attr("nugget", nugget)
nav_control(nugget);
}
});
function nav_control(advance){
// when one of the nav buttons is clicked, either advance
// the vis forward, or go backward
// When moving through slides, call clear_svg_children()
if (advance === 0) {
clear_svg_children(svg);
clear_html(options_box);
show_html(lightbox);
d3.select("#nav-prev")
.transition()
.style("opacity", 0)
.transition()
.style("display", "none");
setTimeout(function(){
d3.json("world_countries.json", draw_map);
}, 500);
} else if (advance === 4){
clear_svg_children(svg);
clear_html(options_box);
enable_html(tooltip);
d3.select("#nav-next")
.transition()
.style("opacity", 0)
.transition()
.style("display", "none");
setTimeout(function(){
d3.json("world_countries.json", draw_map);
}, 600);
} else {
clear_svg_children(svg);
clear_html(lightbox);
reset_options();
d3.selectAll(".nav")
.style("display", "block")
.transition()
.style("opacity", .75)
if (advance === 1) {
clear_html(x_axis_options);
clear_html(y_axis_options);
disable_html(tooltip);
show_html(options_box);
show_html(d3.select(".options-line"));
setTimeout(function(){
d3.tsv("pisa2012_usa_total_gender.dat", function(d){ // slide 1
if (d["country"] == "United States of America") {
return make_numerical(d);
}
}, draw_line_plot);
}, 500);
}
if (advance === 2) {
clear_html(d3.selectAll(".options-line"));
setTimeout(function(){
show_html(subject_line);
d3.tsv("pisa2012_world_total.dat", function(d){ // slide 2
return make_numerical(d);
}, draw_multiple_lines);
}, 500);
}
if (advance === 3) {
disable_html(tooltip);
clear_html(d3.selectAll(".options-line"));
setTimeout(function(){
show_html(x_axis_options);
show_html(y_axis_options);
var x_set = d3.selectAll("#x-axis-choices .axis-data")
.classed("selected", function(d, ii){
if (ii == 2) {
return true;
} else {
return false;
}
}),
y_set = d3.selectAll("#y-axis-choices .axis-data")
.classed("selected", function(d, ii){
if (ii == 0) {
return true;
} else {
return false;
}
});
d3.tsv("pisa2012_world_averages.dat", function(d){ // slide 3
return make_numerical(d);
}, draw_scatter_plots);
}, 500);
}
}
}
function clear_svg_children(parent){
// when called, fades then removes all child elements
// from the input element
parent.selectAll("*")
.transition()
.duration(500)
.style("opacity", 0)
.remove();
return true;
}
function clear_svg(object){
object.transition().duration(300).style("opacity", 0).remove();
return true;
}
function clear_html(object){
object.transition()
.duration(750)
.style("opacity", 0);
setTimeout(function(){
object.style("display", "none");
}, 500);
return true;
}
function disable_html(object){
object.style("display", "none");
return true;
}
function enable_html(object){
setTimeout(function(){
object.style("display", "block");
}, 500);
}
function show_html(object){
object.style("display", "block")
.transition()
.duration(1000)
.style("opacity", 1.0);
}
function reset_options(){
d3.selectAll(".opt-box-choice").classed("selected", false);
}
function get_flag(country_name){
var mod_name = country_name.replace(/[\s\(]+/g, "-").replace(/[\)]+/g, "");
return "https://raw.githubusercontent.com/nhuntwalker/udacity_projects/master/project6/flags/flag-of-" + mod_name + ".png";
}
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment