-
Notifications
You must be signed in to change notification settings - Fork 0
/
goals_2024_copa.html
72 lines (69 loc) · 3.3 KB
/
goals_2024_copa.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="style.css">
<title>Players Goals - 2024</title>
</head>
<body>
<h2>Football Stats</h2>
<h1>Goals - Copa America 2024</h1>
<h3 class="subtitle">The graphs present the number of goals scored during the Copa America 2024 tournament. The data
has been grouped by several categories: scorer, country, club and league for which the footballers play, as well
as the as the players' age.</h3>
<div class="competitions_list_container">
<h4 class="competitions_list_header">2024 Graphs</h4>
<ul>
<li><a href="index.html">Clubs and Leagues EURO 2024</a></li>
<li><a href="leagues_2024_copa.html">Clubs and Leagues COPA 2024</a></li>
</ul>
<br>
<ul>
<li><a href="goals_2024.html">Goals EURO 2024</a></li>
<li><a href="assists_2024.html">Assists EURO 2024</a></li>
<li><a href="goals_2024_copa.html">Goals COPA 2024</a></li>
<li><a href="assists_2024_copa.html">Assists COPA 2024</a></li>
</ul>
<h4 class="competitions_list_header">2020/21 Graphs</h4>
<ul>
<li><a href="goals_2021.html">Goals EURO 2020</a></li>
<li><a href="assists_2021.html">Assists EURO 2020</a></li>
<li><a href="goals_copa_2021.html">Goals COPA 2021</a></li>
<li><a href="assists_copa_2021.html">Assists COPA 2021</a></li>
</ul>
</div>
<h2 id="all_goals">Total number of goals (own goals excluded): </h2>
<div class="select_chart">
<input type="radio" id="bar_radio" name="chart_type" value="bar" onchange="switch_to('bar')">
<label for="bar_radio">Bar chart</label>
<input type="radio" id="pie_radio" name="chart_type" value="pie" onchange="switch_to('pie')">
<label for="pie_radio">Pie chart</label>
<p>
<input type="checkbox" id="one_goal" onchange="modify_one_goal(this, 'Goals')">
<label for="one_goal">Include one-goal-scorers</label>
</p>
</div>
<div id='container'>
<div class="chart_container" id="players_container"></div>
<div class="chart_container" id="national_teams_container"></div>
<div class="chart_container" id="clubs_container"></div>
<div class="chart_container" id="leagues_container"></div>
<div class="chart_container" id="age_container"></div>
</div>
<footer>
<p>Data source: <a href="https://www.flashscore.com/">FlashScore</a></p>
<p>Source code and contact: <a href="https://github.com/KajaBraz/FootballScorersAnalysis">GitHub</a></p>
</footer>
<!-- it fixes drawing issue on safari version <14 on iphone -->
<script src="https://polyfill.io/v3/polyfill.min.js?features=ResizeObserver"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.4.1/chart.min.js"></script>
<script src="js/2024/players_copa.js"></script>
<script src="js/functions.js"></script>
<script src="js/2024/charts_2024_scorers.js"></script>
<script src="js/strings.js"></script>
<script>
start(players, "Goals");
</script>
</body>
</html>