-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
101 lines (86 loc) · 2.84 KB
/
main.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Data Visualization</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="style.css">
<script src="http://d3js.org/d3.v3.min.js"></script>
<script type="text/javascript" src="http://d3js.org/queue.v1.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style>
/* Remove the navbar's default margin-bottom and rounded borders */
.navbar {
margin-bottom: 0;
border-radius: 0;
}
/* Set height of the grid so .sidenav can be 100% (adjust as needed) */
.row.content {height: 900px}
.sidenav {
padding-top: 20px;
background-color: #FFFFF;
height: 100%;
}
/* On small screens, set height to 'auto' for sidenav and grid */
@media screen and (max-width: 900px) {
.sidenav {
height: auto;
padding: 15px;
}
.row.content {height:auto;}
}
</style>
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="main.html">Data Visualization CSCI 552</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li class="active"><a href="main.html">Home</a></li>
<li class="active"><a href="sample.html">Top 10 States</a></li>
<li><a href="about.html">About</a></li>
<li><a href="#">Source code</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Contact</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row content">
<div class="col-sm-3 sidenav">
<div class="row">
<div class="col-sm-12 sidenav">
<svg id = "det1"></svg>
<svg id ="det4"></svg>
</div>
</div>
</div>
<div align="left"><h1>Visualization of US Census Data-2015 by State</h1> </div>
<div id="map" class="col-sm-6 text-left">
<script type="text/javascript" src="script.js"></script>
</div>
<div class="col-sm-3 sidenav">
<div class="row">
<div class="col-sm-12 sidenav">
<svg id = "det5"></svg>
<div id ="det2" style="text-align:center;"> <script type="text/javascript" src="Donut3D.js"></script>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>