-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (72 loc) · 2.71 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Bellybutton Biodiversity</title>
<!-- Link to Bootstrap CDN -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- Link to D3 CDN -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/5.16.0/d3.min.js" integrity="sha512-FHsFVKQ/T1KWJDGSbrUhTJyS1ph3eRrxI228ND0EGaEp6v4a/vGwPWd3Dtd/+9cI7ccofZvl/wulICEurHN1pg==" crossorigin="anonymous"></script>
<!-- Link to Plotly CDN -->
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
</head>
<!-- Add style elements -->
<style>
.jumbotron {
background-color: lightslategray;
}
.jumbotron h1 {
color: azure;
}
.jumbotron p {
color: azure;
}
</style>
<!-- Load Test Subject 940's info on page load -->
<body onload="optionChanged(940)">
<div class="container">
<div class="row">
<div class="col-md-12 jumbotron text-center">
<h1>Belly Button Biodiversity Dashboard</h1>
<p>Use the interactive charts below to explore the dataset</p>
</div>
</div>
<div class="row">
<div class="col-md-2">
<!-- <div> belonging to the "well: class -->
<div class="well">
<h5>Test Subject ID No.:</h5>
<!-- contains a dropdown menu with an id of "selDataset" -->
<select id="selDataset" onchange="optionChanged(this.value)"></select>
</div>
<!-- <div> belonging to the "panel panel-primary" class -->
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Demographic Info</h3>
</div>
<!-- conatains panel for the demographic info -->
<div id="sample-metadata" class="panel-body"></div>
</div>
</div>
<div class="col-md-5">
<!-- <div> belonging to id="bar" containing bar chart -->
<div id="bar"></div>
</div>
<div class="col-md-5">
<!-- <div> belonging to id="gauge" containing gauge -->
<div id="gauge"></div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<!-- <div> belonging to id="bubble" containing bubble chart -->
<div id="bubble"></div>
</div>
</div>
</div>
</body>
<!-- Link to JavaScript script -->
<script src="plots.js"></script>
</html>