-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathathletes.html
167 lines (127 loc) · 5.62 KB
/
athletes.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<!-- Styles CSS -->
<link rel="stylesheet" href="./static/styles.css">
<!-- Plotly -->
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<title>Athletes</title>
<link rel="shortcut icon" type="image/jpg" href="./static/olympic_favicon.png" />
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark sticky-top" style="background-color: rgb(28, 37, 153);">
<div class="container-fluid">
<a class="navbar-brand" href="index.html">
<img src="./static/olympic_logo.png" alt="" width="35">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="athletes.html">Athletes</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="medals.html">Medals</a>
</li>
<li class="nav-item">
<a class="nav-link" href="facts.html">Fun Facts</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- PAGE TITLE -->
<div>
<style>
/* Container holding the image and the text */
.container {
position: relative;
text-align: center;
color: white;
text-shadow: 2px 2px rgb(158, 168, 175);
}
/* Centered text */
.centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
<div class="container">
<div class="row">
<div class="col-md-12 jumbotron text-center">
<img src="./static/athlete.png" alt="fun facts" width="150">
<h1 class="centered" style="font-size:4rem; color:black">Athletes</h1>
</div>
</div>
</div>
</div>
<!-- BREAK -->
<br><br>
<div>
<!-- STYLING FOR VISUALIZATION NAME -->
<style>
h3 {
text-align: center;
/* font-family: 'Segoe UI', cursive; */
font-size: 3rem;
padding-bottom: 0.2em;
}
</style>
<h3 style="color:rgb(28, 37, 153);">Learn about Participation by Gender and Discipline</h3>
<div class="row justify-content-center">
<div class="col-md-6 text-center">
<p style="text-align:center"> Below are two interactive charts, the first displaying participation by gender, and the second displaying the most popular sport disciplines. Feel free to interact with the charts to uncover more details in the data. We encourage you to choose a country from the dropdown menu to learn more about these stats from that particular country.</p>
</div>
</div>
<div class="row justify-content-center">
<div class="dropdownWrapper">
<select id="selectCountry">
<option value="">Choose a country you would like to learn more about:</option>
</select>
</div>
</div>
<br>
<div class="container-fluid">
<div class="row justify-content-md-center">
<div class="col-md-4">
<div id="plot"></div>
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="./static/Combined.js"></script>
</div>
<div class="col-md-8">
<div id="bar"></div>
<script src="./static/Combined.js"></script>
<script src="https://d3js.org/d3.v5.min.js"></script>
</div>
</div>
</div>
</div>
<br>
<!-- JavaScript: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ"
crossorigin="anonymous">
</script>
<main class="flex-fill"></main>
<footer class="footer">
<div class="container-fluid opacity-50" style="background-color:rgb(0, 0, 0)">
<div style="color:rgb(255, 255, 255); text-align:center"><b>CREATED BY:</b> <a href="https://github.com/brbbrb" style="color:rgb(81, 166, 177)">Bradley Barker</a> • <a href="https://github.com/Connelito" style="color:rgb(253, 178, 96)">Darryl Connelly II</a> • <a href="https://github.com/uchenna23"style="color:rgb(114, 180, 139)">Uchenna Nwagbara</a> • <a href="https://github.com/Yingying-Li-Data"style="color:rgb(242, 97, 94)">Yingying Li</a></div>
</div>
</footer>
</body>
</html>