forked from meibanfa/CSE6242_Team34
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
131 lines (125 loc) · 5.94 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSE6242 Team34 Project</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/font.css">
<link rel="stylesheet" type="text/css" href="css/leaflet.css">
</head>
<body>
<!-- h1><strong>YELP </strong><br>ACADEMIC <br> DATASET</h1 -->
<!-- h3>Mengfei Yang <br>Anjian Peng <br>Tzuchuan Huan <br> Xiaotong Jiang <br> Jialin Ma</h3 -->
<div id="svg-container">
<div id="map"></div>
<div id="filterbar">
<header>
<button type="button" id="reset" onclick="initialBoxs()">RESET</button>
<h1>Narrow Results</h1>
</header>
<div id="f-t-l">
<h2>· Star Rating ·</h2>
<div id="star-filter">
<div class="boxes">
<input autocomplete="off" class="check" type="checkbox" onchange="toggleCheckbox(this)" value="None" id="c5" name="check"/>
<label for="c5"><img src="img/5star.png"></label>
</div>
<div class="boxes">
<input autocomplete="off" class="check" type="checkbox" onchange="toggleCheckbox(this)" value="None" id="c4" name="check"/>
<label for="c4"><img src="img/4star.png"></label>
</div>
<div class="boxes">
<input autocomplete="off" class="check" type="checkbox" onchange="toggleCheckbox(this)" value="None" id="c3" name="check"/>
<label for="c3"><img src="img/3star.png"></label>
</div>
<div class="boxes">
<input autocomplete="off" class="check" type="checkbox" onchange="toggleCheckbox(this)" value="None" id="c2" name="check"/>
<label for="c2"><img src="img/2star.png"></label>
</div>
<div class="boxes">
<input autocomplete="off" class="check" type="checkbox" onchange="toggleCheckbox(this)" value="None" id="c1" name="check"/>
<label for="c1"><img src="img/star.png"></label>
</div>
</div>
</div>
<div id="f-t-m"> <h2>⇢</h2></div>
<div id="f-t-r">
<h2>· Review Counts ·</h2>
<div id="review-filter">
<div class="r-list">
<div class="boxes">
<input autocomplete="off" class="check" type="checkbox" onchange="toggleCheckbox(this)" value="None" id="r8" name="check"/> 100 - 500
<label for="r8"></label>
</div>
<div class="boxes">
<input autocomplete="off" class="check" type="checkbox" onchange="toggleCheckbox(this)" value="None" id="r7" name="check"/> 500 - 1000
<label for="r7"></label>
</div>
<div class="boxes">
<input autocomplete="off" class="check" type="checkbox" onchange="toggleCheckbox(this)" value="None" id="r6" name="check"/> 1000 - 1500
<label for="r6"></label>
</div>
<div class="boxes">
<input autocomplete="off" class="check" type="checkbox" onchange="toggleCheckbox(this)" value="None" id="r5" name="check"/> 1500 - 2000
<label for="r5"></label>
</div>
</div>
<div class="r-list">
<div class="boxes">
<input autocomplete="off" class="check" type="checkbox" onchange="toggleCheckbox(this)" value="None" id="r4" name="check"/> 2000 - 2500
<label for="r4"></label>
</div>
<div class="boxes">
<input autocomplete="off" class="check" type="checkbox" onchange="toggleCheckbox(this)" value="None" id="r3" name="check"/> 2500 - 3000
<label for="r3"></label>
</div>
<div class="boxes">
<input autocomplete="off" class="check" type="checkbox" onchange="toggleCheckbox(this)" value="None" id="r2" name="check"/> 3000 - 3500
<label for="r2"></label>
</div>
<div class="boxes">
<input autocomplete="off" class="check" type="checkbox" onchange="toggleCheckbox(this)" value="None" id="r1" name="check"/> 3500 - 4500
<label for="r1"></label>
</div>
</div>
</div>
</div>
<div id="f-b">
<h2>· Top 20 Categories ·</h2>
<h2 id="down">⇣</h2>
<svg id="cates_filter" width="470" height="460"></svg>
</div>
</div>
<div id="detailbar">
<header>
<center><h2 id="storename" class="business"></h2></center>
<div id="close">✕</div>
</header>
<div id="d-t-addr">
<center><h2 id="storeaddress"> </h2> </center>
</div>
<div id="d-t-l">
<h2 id = "d-t-rating"></h2>
<svg id="donut"></svg>
</div>
<div id="d-t-r">
<h2 id = "d-t-keyword"> </h2>
<svg id="keywords"></svg>
</div>
<div id="d-b">
<h2 id = "d-t-imgwords"></h2>
<svg id="stack"></svg>
</div>
</div>
</div>
<!-- LIBRARIES -->
<script src="http://d3js.org/d3.v3.min.js"></script>
<script type="text/javascript" src="js/leaflet0.7.7.js"></script>
<script type="text/JavaScript" src="js/d3.layout.cloud.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/bar.js"></script>
<script type="text/javascript" src="js/lvmap.js"></script>
<script type="text/javascript" src="js/Donut3D.js"></script>
<script type="text/javascript" src="js/checkboxs.js"></script>
</body>
</html>