-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (51 loc) · 1.97 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
<!DOCTYPE html>
<html>
<head>
<title>D3 Project Starter Template</title>
<meta charset="UTF-8">
<link rel="icon" href="data:;base64,iVBORwOKGO=" />
<link href='https://fonts.googleapis.com/css?family=Varela Round' rel='stylesheet'>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class='container-all'>
<div class = container-top>
<div class = "container-bar-scatter">
<h1>Note-able Insights: Top Tracks on Spotify 🎵</h1>
<div><svg id="bar-chart"></svg></div>
<div class="container-scatter-plot">
<div>
<svg id="scatterplot"></svg>
<svg id="spider-chart"></svg>
<div class = 'container-rectchart-sideinfo'>
Value Color Scale
<div class="rectchartlegend-container">
<span>Low</span>
<div class="rectchartlegend"></div>
<span>High</span>
</div>
Sort by:
<select id="sort-selector">
<option value="popularity">Popularity</option>
<option value="attribute">Attribute</option>
</select>
</div>
</div>
</div>
</div>
<div class="container-rectchart">
<svg id="rectangle-chart"></svg>
</div>
</div>
<!-- Tooltip -->
<div id="tooltip"></div>
<!-- D3 library -->
<script src="js/d3.v6.min.js"></script>
<!-- Our JavaScript code -->
<script src="js/main.js"></script>
<script src="js/barchart.js"></script>
<script src="js/rectanglchart.js"></script>
<script src="js/scatterplot.js"></script> <!-- Make sure this path is correct -->
<script src="js/spiderchart.js"></script>
</body>
</html>