-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (52 loc) · 2.29 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
<!-- References:
https://www.w3schools.com/howto/howto_js_slideshow.asp
-->
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/index.css">
<link rel="stylesheet" href="css/line-graph.css">
<link href='https://fonts.googleapis.com/css?family=Lato:300,900' rel='stylesheet' type='text/css'>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3-annotation/2.5.1/d3-annotation.js"></script>
</head>
<body>
<div id="container">
<h1>Accousticness In Popular Music From 1960 to 2020</h1>
<div class="slideshow-container">
<!-- Full-width images with number and caption text -->
<div class="mySlides fade">
<h2>Average Accousticness From 1960 to 1980</h2>
<div id="line-graph1"></div>
</div>
<div class="mySlides fade">
<h2>Average Accousticness From 1980 to 2000</h2>
<div id="line-graph2"></div>
</div>
<div class="mySlides fade">
<h2>Average Accousticness From 2000 to 2020</h2>
<div id="line-graph3"></div>
</div>
<!-- Next and previous buttons
<a class="prev" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a> -->
</div>
<br>
<div class="w3-center">
<div class="w3-section">
<button class="w3-button w3-light-grey" onclick="plusDivs(-1)">❮ Prev</button>
<button class="w3-button w3-light-grey" onclick="plusDivs(1)">Next ❯</button>
</div>
<div class="w3-section">
<button class="w3-button demo" onclick="currentDiv(1)">1</button>
<button class="w3-button demo" onclick="currentDiv(2)">2</button>
<button class="w3-button demo" onclick="currentDiv(3)">3</button>
</div>
</div>
<script type="text/javascript" src="js/slideshow.js"></script>
<script type="text/javascript" src="js/line-graph.js"></script>
<script type="text/javascript" src="js/line-graph2.js"></script>
<script type="text/javascript" src="js/line-graph3.js"></script>
</div>
</body>
</html>