This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
367 lines (327 loc) · 13.9 KB
/
index.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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<title>Youtube Statistics</title>
<!-- Bootstrap core CSS -->
<!-- Additional CSS Files -->
<link rel="stylesheet" href="assets/css/fontawesome.css">
<link rel="stylesheet" href="assets/css/templatemo-space-dynamic.css">
<link rel="stylesheet" href="assets/css/animated.css">
<link rel="stylesheet" href="assets/css/owl.css">
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!--
TemplateMo 562 Space Dynamic
https://templatemo.com/tm-562-space-dynamic
-->
</head>
<body>
<!-- ***** Preloader Start ***** -->
<div id="js-preloader" class="js-preloader">
<div class="preloader-inner">
<span class="dot"></span>
<div class="dots">
<span></span>
<span></span>
<span></span>
</div>
</div>
</div>
<!-- ***** Preloader End ***** -->
<!-- ***** Header Area Start ***** -->
<header class="header-area header-sticky wow slideInDown" data-wow-duration="0.75s" data-wow-delay="0s">
<div class="container">
<div class="row">
<div class="col-12">
<nav class="main-nav">
<!-- ***** Logo Start ***** -->
<a href="index.html" class="logo">
<h4>Youtube<span>Statistics</span></h4>
</a>
<!-- ***** Logo End ***** -->
<!-- ***** Menu Start ***** -->
<ul class="nav">
<li class="scroll-to-section"><a href="#top" class="active">Home</a></li>
<li class="scroll-to-section"><a href="#about">About us</a></li>
<li class="scroll-to-section"><a href="#allCategories">All Categories</a></li>
<li class="scroll-to-section"><a href="#categories">By Category</a></li>
<li class="scroll-to-section"><a href="#tops">Hits</a></li>
<li class="scroll-to-section"><a href="#overtime">Overtime</a></li>
<li class="scroll-to-section"><a href="#portfolio">Help</a></li>
</ul>
<a class='menu-trigger'>
<span>Menu</span>
</a>
<!-- ***** Menu End ***** -->
</nav>
</div>
</div>
</div>
</header>
<!-- ***** Header Area End ***** -->
<div class="main-banner wow fadeIn" id="top" data-wow-duration="1s" data-wow-delay="0.5s">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="row">
<div class="col-lg-12 align-self-center">
<div class="left-content header-text wow fadeInLeft" data-wow-duration="1s" data-wow-delay="1s">
<h6>Welcome to Youtube Statistics</h6>
<h2>We present you <em>Visualizations on </em> <span>Youtube </span> data</h2>
<p>Here is possible to have a view on Youtube top videos, search analytics by category and much more! </p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="about" class="about-us section">
<div class="container">
<div class="row">
<div class="col-lg-4">
<div class="left-image wow fadeIn" data-wow-duration="1s" data-wow-delay="0.2s">
<img src="assets/images/about-left-image.png" alt="person graphic">
</div>
</div>
<div class="col-lg-8 align-self-center">
<div class="services">
<div class="row">
<div class="col-lg-6">
<div class="item wow fadeIn" data-wow-duration="1s" data-wow-delay="0.5s">
<div class="icon">
<img src="assets/images/service-icon-01.png" alt="reporting">
</div>
<div class="right-text">
<h4>Data Analysis</h4>
<p>In one place you have access on several statistics of Youtube videos.</p>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="item wow fadeIn" data-wow-duration="1s" data-wow-delay="0.7s">
<div class="icon">
<img src="assets/images/service-icon-02.png" alt="">
</div>
<div class="right-text">
<h4>Data by Category</h4>
<p>Is possible to have views specific on certain categories.</p>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="item wow fadeIn" data-wow-duration="1s" data-wow-delay="0.9s">
<div class="icon">
<img src="assets/images/service-icon-03.png" alt="">
</div>
<div class="right-text">
<h4>Check the hits</h4>
<p>You are able to check what videos are trending!</p>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="item wow fadeIn" data-wow-duration="1s" data-wow-delay="1.1s">
<div class="icon">
<img src="assets/images/service-icon-04.png" alt="">
</div>
<div class="right-text">
<h4>Help on marketplace</h4>
<p>Are you searching for a Youtuber to work with? You are in the right place! </p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="allCategories" class="our-portfolio section">
<div class="container">
<h2>Compare all categories </h2>
<p> Here you are able to compare the statistics of the main categories of Youtube's videos</p>
<!-- Add 2 buttons -->
<button class="btn btn-primary" style="margin-right:2%"onclick="barPlotAllCategories('views')">Views</button>
<button class="btn btn-primary" onclick="barPlotAllCategories('likes')">Likes</button>
<br>
<!-- Create a div where the graph will take place -->
<div class="row">
<div class="col-lg-12 col-sm-6">
<div class="item wow bounceInUp" data-wow-duration="1s" data-wow-delay="0.4s">
<div id="divAllCategories" class="">
</div>
</div>
</div>
</div>
</div>
</div>
<div id="categories" class="our-portfolio section">
<div class="container">
<h2>Check by category </h2>
<div class="row">
<div class="col-lg-8 ">
If you want to check the statistics of a specific category, please select it from the WordCloud below or directly from the dropdown menu.
<div class="section-heading wow bounceIn mb-3" data-wow-duration="0.5s" data-wow-delay="0.2s" >
</div>
</div>
<div id="my_dataviz"></div>
<div class="row">
<div class="col-lg-2 col-sm-6">
<div id="divCategories" class="item wow bounceInUp" data-wow-duration="1s" data-wow-delay="0.3s" >
</div>
</div>
<div class="col-lg-10 col-sm-6">
<div class="item wow bounceInUp" data-wow-duration="1s" data-wow-delay="0.4s">
<div id="barPlotCategories">
</div>
</div>
</div>
</div>
</div>
</div>
<div id="tops" class="our-services section">
<div class="container">
<div class="row">
<h2 id="tops-header">Videos Trending - Top 10 </h2>
<div class="col-lg-12 align-self-center wow fadeInLeft" data-wow-duration="1s" data-wow-delay="0.2s">
</div>
<div class="col-lg-2">
<div class="col-lg-12">
<select id="tops-select" class="form-select col-lg-12" style="cursor: pointer";></select>
</div>
<div class="col-lg-12" style="margin-top: 5px; text-align: center" >
<button class="btn btn-primary col-lg-5" value="10" onclick="topsButtonClicked(this);">Top 10</button>
<button class="btn btn-primary offset-lg-1 col-lg-5" value="25" onclick="topsButtonClicked(this);">Top 25</button>
</div>
</div>
<div class="col-lg-10 wow fadeInRight" data-wow-duration="1s" data-wow-delay="0.2s">
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Title</th>
<th scope="col">Keyword</th>
<th scope="col">#Views</th>
<th scope="col">#Likes</th>
<th scope="col">#Coments</th>
<th scope="col">Date</th>
</tr>
</thead>
<tbody id="tops-table-body">
</tbody>
</table>
</div>
</div>
<div class="row">
<div class="col-lg-12" style="margin-top: 5px; text-align: right">
<p id="tops-table-page">page 1/1</p>
<button id="prev-button-tops-table" class="btn btn-secondary">Previous</button>
<button id="next-button-tops-table" class="btn btn-secondary">Next</button>
</div>
</div>
<div class="row">
<div id="pie-chart-div" class="col-lg-12 mx-auto" style="width: 900px; height: 500px;">
</div>
</div>
</div>
</div>
<div id="overtime" class="our-portfolio section">
<div class="container">
<h2><em>Over time</em></h2>
<div class="row">
<div class="col-lg-6 offset-lg-3">
<div class="section-heading wow bounceIn" data-wow-duration="1s" data-wow-delay="0.2s">
</div>
</div>
</div>
<div class="row">
<div class="col-lg-4 col-sm-6">
<div data-wow-duration="1s" data-wow-delay="0.3s">
<div class="section">
<h4>Choose one:</h4>
<p>Categories</p>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="defaultCheck1">
<label class="form-check-label" for="defaultCheck1">
Beauty
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="defaultCheck1">
<label class="form-check-label" for="defaultCheck1">
Tech
</label>
</div>
</div>
</div>
<div class="col-lg-4 col-sm-6">
<div class="item wow bounceInUp" data-wow-duration="1s" data-wow-delay="0.4s">
<div class="">
<p> TABLE </p>
</div>
</div>
</div>
<div class="col-lg-4 col-sm-6">
<div class="item wow bounceInUp" data-wow-duration="1s" data-wow-delay="0.5s">
<div>
<h4>Filters</h4>
<p>Lorem ipsum dolor sit ameti ctetur aoi adipiscing eto.</p>
</div>
<div>
<h4>Views on</h4>
<div class="form-check">
<input class="form-check-input" type="radio" name="flexRadioDefault" id="flexRadioDefault1">
<label class="form-check-label" for="flexRadioDefault1">
Views
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="flexRadioDefault" id="flexRadioDefault2" checked>
<label class="form-check-label" for="flexRadioDefault2">
Likes
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="flexRadioDefault" id="flexRadioDefault2" checked>
<label class="form-check-label" for="flexRadioDefault2">
Comments
</label>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-12 wow fadeIn" data-wow-duration="1s" data-wow-delay="0.25s">
<p>© Copyright 2021 Space Dynamic Co. All Rights Reserved.
<p>Created by: <a rel="nofollow" href="https://github.com/marianarosa01">Mariana Rosa </a> and <a rel="nofollow" href="https://github.com/marianarosa01">Simão Arrais</a></p>
<br>Design: <a rel="nofollow" href="https://templatemo.com">TemplateMo</a></p>
</div>
</div>
</div>
</footer>
<!-- Scripts -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/js/owl-carousel.js"></script>
<script src="assets/js/animation.js"></script>
<script src="assets/js/imagesloaded.js"></script>
<script src="assets/js/templatemo-custom.js"></script>
<script type="text/javascript" src="http://d3js.org/d3.v6.js"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript" src="assets/js/index.js"></script>
<!-- Load d3-cloud -->
<script src="https://cdn.jsdelivr.net/gh/holtzy/D3-graph-gallery@master/LIB/d3.layout.cloud.js"></script>
</body>
</html>