forked from elmaano/sbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplayers.html
45 lines (41 loc) · 6.44 KB
/
players.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>FIFA Players</title>
<style media="screen">
.chart {
width: 100%;
height: 1600px;
}
</style>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load("current", {packages:["corechart"]});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var datas = [["Country","ARG 1","AUS 1","AUT 1","BEL 1","BRA 1","CHI 1","COL 1","DEN 1","ENG 1","ENG 2","ENG 3","ENG 4","ESP 1","ESP 2","FIN 1","FRA 1","FRA 2","GER 1","GER 2","GRE 1","IRL 1","ITA 1","ITA 2","JPN 1","KOR 1","MEX 1","MLS","NED 1","NOR 1","POL 1","POR 1","RSA 1","RUS 1","SAU 1","SPFL","SUI 1","SWE 1","TUR 1","UKR 1"],["Germany",0,1,9,3,0,0,0,3,21,10,5,0,4,3,1,3,0,290,274,3,0,5,1,0,0,0,2,18,1,1,1,0,1,0,0,5,0,13,0],["Spain",0,9,10,9,0,0,1,0,69,14,2,0,407,379,0,4,0,24,2,5,0,15,3,0,2,5,6,3,0,6,10,0,7,0,2,1,1,2,0],["Nigeria",0,0,3,11,0,0,0,3,11,5,6,0,0,3,4,2,0,2,1,1,1,3,2,2,0,0,5,4,11,0,3,0,5,1,2,0,7,12,0],["Italy",0,2,0,2,0,0,0,0,7,9,0,0,17,2,0,13,1,6,1,4,0,313,300,0,0,0,8,0,0,0,1,0,4,0,1,5,0,0,0],["England",0,2,1,1,0,0,0,0,269,334,359,286,0,0,0,0,0,0,1,2,0,4,0,1,0,0,18,3,0,1,0,0,0,0,52,0,2,0,0],["France",0,0,1,51,0,0,0,0,46,18,7,9,45,7,0,362,240,20,6,0,0,23,2,0,0,2,10,6,3,3,7,0,5,0,3,7,1,4,0],["Chile",8,0,0,1,0,206,2,0,7,0,1,0,6,2,0,0,0,4,1,0,0,9,0,0,0,15,3,0,0,0,0,0,0,1,0,0,1,1,0],["Argentina",421,2,0,2,0,48,15,0,18,0,0,0,40,17,0,19,1,4,2,6,0,54,6,0,1,76,31,2,0,0,15,0,1,1,0,2,0,2,1],["Greece",0,0,1,10,0,0,0,0,3,1,0,0,1,0,0,0,2,11,3,32,0,10,1,2,0,0,0,5,0,0,4,0,0,1,0,1,0,0,0],["Switzerland",0,0,4,3,0,0,0,0,8,6,2,0,0,2,0,6,1,31,5,0,0,8,5,0,0,0,4,0,0,3,0,0,1,0,1,70,0,4,0],["Sweden",0,0,1,3,0,0,0,21,6,7,1,0,1,0,0,10,0,13,3,4,0,8,2,2,0,0,5,15,12,0,1,0,7,0,1,4,216,5,0],["Poland",0,0,0,3,0,0,0,1,6,7,0,1,1,2,0,11,0,10,13,0,0,14,2,1,0,0,0,3,2,202,0,0,3,0,1,0,4,2,0],["Brazil",1,2,7,11,2,1,0,1,23,3,1,0,43,2,1,31,6,22,6,5,0,48,10,39,17,11,16,7,2,6,108,0,22,19,3,5,4,28,11],["Belgium",0,0,0,159,0,0,0,0,38,6,2,2,10,1,0,9,2,4,2,0,0,18,0,0,1,0,2,14,0,2,2,0,4,0,2,2,0,3,0],["Holland",0,0,3,12,0,0,0,6,30,18,6,2,2,0,0,1,0,10,3,1,0,9,0,0,1,0,3,297,3,0,8,0,4,0,4,2,3,14,0],["Uruguay",35,1,0,0,0,5,12,0,6,0,0,0,8,6,0,9,0,1,0,0,0,8,7,0,0,16,6,2,0,0,4,0,2,2,0,2,2,1,0],["Croatia",0,1,6,6,0,0,0,1,2,2,0,0,9,0,0,6,0,11,5,1,0,28,5,1,3,0,0,1,0,7,2,0,6,2,3,5,1,3,3],["Slovenia",0,0,1,1,0,0,0,1,0,1,1,0,5,0,0,1,0,4,4,0,0,9,3,3,0,0,0,1,0,7,1,0,2,0,0,0,0,6,0],["Czech Republic",0,0,1,3,0,0,0,2,1,5,2,0,0,0,0,1,0,7,1,0,0,5,0,0,0,0,0,3,0,5,0,0,3,0,1,4,0,10,0],["Portugal",0,1,0,2,0,0,0,1,5,18,10,1,21,6,0,16,0,5,2,6,0,8,2,0,0,0,5,1,2,6,222,0,5,3,0,5,0,12,0],["Denmark",0,4,1,8,0,0,0,151,14,13,0,1,4,0,0,4,2,8,2,1,2,0,2,0,0,0,1,21,12,2,0,0,0,0,1,2,13,2,0],["Slovakia",0,1,1,1,0,0,0,1,3,0,0,2,0,0,0,2,0,4,5,0,0,8,2,0,0,0,0,2,2,21,0,0,2,0,1,0,0,7,0],["Austria",0,0,132,0,0,0,0,4,10,5,0,1,1,0,0,0,0,20,26,0,1,0,2,0,0,0,2,3,0,0,0,0,0,0,0,4,1,5,0],["Colombia",10,0,0,2,0,0,433,0,3,0,1,0,5,5,1,4,0,3,0,5,0,15,3,1,0,41,18,5,0,0,8,0,2,0,0,1,0,3,0],["Côte d'Ivoire",0,0,0,8,0,0,0,1,9,4,0,3,2,2,0,17,8,2,2,0,0,6,5,0,0,0,2,1,4,0,0,0,7,0,2,5,0,4,0],["Senegal",0,2,0,13,0,0,0,0,15,5,0,0,3,3,0,12,11,3,3,2,0,14,2,0,0,0,3,0,4,1,7,1,0,0,0,2,1,16,0],["Guinea",0,0,0,2,0,0,0,0,0,2,0,0,0,1,0,6,2,7,0,0,0,2,3,0,0,0,1,1,0,0,0,0,1,4,0,0,0,2,0],["Bosnia and Herzegovina",0,0,5,1,0,0,0,0,2,0,0,0,0,1,0,1,0,9,5,1,0,7,3,0,0,0,1,1,1,4,0,0,1,0,0,0,0,6,0],["Finland",0,0,0,2,0,0,0,5,0,4,0,0,0,0,7,0,0,6,3,1,0,1,0,0,0,0,0,0,9,3,0,0,1,0,0,0,7,0,0],["Morocco",0,0,0,2,0,0,0,2,3,2,3,0,5,2,0,12,7,0,1,1,0,5,4,2,0,0,1,15,0,1,0,0,0,1,1,2,0,3,0],["Costa Rica",0,0,0,1,0,0,0,2,2,0,0,0,3,0,0,0,0,0,1,0,0,1,0,0,0,0,10,0,2,0,3,0,2,0,1,1,0,1,0],["Algeria",0,0,0,3,0,0,0,0,4,0,1,0,5,3,0,14,9,4,1,0,0,2,1,1,0,0,0,0,0,0,4,0,0,2,0,1,0,3,0],["Ukraine",0,0,0,3,0,0,0,0,0,0,0,0,3,0,0,0,0,6,1,1,0,0,1,0,0,0,0,1,1,4,0,0,11,0,0,0,0,0,17],["Norway",0,0,4,0,0,0,0,7,5,7,1,0,2,0,0,2,0,9,10,3,0,1,0,0,0,0,3,4,195,0,0,0,1,0,2,2,18,1,0],["Turkey",0,0,1,0,0,0,0,0,1,1,0,0,3,0,0,1,2,16,4,0,0,0,0,0,0,0,0,2,0,0,1,0,1,0,2,0,0,264,0],["Serbia",0,4,1,15,0,0,0,2,8,4,0,0,7,6,1,7,2,13,0,5,0,15,1,1,1,0,0,2,1,10,14,0,12,0,0,8,1,9,0],["United States",0,0,0,0,0,0,2,3,7,7,6,0,0,0,0,0,1,18,6,0,0,0,0,0,0,21,261,4,7,0,0,0,0,0,1,1,2,0,0],["Iceland",0,0,1,3,0,0,0,7,3,4,2,0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,13,0,0,0,0,0,0,4,12,3,0],["Cameroon",0,0,1,7,0,0,0,0,3,2,0,4,4,3,0,13,8,2,3,1,0,2,0,0,0,0,6,2,1,0,1,0,1,0,1,0,0,17,0],["Montenegro",0,0,0,4,0,0,0,0,0,0,0,0,1,2,0,1,0,0,4,0,0,3,2,0,2,0,0,0,0,0,2,0,1,0,0,1,0,1,0],["Japan",0,1,3,2,0,0,0,0,2,0,0,0,3,1,2,2,0,13,5,0,0,2,0,330,3,0,4,4,0,2,0,0,0,0,0,3,0,0,0],["Tunisia",0,2,0,2,0,0,0,0,2,1,0,0,3,0,0,6,8,3,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,1,0,2,1,1,0],["Congo DR",0,0,0,4,0,0,0,0,5,7,2,3,1,0,0,5,8,1,1,1,0,0,2,0,0,0,2,0,0,0,1,0,1,0,0,2,2,2,0],["Albania",0,3,0,2,0,0,0,0,0,0,0,0,0,1,0,1,0,3,2,0,0,10,4,0,0,0,1,0,2,0,0,0,3,0,0,4,0,6,0],["Venezuela",0,0,0,1,0,0,3,0,1,0,0,0,7,7,0,4,0,0,0,0,0,8,1,0,0,0,0,0,0,0,5,0,1,0,0,1,0,1,0],["Ghana",0,0,0,7,0,0,0,7,6,6,0,3,5,1,2,1,0,3,3,3,0,6,10,0,0,0,11,2,9,1,5,2,5,0,3,3,13,7,0],["Peru",4,0,2,1,0,2,0,2,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,2,0,2,0,0,2,0,1,0,0,1,1,0,0],["Romania",0,0,1,4,0,0,0,0,2,0,0,0,1,3,0,0,0,0,3,0,0,9,3,0,0,0,1,1,0,1,0,0,5,0,0,0,0,10,0],["Australia",0,109,1,0,0,0,0,4,3,10,5,2,2,0,0,0,0,2,4,0,0,0,0,3,4,0,0,6,1,0,0,0,1,0,3,1,1,1,0],["Paraguay",12,0,0,0,0,5,5,2,0,0,0,0,2,1,0,0,0,2,0,1,0,5,0,0,0,16,1,0,0,0,1,0,1,1,0,0,0,0,0],["Mali",0,0,0,5,0,0,0,0,2,1,0,0,0,0,0,8,14,1,0,0,0,2,2,0,0,0,0,0,0,0,4,0,2,0,0,0,0,5,0],["Scotland",0,1,0,0,0,0,0,0,24,43,28,15,0,0,0,0,0,1,0,0,1,0,0,0,0,0,1,0,0,0,2,0,0,0,105,0,0,1,0],["FYR Macedonia",0,1,3,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,4,1,0,1,0,0,0,0,2,0,0,0,0,0,2,1,0,0]];
var data = new google.visualization.arrayToDataTable(datas);
var options = {
title: 'Number of 60-90 Rated Players in each league by nation',
legend: { position: 'none' },
isStacked: true,
chartArea: {
// allow 70px for hAxis title and ticks
height: 1550,
// allow 200px for vAxis title and ticks
left: 300,
// allow 50px for chart title
top: 50,
}
};
var chart = new
google.visualization.BarChart(document.getElementById('playersPerCountryPerLeague'));
chart.draw(data, options);
}
</script>
</head>
<body>
<div id="playersPerCountryPerLeague" class="chart"></div>
</body>
</html>