-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·167 lines (145 loc) · 8.04 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<!-- Bootstrap core CSS -->
<link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>
<!-- <link rel="stylesheet" href="css/bootstrap.css"> -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/colorbrewer.css">
<link rel="stylesheet" href="css/main.css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<!--modules css-->
<link rel="stylesheet" href="css/pc.css">
<link rel="stylesheet" href="css/sp.css">
<link rel="stylesheet" href="css/map.css">
<link rel="stylesheet" href="css/bar.css">
<link rel="stylesheet" href="js/slider/css/slider.css">
<link rel="stylesheet" href="css/extrastyling.css">
</head>
<body>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div id="control-panel">
<div class="col-xs-12 border-line">
<span id="menu-icon" class="glyphicon glyphicon-cog" aria-hidden="true"></span>
<h2>Inställningar</h2>
<div class="gender-radio">
<div class="radio-inline">
<label><input input type="radio" style="display: none;" name="optradio" value="0" onclick="genderClick(0);"><img id="male" src="./img/male_gray.png"></label>
</div>
<div class="radio-inline">
<label><input input type="radio" style="display: none;" name="optradio" value="1" onclick="genderClick(1);"><img id="female" src="./img/female.png"></label>
</div>
</div>
<h3>Drama</h3>
<input type="range" id="myRange" value="90" max="4" min="0" oninput="updateDrama(this.value)">
<p>Genom att dra i slidern väljer du hur mycket värdena ska påverkas av förändringen från tidigare år i streamgrafen.</p>
<h2>Info</h2>
<p>Detta verktyg har utvecklats av Anton Österblad och Teodor Vik som examinationsmoment i kursen Informationsvisualisering på Linköpings Universitet.</p>
</div>
</div>
<div class="content-wrapper">
<div class="col-xs-3">
<div class="top-list">
<h2>Topplistan</h2>
<h3>2005-2014</h3>
</div>
<!--
<div class="form-group">
<input type="text" class="form-control" id="searchstr" placeholder="Namn">
</div>
<div class="form-group">
<button type="submit" class="btn btn-default" onclick="getSearchResults()">Sök</button>
</div>
-->
<div class="input-group srch">
<input type="text" class="form-control" id="searchstr" placeholder="Lägg till">
<span class="input-group-btn">
<button type="submit" class="btn btn-default" type="button" onclick="getSearchResults()">Sök</button>
</span>
</div><!-- /input-group -->
<div class="history1">
<h2>Historik</h2>
</div>
</div>
<!-- ALL THE GRAPHS -->
<div class="col-xs-9" id="graph-container">
<div id="banner">
<h1>Populäraste bäbisnamnen år 2005-2014</h1>
</div>
<div class="btn-group btn-group-justified" role="group" aria-label="...">
<div class="btn-group" role="group">
<button type="button" class="btn btn-default year-button" value="2004">2004</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default year-button" value="2005">2005</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default year-button" value="2006">2006</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default year-button" value="2007">2007</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default year-button" value="2008">2008</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default year-button" value="2009">2009</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default year-button" value="2010">2010</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default year-button" value="2011">2011</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default year-button" value="2012">2012</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default year-button" value="2013">2013</button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default year-button" value="2014">2014</button>
</div>
</div>
<!-- STREAMCHART CONTENT -->
<div id="stream"></div>
<div id="bar-header">
<h2>Totalt antal namngivna år 2004-2014</h2>
</div>
<!-- BARCHART CONTENT -->
<div id="bar"></div>
</div>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.2.min.js"><\/script>')</script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
<script src="js/vendor/d3.min.js"></script>
<script src="js/vendor/topojson.v1.min.js"></script>
<script src="js/vendor/underscore-min.js"></script>
<script src="js/vendor/colorbrewer.js"></script>
<script src="js/slider/js/bootstrap-slider.js"></script>
<script src="js/read_data.js"></script>
<script src="http://labratrevenge.com/d3-tip/javascripts/d3.tip.v0.6.3.js"></script>
<!--modules js-->
<!-- Code for streams found at http://bl.ocks.org/lgrammel/1963983 -->
<script src="js/stream_chart.js"></script>
<script src="js/stream_layers.js"></script>
<script src="js/stream_main.js"></script>
<script src="js/bar_chart.js"></script>
<script src="js/interaction.js"></script>
</body>
</html>