-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuncertaintyviz.html
329 lines (327 loc) · 21.1 KB
/
uncertaintyviz.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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
<script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
<title>uViz Evaluation</title>
<style is="custom-style">
:root {
--iron-icon-width: 60px;
--iron-icon-height: 60px;
--iron-icon-fill-color: #abbdc4;
--paper-slider-knob-color: #004693;
--paper-slider-active-color: #004693;
--paper-slider-pin-color: #004693;
--paper-slider-disabled-knob-color: #004693;
--paper-slider-knob-start-border-color: #004693;
--paper-slider-pin-start-color: #004693;
--paper-slider-knob-start-border-color: #004693;
}
</style>
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Roboto:900,400,300,100' type='text/css'>
<link rel="import" href="bower_components/paper-button/paper-button.html">
<link rel="import" href="bower_components/paper-slider/paper-slider.html">
<link rel="import" href="bower_components/paper-ripple/paper-ripple.html">
<link rel="import" href="bower_components/iron-icons/editor-icons.html">
<link rel="import" href="bower_components/iron-icons/iron-icons.html">
<link rel="import" href="bower_components/iron-icons/social-icons.html">
</head>
<body track="body">
<div class="container" track="container">
{{> top}}
{{> middle}}
{{> bottom}}
</div>
</body>
<template name="regression">
<div class="image" track="image"></div>
</template>
<template name="etc" track="dummy-etc"></template>
<template name="top">
<div class="top" track="top-container">
<h1 track="top-title">Welcome to this assignment!</h1>
<h2 track="top-subtitle">This is just a brief tutorial to get you up to speed for the real thing.</h2>
</div>
</template>
<template name="middle">
<div class="middle" track="middle-container">
<div class="tutorial" track="tutorial">
<h1 style="font-size: 52px; margin-top: 20px;" track="tutorial-title">Tutorial</h1>
<div class="tutorial-area tut-1" track="tutorial-area-1">
<p>In this assignment we will ask you to estimate the <b>accuracy</b> of a data point in a visualisation.
The <b>accuracy</b> is expressed by <b class="aex">the size of a rectangle</b> surrounding the data point.</p>
<div class="tut-sample" track="tutorial-area-1">
<div class="tut-left" track="tutorial-area-1-left">
<img src="viz/t1.png" alt="Less" height="100" width="100" class="tut-img-left" track="tutorial-area-1-left">
<p class="desc-large" style="text-align: center; font-size: 13px;" track="tutorial-area-1-left">The <b>larger</b> the rectangle, the <b>lower</b> the <b>accuracy</b>.</p>
</div>
<div class="tut-right" track="tutorial-area-1-right">
<img src="viz/t5.png" alt="Less" height="100" width="100" class="tut-img-right" track="tutorial-area-1-right">
<p class="desc-small" style="text-align: center; font-size: 13px;" track="tutorial-area-1-right">The <b>smaller</b> the rectangle, the <b>higher</b> the <b>accuracy</b>.</p>
</div>
</div>
<p style="text-align: center; opacity: 0.6;">The accuracy lies between 1 <b>(low)</b> and 5 <b>(high)</b>.</p>
<p style="text-align: center;">We will show you <b class="ashow">different sizes of rectangles</b> around a data point and ask you to <b>estimate the accuracy</b> of the data point.</p>
<br>
<paper-button class="button-tut-next" track="tutorial-area-1-button">Next</paper-button>
</div>
<div class="tutorial-area tut-2" style="display: none;" track="tutorial-area-2">
<p style="text-align: center;" class="tutorial-ss">
After you have finished the tutorial, we will ask you to estimate the accuracy of 15 data points in a visualisation.
This will follow the same principle, meaning <b>if the data point is inside a blurred area, it is inaccurate.
If it is inside a sharp area, it is accurate.</b>
In total there are five degrees of accuracy between these two extremes with a value from 1 (low accuracy) to 5 (high accuracy).
</p>
<br>
<!-- <img src="viz/dum.png" alt="Less" height="100" width="100" class="tut-img-dum"> -->
<p style="text-align: center;">After this, we will ask you a few questions and then you are all done.</p>
<br>
<p style="text-align: center;"><b>Important:</b> You have to complete the whole assigment <b>truthfully</b> in order to get your <b>Amazon Survey Code</b>.</p>
<br>
<p style="text-align: center;">Have Fun!</p>
<paper-button class="button-begin" style="display: none;" track="tutorial-area-2-button">Ok, Let's go!</paper-button>
</div>
</div>
<div class="thanks animated fadeInDown" style="display: none;">
<h1 style="font-size: 32px;">Thank you!</h1>
<br>
<h1 style="width: 500px; font-size: 24px;">Your assignment code is: <b>{{assignment}}</b></h1>
<br>
<h2 style="width: 500px;">This <b style="color: red;">IS NOT</b> your <b>Amazon Turk code</b>. To get the <b>RIGHT code</b>, you still need to <b style="color: red;">complete the following questionnaire:</b></h2>
<br>
<h2 style="width: 500px;"><b>Important:</b> Please make sure you copy this code or note it down somewhere. You will need it in the following questionnaire and in order to get paid.</h2>
<br>
<h2 style="width: 500px;">Please <a class="gurl" href="" target="_blank">click here</a> to answer the <b>short questionnaire</b> and recieve your final <b>Amazon Turk </b>Survey Code.</h2>
<br>
</div>
<div class="introduction" style="display: none;" track="introduction">
<h1 style="font-size: 32px;">Guess the value</h1>
<h2>{{value}} of 5</h2>
<div class="intro-pictures" track="intro-pic">
<div class="pic-left" track="intro-pic-left">
<img src="viz/t1.png" alt="Less" height="100" width="100" class="img-left">
<h3>Low Accuracy</h3>
</div>
<div class="pic-center" track="intro-pic-cneter">
<img src="viz/dum.png" alt="Guess" height="100" width="100" class="animated bounce img-middle">
<h3 style="color: #424242;">What is this?</h3>
</div>
<div class="pic-right" track="intro-pic-right">
<img src="viz/t5.png" alt="More" height="100" width="100" class="img-right">
<h3>High Accuracy</h3>
</div>
</div>
<h2 track="intro-instruction"><b>Drag</b> the slider to provide an estimate</h2>
<div class="slider">
<paper-slider class="intro-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="intro-slider"></paper-slider>
<div class="slider-numbers"><div>1</div><div>2</div><div>3</div><div>4</div><div>5</div></div>
</div>
<paper-button class="intro-next" style="display: none;" track="intro-next">Next</paper-button>
</div>
<div class="image animated fadeIn">
<div class="dot d1" track="d1"></div>
<div class="dot d2" track="d2"></div>
<div class="dot d3" track="d3"></div>
<div class="dot d4" track="d4"></div>
<div class="dot d5" track="d5"></div>
<div class="dot d6" track="d6"></div>
<div class="dot d7" track="d7"></div>
<div class="dot d8" track="d8"></div>
<div class="dot d9" track="d9"></div>
<div class="dot d10" track="d10"></div>
<div class="dot d11" track="d11"></div>
<div class="dot d12" track="d12"></div>
<div class="dot d13" track="d13"></div>
<div class="dot d14" track="d14"></div>
<div class="dot d15" track="d15"></div>
<div class="dot dx" track="dx"></div>
<div class="dot dy" track="dy"></div>
<div class="dot dz" track="dz"></div>
<paper-ripple></paper-ripple>
</div>
</div>
</template>
<template name="bottom">
<div class="bottom" track="bottom-content">
<div class="verify" style="display: none;" track="verify">
<div class="q-count" track="verify-counter">{{question}} of 15</div>
<h1>Can you see the flashing dot?</h1>
<h2>Please click the dot to continue...</h2>
</div>
<div class="question q1 animated fadeInDown" style="display: none;" track="question-1">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How accurate is the data represented by the data point?</h2>
<div class="slider">
<paper-slider class="q-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1 (Low)</div><div>2</div><div style="margin-left: 40px; margin-right: 40px;">3</div><div>4</div><div>(High) 5</div></div>
</div>
</div>
<div class="question q2 animated fadeInDown" style="display: none;" track="question-2">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How accurate is the data represented by the data point?</h2>
<div class="slider">
<paper-slider class="q-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1 (Low)</div><div>2</div><div style="margin-left: 40px; margin-right: 40px;">3</div><div>4</div><div>(High) 5</div></div>
</div>
</div>
<div class="question q3 animated fadeInDown" style="display: none;" track="question-3">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How accurate is the data represented by the data point?</h2>
<div class="slider">
<paper-slider class="q-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1 (Low)</div><div>2</div><div style="margin-left: 40px; margin-right: 40px;">3</div><div>4</div><div>(High) 5</div></div>
</div>
</div>
<div class="question q4 animated fadeInDown" style="display: none;" track="question-4">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How accurate is the data represented by the data point?</h2>
<div class="slider">
<paper-slider class="q-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1 (Low)</div><div>2</div><div style="margin-left: 40px; margin-right: 40px;">3</div><div>4</div><div>(High) 5</div></div>
</div>
</div>
<div class="question q5 animated fadeInDown" style="display: none;" track="question-5">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How accurate is the data represented by the data point?</h2>
<div class="slider">
<paper-slider class="q-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1 (Low)</div><div>2</div><div style="margin-left: 40px; margin-right: 40px;">3</div><div>4</div><div>(High) 5</div></div>
</div>
</div>
<div class="question q6 animated fadeInDown" style="display: none;" track="question-6">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How accurate is the data represented by the data point?</h2>
<div class="slider">
<paper-slider class="q-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1 (Low)</div><div>2</div><div style="margin-left: 40px; margin-right: 40px;">3</div><div>4</div><div>(High) 5</div></div>
</div>
</div>
<div class="question q7 animated fadeInDown" style="display: none;" track="question-7">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How accurate is the data represented by the data point?</h2>
<div class="slider">
<paper-slider class="q-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1 (Low)</div><div>2</div><div style="margin-left: 40px; margin-right: 40px;">3</div><div>4</div><div>(High) 5</div></div>
</div>
</div>
<div class="question q8 animated fadeInDown" style="display: none;" track="question-8">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How accurate is the data represented by the data point?</h2>
<div class="slider">
<paper-slider class="q-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1 (Low)</div><div>2</div><div style="margin-left: 40px; margin-right: 40px;">3</div><div>4</div><div>(High) 5</div></div>
</div>
</div>
<div class="question q9 animated fadeInDown" style="display: none;" track="question-9">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How accurate is the data represented by the data point?</h2>
<div class="slider">
<paper-slider class="q-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1 (Low)</div><div>2</div><div style="margin-left: 40px; margin-right: 40px;">3</div><div>4</div><div>(High) 5</div></div>
</div>
</div>
<div class="question q10 animated fadeInDown" style="display: none;" track="question-10">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How accurate is the data represented by the data point?</h2>
<div class="slider">
<paper-slider class="q-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1 (Low)</div><div>2</div><div style="margin-left: 40px; margin-right: 40px;">3</div><div>4</div><div>(High) 5</div></div>
</div>
</div>
<div class="question q11 animated fadeInDown" style="display: none;" track="question-11">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How accurate is the data represented by the data point?</h2>
<div class="slider">
<paper-slider class="q-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1 (Low)</div><div>2</div><div style="margin-left: 40px; margin-right: 40px;">3</div><div>4</div><div>(High) 5</div></div>
</div>
</div>
<div class="question q12 animated fadeInDown" style="display: none;" track="question-12">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How accurate is the data represented by the data point?</h2>
<div class="slider">
<paper-slider class="q-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1 (Low)</div><div>2</div><div style="margin-left: 40px; margin-right: 40px;">3</div><div>4</div><div>(High) 5</div></div>
</div>
</div>
<div class="question q13 animated fadeInDown" style="display: none;" track="question-13">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How accurate is the data represented by the data point?</h2>
<div class="slider">
<paper-slider class="q-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1 (Low)</div><div>2</div><div style="margin-left: 40px; margin-right: 40px;">3</div><div>4</div><div>(High) 5</div></div>
</div>
</div>
<div class="question q14 animated fadeInDown" style="display: none;" track="question-14">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How accurate is the data represented by the data point?</h2>
<div class="slider">
<paper-slider class="q-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1 (Low)</div><div>2</div><div style="margin-left: 40px; margin-right: 40px;">3</div><div>4</div><div>(High) 5</div></div>
</div>
</div>
<div class="question q15 animated fadeInDown" style="display: none;" track="question-15">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How accurate is the data represented by the data point?</h2>
<div class="slider">
<paper-slider class="q-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1 (Low)</div><div>2</div><div style="margin-left: 40px; margin-right: 40px;">3</div><div>4</div><div>(High) 5</div></div>
</div>
</div>
<!-- hjhgfdasdas -->
<div class="robot r1 animated fadeInDown" style="display: none;" track="spam-1">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How much is 2 plus 1?</h2>
<div class="slider">
<paper-slider class="r-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1</div><div>2</div><div>3</div><div>4</div><div>5</div></div>
</div>
</div>
<div class="robot r2 animated fadeInDown" style="display: none;" track="spam-2">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How much is 3 plus 1?</h2>
<div class="slider">
<paper-slider class="r-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1</div><div>2</div><div>3</div><div>4</div><div>5</div></div>
</div>
</div>
<div class="robot r3 animated fadeInDown" style="display: none;" track="spam-3">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How much is 1 plus 1?</h2>
<div class="slider">
<paper-slider class="r-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1</div><div>2</div><div>3</div><div>4</div><div>5</div></div>
</div>
</div>
<div class="robot r4 animated fadeInDown" style="display: none;" track="spam-4">
<div class="q-count">{{question}} of 15</div>
<h1>Look at the <u class="vizq">area</u> in which the data point sits</h1>
<h2>How much is 4 plus 1?</h2>
<div class="slider">
<paper-slider class="r-slider" pin snaps min="1" max="5" max-markers="5" step="1" value="3" track="question-slider"></paper-slider>
<div class="slider-numbers"><div>1</div><div>2</div><div>3</div><div>4</div><div>5</div></div>
</div>
</div>
<!-- hjhgfdasdas -->
<paper-button class="r-next" track="spam-next">Next</paper-button>
<paper-button class="button-next" track="questions-next">Next</paper-button>
<paper-button class="button-finish" track="questions-finish">Finish</paper-button>
</div>
</template>