-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimplementation.html
More file actions
62 lines (58 loc) · 3.71 KB
/
implementation.html
File metadata and controls
62 lines (58 loc) · 3.71 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Data Visualisation of New Year Resolutions for 2015</title>
<script src="//d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="http://labratrevenge.com/d3-tip/javascripts/d3.tip.v0.6.3.js"></script>
<script src="js/graphs.js" charset="utf-8"></script>
<script src="js/map.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" src="css/implementation.css" href="css/implementation.css">
<link rel="stylesheet" type="text/css" src="css/map.css" href="css/map.css">
<link rel="stylesheet" type="text/css" src="css/graphs.css" href="css/graphs.css">
<link rel="stylesheet" type="text/css" src="css/layout.css" href="css/layout.css">
</head>
<body background="img/background.png">
<div id="container">
<div class="pic"><img src="img/hat.png"></div><div class="heading"><h1 style="font-family: cursive" >New Years Resolutions for 2015</h1> </div>
<div class="options">
<form action="" style="text-align:center;">
<input class="category_checkbox" type="checkbox" name="category" checked="true" value="Health & Fitness">Health & Fitness
<input class="category_checkbox" type="checkbox" name="category" checked="true" value="Humor">Humor
<input class="category_checkbox" type="checkbox" name="category" checked="true" value="Personal Growth">Personal Growth
<input class="category_checkbox" type="checkbox" name="category" checked="true" value="Philanthropic">Philanthropic
<input class="category_checkbox" type="checkbox" name="category" checked="true" value="Education/Training">Education/Training<br>
<input class="category_checkbox" type="checkbox" name="category" checked="true" value="Recreation & Leisure">Recreation & Leisure
<input class="category_checkbox" type="checkbox" name="category" checked="true" value="Family/Friends/Relationships">Family/Friends/Relationships
<input class="category_checkbox" type="checkbox" name="category" checked="true" value="Career">Career
<input class="category_checkbox" type="checkbox" name="category" checked="true" value="Finance">Finance
<input class="category_checkbox" type="checkbox" name="category" checked="true" value="Time Management/Organization">Time Management/Organization
</form>
<p>
<form style="text-align:center;">
<input class="gender_checkbox" type="checkbox" name="gender" checked="true" value="male" id="male_checkbox">Male
<input class="gender_checkbox" type="checkbox" name="gender" checked="true" value="female" id="female_checkbox">Female
</form>
</p>
<!-- the dropdown boxes for the selection of states -->
<div style="text-align:center;">
<select id="state_1" name="state-1">
<option selected>-- select a state --</option>
</select>
<select id="state_2" name="state-2">
<option selected>-- select a state --</option>
</select>
</div>
</div>
<!-- div to hold the map-->
<div id="map_div" style="padding-top:10%; text-align: center" class="map"></div>
<!-- div to hold the category graph -->
<div id="graph_div" class="graph" style="display: none; text-align: center;"></div>
<!-- div to hold the state graph -->
<div id="state_graph_div" class="graph" style="display: none; text-align: center;"></div>
<script>
generateMap();
</script>
</div>
</body>
</html>