-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.html
920 lines (886 loc) · 42.4 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
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
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Exploring MOOC Data</title>
<link rel="stylesheet" href="style.css" />
<script type="text/javascript" src="d3/d3.v3.min.js"></script>
<script type="text/javascript" src="d3/datamaps.all.min.js"></script>
<script type="text/javascript" src="d3/topojson.v1.min.js"></script>
<script type="text/javascript" src="main.js"></script>
<script type="text/javascript" src="utilities.js"></script>
<script type="text/javascript" src="midterm.js"></script>
<script type="text/javascript" src="aggregate.js"></script>
<script type="text/javascript" src="timescales.js"></script>
</head>
<body>
<h1 align=center>Visualizing Data from a MOOC</h1>
<table id=container>
<tr><td id=topbar colspan=2>
<div class=view onclick="view1()"> Demographics </div>
<div class=view onclick="aggregate(true)"> Assignments</div>
<div class=view onclick="hwtimescales(true)"> Timestamps</div>
<div class=view onclick="midterm(true, 0)"> Midterm </div>
<div class=view onclick="midterm(true, 1)"> Final</div>
<!-- <div class=view onclick="view5()"> Impact</div> -->
</td></tr>
<tr>
<td><div id=canvas>
<p style="margin:30px">
Use the tabs above to switch between different views that zoom in on various views of the data for your course. Sidebars and explanations will pop up as you explore the interface. </br></br>
Demographics show you a quick overview of the breakdown in age, gender, agegroup, and background</br>
Assignments shows you the average grades for students, as clustered by our software, isolating trends in dropoff and performance</br>
Timestamps shows the impact of submission time on the grade for an assignment </br>
Midterm and Final zoom in on the details of a specific exam, allowing you to take a more detailed view and comparsion.
<br><br>
We hope you find the information useful!
</p>
</div></td>
<td><div id=sidebar></div></td>
<td><div id=sidebar2></div></td>
</tr>
<td>
<div id=information>
<p><span class=filterlabel>Information</span></p>
<div id=instruction class="instruction_box"></div>
</div>
</td>
</table>
</body>
</html>
<!-- not displayed side bars for each view -->
<div id="timestamps" style="display: none;">
<p><span class=filterlabel>Display Course Offering</span><br />
<select id="t_offering" onchange="tswitchoffer(this.value)">
<option value="1">Offering 001</option>
<option value="2">Offering 002</option>
</select> <br/>
</p>
<p><span class=filterlabel>View Assignment</span><br />
<select id="t_display" onchange="tswitchassign(this.value)">
<option value="1">Assignment 1</option>
<option value="2">Assignment 2</option>
<option value="3">Assignment 3</option>
<option value="5">Assignment 4</option>
<option value="6">Assignment 5</option>
<option value="7">Assignment 6</option>
</select> <br/>
</p>
<!-- <p><span class=filterlabel>Color Display By</span><br />
<select id="t_display" onchange="tswitchcolor(this.value)">
<option value="0" id="c1" >None</option>
<option value="1" id="c2" >Gender</option>
<option value="2" id="c3" >AgeGroup</option>
<option value="3" id="c4" >Background</option>
<option value="4" id="c5" >Continent</option>
</select><br/>
</p> -->
</div>
<div id="allgrades" style="display: none;">
<p><span class=filterlabel>Display Course Offering</span><br />
<select id="a_offering" onchange="switchoffer(this.value)">
<option value="1">Offering 001</option>
<option value="2">Offering 002</option>
</select> <br/>
</p>
<p><span class=filterlabel>Include Assignments</span><br />
<input type="checkbox" name="box1" onchange="checkbox1(this.checked)" checked>Assignment 1</br>
<input type="checkbox" name="box2" onchange="checkbox2(this.checked)" checked>Assignment 2</br>
<input type="checkbox" name="box3" onchange="checkbox3(this.checked)" checked>Assignment 3</br>
<input type="checkbox" name="box4" onchange="checkbox4(this.checked)" checked>Assignment 4</br>
<input type="checkbox" name="box5" onchange="checkbox5(this.checked)" checked>Assignment 5</br>
<input type="checkbox" name="box6" onchange="checkbox6(this.checked)" checked>Assignment 6</br>
</p>
<p><span class=filterlabel> Display How Many Clusters?</span><br />
<select id="cluster_display" onchange="switchclusters(this.value)">
<option value="0">Individual Data</option>
<option value="1">1 Cluster (avg)</option>
<option value="2">2 Clusters</option>
<option value="4">4 Clusters</option>
<option value="8">8 Clusters</option>
</select>
</p>
</div>
<!-- Midterm side bars -->
<div id="midterm_question_sidebar" style="display: none;">
<p><span class=filterlabel>Views</span><br />
<div class=view onclick="midterm(true, 0)">Aggregate</div>
<div class=view onclick="midterm_question(false, 0)">Question</div><br>
</p>
<p><span class=filterlabel>Offering</span><br />
<input type="radio" name="offering" value="1" onchange="f_offering(this.value)" checked>Offering 1
<input type="radio" name="offering" value="2" onchange="f_offering(this.value)">Offering 2<br>
</p>
<p><span class=filterlabel>Partitioned By</span><br />
<input type="radio" name="partition" value="1" id="partition_perc" onchange="partition()" checked>Percentiles<br>
<input type="checkbox" name="Range_1" value="0" onchange="perc_cbox(this.value, this.checked)" checked>Range 1<br>
From <select id="range_0_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3" selected="selected">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_0_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5" selected="selected">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select><br>
<input type="checkbox" name="Range_2" value="1" onchange="perc_cbox(this.value, this.checked)" checked>Range 2<br>
From <select id="range_1_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5" selected="selected">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_1_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7" selected="selected">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select><br>
<input type="checkbox" name="Range_3" value="2" onchange="perc_cbox(this.value, this.checked)" checked>Range 3<br>
From <select id="range_2_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7" selected="selected">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_2_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9" selected="selected">90%</option>
<option value="1">100%</option>
</select><br>
<input type="checkbox" name="Range_4" value="3" onchange="perc_cbox(this.value, this.checked)">Range 4<br>
From <select id="range_3_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1" selected="selected">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_3_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3" selected="selected">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select><br>
</p>
<p><span class=filterlabel>Or</span><br />
<input type="radio" name="partition" value="2" id="partition_demo" onchange="partition()">Demographics<br>
<select id="question_demo" onchange="partition()">
<option value="0">Select</option>
<option value="1">Gender</option>
<option value="2">Age</option>
<option value="3">Country</option>
</select>
<div class=view onclick="midterm_question(false, 0)">Submit</div>
<div class=view2 onclick="midterm_sbs(true, 0)">CompareView</div>
</p>
</div>
<div id="midterm_compare" style="display: none;">
<p><span class=filterlabel>Views</span><br />
<div class=view onclick="midterm(true, 0)">Aggregate</div>
<div class=view onclick="midterm_question(true, 0)">Question</div><br>
</p>
<p><span class=filterlabel>Group 1</span><br />
<p>
<input type="radio" name="offeringG1" value="1" onchange="g1_offering(this.value)" checked>Offering 1
<input type="radio" name="offeringG1" value="2" onchange="g1_offering(this.value)">Offering 2<br>
</p>
<p>
Percentiles<br>
</p>
<p>
From <select id="range_G1_low" onchange="G_perc_value()">
<option value="0" selected="selected">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_G1_high" onchange="G_perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5" selected="selected">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select><br>
</p>
<p><span class=filterlabel>Group 2</span><br />
<p>
<input type="radio" name="offeringG2" value="1" onchange="g2_offering(this.value)" checked>Offering 1
<input type="radio" name="offeringG2" value="2" onchange="g2_offering(this.value)">Offering 2<br>
</p>
<p>
Percentiles<br>
</p>
<p>
From <select id="range_G2_low" onchange="G_perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5" selected="selected">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_G2_high" onchange="G_perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1" selected="selected">100%</option>
</select><br>
</p>
<p>
<hr>
</p>
<p><span class=filterlabel>Demographics</span><br />
<div class=view onclick="G_demog_filter()">Filters</div><br>
</p>
<p><span class=filterlabel></span><br />
<div class=view onclick="midterm_sbs(false, 0)">Submit</div>
<div class=view2 onclick="midterm_question(true, 0)">QuestionView</div>
</p>
</div>
<div id="midterm_sidebar" style="display: none;">
<p><span class=filterlabel>Views</span><br />
<div class=view onclick="midterm(false, 0)">Aggregate</div>
<div class=view onclick="midterm_question(true, 0)">Question</div><br>
</p>
<p><span class=filterlabel>Offering</span><br />
<input type="radio" name="offering" value="1" onchange="f_offering(this.value)" checked>Offering 1
<input type="radio" name="offering" value="2" onchange="f_offering(this.value)">Offering 2<br>
</p>
<p><span class=filterlabel>Percentiles</span><br />
<input type="checkbox" name="Range_1" value="0" onchange="perc_cbox(this.value, this.checked)" checked>Range 1<br>
From <select id="range_0_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3" selected="selected">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_0_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5" selected="selected">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select><br>
<input type="checkbox" name="Range_2" value="1" onchange="perc_cbox(this.value, this.checked)" checked>Range 2<br>
From <select id="range_1_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5" selected="selected">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_1_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7" selected="selected">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select><br>
<input type="checkbox" name="Range_3" value="2" onchange="perc_cbox(this.value, this.checked)" checked>Range 3<br>
From <select id="range_2_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7" selected="selected">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_2_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9" selected="selected">90%</option>
<option value="1">100%</option>
</select><br>
<input type="checkbox" name="Range_4" value="3" onchange="perc_cbox(this.value, this.checked)">Range 4<br>
From <select id="range_3_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1" selected="selected">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_3_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3" selected="selected">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select><br>
</p>
<p><span class=filterlabel>Demographics</span><br />
<div class=view onclick="demog_filter()">Filters</div><br>
</p>
<p><span class=filterlabel></span><br />
<hr>
<div class=view onclick="midterm(false, 0)">Submit</div>
</p>
</div>
<!-- Final sidebars -->
<div id="final_question_sidebar" style="display: none;">
<p><span class=filterlabel>Views</span><br />
<div class=view onclick="midterm(true, 1)">Aggregate</div>
<div class=view onclick="midterm_question(false, 1)">Question</div><br>
</p>
<p><span class=filterlabel>Offering</span><br />
<input type="radio" name="offering" value="1" onchange="f_offering(this.value)" checked>Offering 1
<input type="radio" name="offering" value="2" onchange="f_offering(this.value)">Offering 2<br>
</p>
<p><span class=filterlabel>Partitioned By</span><br />
<input type="radio" name="partition" value="1" id="partition_perc" onchange="partition()" checked>Percentiles<br>
<input type="checkbox" name="Range_1" value="0" onchange="perc_cbox(this.value, this.checked)" checked>Range 1<br>
From <select id="range_0_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3" selected="selected">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_0_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5" selected="selected">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select><br>
<input type="checkbox" name="Range_2" value="1" onchange="perc_cbox(this.value, this.checked)" checked>Range 2<br>
From <select id="range_1_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5" selected="selected">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_1_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7" selected="selected">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select><br>
<input type="checkbox" name="Range_3" value="2" onchange="perc_cbox(this.value, this.checked)" checked>Range 3<br>
From <select id="range_2_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7" selected="selected">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_2_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9" selected="selected">90%</option>
<option value="1">100%</option>
</select><br>
<input type="checkbox" name="Range_4" value="3" onchange="perc_cbox(this.value, this.checked)">Range 4<br>
From <select id="range_3_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1" selected="selected">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_3_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3" selected="selected">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select><br>
</p>
<p><span class=filterlabel>Or</span><br />
<input type="radio" name="partition" value="2" id="partition_demo" onchange="partition()">Demographics<br>
<select id="question_demo" onchange="partition()">
<option value="0">Select</option>
<option value="1">Gender</option>
<option value="2">Age</option>
<option value="3">Country</option>
</select>
<div class=view onclick="midterm_question(false, 1)">Submit</div>
<div class=view2 onclick="midterm_sbs(true, 1)">CompareView</div>
</p>
</div>
<div id="final_compare" style="display: none;">
<p><span class=filterlabel>Views</span><br />
<div class=view onclick="midterm(true, 1)">Aggregate</div>
<div class=view onclick="midterm_question(true, 1)">Question</div><br>
</p>
<p><span class=filterlabel>Group 1</span><br />
<p>
<input type="radio" name="offeringG1" value="1" onchange="g1_offering(this.value)" checked>Offering 1
<input type="radio" name="offeringG1" value="2" onchange="g1_offering(this.value)">Offering 2<br>
</p>
<p>
Percentiles<br>
</p>
<p>
From <select id="range_G1_low" onchange="G_perc_value()">
<option value="0" selected="selected">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_G1_high" onchange="G_perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5" selected="selected">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select><br>
</p>
<p><span class=filterlabel>Group 2</span><br />
<p>
<input type="radio" name="offeringG2" value="1" onchange="g2_offering(this.value)" checked>Offering 1
<input type="radio" name="offeringG2" value="2" onchange="g2_offering(this.value)">Offering 2<br>
</p>
<p>
Percentiles<br>
</p>
<p>
From <select id="range_G2_low" onchange="G_perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5" selected="selected">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_G2_high" onchange="G_perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1" selected="selected">100%</option>
</select><br>
</p>
<p>
<hr>
</p>
<p><span class=filterlabel>Demographics</span><br />
<div class=view onclick="G_demog_filter()">Filters</div><br>
</p>
<p><span class=filterlabel></span><br />
<div class=view onclick="midterm_sbs(false, 1)">Submit</div>
<div class=view2 onclick="midterm_question(true, 1)">QuestionView</div>
</p>
</div>
<div id="final_sidebar" style="display: none;">
<p><span class=filterlabel>Views</span><br />
<div class=view onclick="midterm(false, 1)">Aggregate</div>
<div class=view onclick="midterm_question(true, 1)">Question</div><br>
</p>
<p><span class=filterlabel>Offering</span><br />
<input type="radio" name="offering" value="1" onchange="f_offering(this.value)" checked>Offering 1
<input type="radio" name="offering" value="2" onchange="f_offering(this.value)">Offering 2<br>
</p>
<p><span class=filterlabel>Percentiles</span><br />
<input type="checkbox" name="Range_1" value="0" onchange="perc_cbox(this.value, this.checked)" checked>Range 1<br>
From <select id="range_0_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3" selected="selected">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_0_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5" selected="selected">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select><br>
<input type="checkbox" name="Range_2" value="1" onchange="perc_cbox(this.value, this.checked)" checked>Range 2<br>
From <select id="range_1_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5" selected="selected">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_1_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7" selected="selected">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select><br>
<input type="checkbox" name="Range_3" value="2" onchange="perc_cbox(this.value, this.checked)" checked>Range 3<br>
From <select id="range_2_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7" selected="selected">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_2_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9" selected="selected">90%</option>
<option value="1">100%</option>
</select><br>
<input type="checkbox" name="Range_4" value="3" onchange="perc_cbox(this.value, this.checked)">Range 4<br>
From <select id="range_3_low" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1" selected="selected">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select> To <select id="range_3_high" onchange="perc_value()">
<option value="0">0%</option>
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3" selected="selected">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1">100%</option>
</select><br>
</p>
<p><span class=filterlabel>Demographics</span><br />
<div class=view onclick="demog_filter()">Filters</div><br>
</p>
<p><span class=filterlabel></span><br />
<hr>
<div class=view onclick="midterm(false, 1)">Submit</div>
</p>
</div>
<!-- Filter sidebars -->
<div id="demofilter" style="display: none;">
<p><span class=filterlabel>Gender</span><br />
<input type="checkbox" id="G_Male" onchange="demo_cb()" checked>Male
<input type="checkbox" id="G_Female" onchange="demo_cb()" checked>Female<br>
</p>
<p><span class=filterlabel>Age Group</span><br />
<input type="checkbox" id="AG_0_10" onchange="demo_cb()" checked>0-18
<input type="checkbox" id="AG_10_20" onchange="demo_cb()" checked>18-25<br>
<input type="checkbox" id="AG_20_30" onchange="demo_cb()" checked>25-35
<input type="checkbox" id="AG_30_40" onchange="demo_cb()" checked>35-45<br>
<input type="checkbox" id="AG_40_50" onchange="demo_cb()" checked>45-55
<input type="checkbox" id="AG_50_60" onchange="demo_cb()" checked>55+<br>
</p>
<p><span class=filterlabel>Country(continent)</span><br />
<input type="checkbox" id="C_Africa" onchange="demo_cb()" checked>Africa
<input type="checkbox" id="C_Asia" onchange="demo_cb()" checked>Asia<br>
<input type="checkbox" id="C_Australia" onchange="demo_cb()" checked>Australia
<input type="checkbox" id="C_Europe" onchange="demo_cb()" checked>Europe<br>
<input type="checkbox" id="C_NorthAmerica" onchange="demo_cb()" checked>North America
<input type="checkbox" id="C_SouthAmerica" onchange="demo_cb()" checked>South America
<input type="checkbox" id="C_Unknown" onchange="demo_cb()" checked>Unidentified<br>
</p>
</div>
<div id="G_demofilter" style="display: none;">
<p><span class=filterlabel>Group 1: Gender</span><br />
<input type="checkbox" id="G0_Male" onchange="G_demo_cb()" checked>Male
<input type="checkbox" id="G0_Female" onchange="G_demo_cb()" checked>Female<br>
</p>
<p><span class=filterlabel>Age Group</span><br />
<input type="checkbox" id="AG0_0_10" onchange="G_demo_cb()" checked>0-18
<input type="checkbox" id="AG0_10_20" onchange="G_demo_cb()" checked>18-25<br>
<input type="checkbox" id="AG0_20_30" onchange="G_demo_cb()" checked>25-35
<input type="checkbox" id="AG0_30_40" onchange="G_demo_cb()" checked>35-45<br>
<input type="checkbox" id="AG0_40_50" onchange="G_demo_cb()" checked>45-55
<input type="checkbox" id="AG0_50_60" onchange="G_demo_cb()" checked>55+<br>
</p>
<p><span class=filterlabel>Country(continent)</span><br />
<input type="checkbox" id="CG0_Africa" onchange="G_demo_cb()" checked>Africa
<input type="checkbox" id="CG0_Asia" onchange="G_demo_cb()" checked>Asia<br>
<input type="checkbox" id="CG0_Australia" onchange="G_demo_cb()" checked>Australia
<input type="checkbox" id="CG0_Europe" onchange="G_demo_cb()" checked>Europe<br>
<input type="checkbox" id="CG0_NorthAmerica" onchange="G_demo_cb()" checked>North America
<input type="checkbox" id="CG0_SouthAmerica" onchange="G_demo_cb()" checked>South America
<input type="checkbox" id="CG0_Unknown" onchange="G_demo_cb()" checked>Unidentified<br>
<hr>
</p>
<p><span class=filterlabel>Group 2: Gender</span><br />
<input type="checkbox" id="G1_Male" onchange="demo_cb()" checked>Male
<input type="checkbox" id="G1_Female" onchange="demo_cb()" checked>Female<br>
</p>
<p><span class=filterlabel>Age Group</span><br />
<input type="checkbox" id="AG1_0_10" onchange="G_demo_cb()" checked>0-18
<input type="checkbox" id="AG1_10_20" onchange="G_demo_cb()" checked>18-25<br>
<input type="checkbox" id="AG1_20_30" onchange="G_demo_cb()" checked>25-35
<input type="checkbox" id="AG1_30_40" onchange="G_demo_cb()" checked>35-45<br>
<input type="checkbox" id="AG1_40_50" onchange="G_demo_cb()" checked>45-55
<input type="checkbox" id="AG1_50_60" onchange="G_demo_cb()" checked>55+<br>
</p>
<p><span class=filterlabel>Country(continent)</span><br />
<input type="checkbox" id="CG1_Africa" onchange="G_demo_cb()" checked>Africa
<input type="checkbox" id="CG1_Asia" onchange="G_demo_cb()" checked>Asia<br>
<input type="checkbox" id="CG1_Australia" onchange="G_demo_cb()" checked>Australia
<input type="checkbox" id="CG1_Europe" onchange="G_demo_cb()" checked>Europe<br>
<input type="checkbox" id="CG1_NorthAmerica" onchange="G_demo_cb()" checked>North America
<input type="checkbox" id="CG1_SouthAmerica" onchange="G_demo_cb()" checked>South America
<input type="checkbox" id="CG1_Unknown" onchange="G_demo_cb()" checked>Unidentified<br>
</p>
</div>
<div id="emptybar" style="display: none;">
<!-- not displayed instructions -->
<div id="empty_instruction" style="display: none;"></div>
<div id="midterm_instruction" style="display: none;">
This is the midterm panel. You can switch between aggregate view and per question view by clicking the corresponding view button.
<p>You are currently in the aggregate view. The x-axis is the question number and the y-axis is the cumulative score. Each band shows the score range of certain group of students. Students are grouped by percentiles of their total midterm score. This view shows general trends of students: steeper slope shows better understandings of the topic, while flatter slope indicates common misunderstandings.</p>
<p>You can zoom in on a smaller set of questions by using the brushing tool in the secondary region.</p>
<p>You can highlight a certain band by hovering the mouse over a particular band. Switching between the two offerings is done by clicking one of the offering radio button. You can display upto 4 bands by selecting the checkboxes, and selecting the ranges of percentiles.</p>
<p>Demographic data can be filtered by clicking the "Filters" button. It will toggle a new side panel in which you can select all the demographic options.</p>
<p>Click the "Submit" button to reflect all the changes.</p>
</div>
<div id="midterm_question_instruction" style="display: none;">
This is the midterm panel. You can switch between aggregate view and per question view by clicking the corresponding view button.
<p>You are currently in the per question view. The x-axis is the question number and the y-axis is the number of students that answered correctly. The view makes it easy to see which questions students were better at. It also displays the distribution of scores. The bars can be partitioned by either ranges of percentiles, or demographics. You can pick one of the two by clicking the radio button, and select the corresponding options.</p>
<p>You can zoom in on a smaller set of questions by using the brushing tool in the secondary region.</p>
<p>Click the "Submit" button to reflect all the changes.</p>
<p>Click the "CompareView" button to enter the comparison view. </p>
</div>
<div id="midterm_compare_instruction" style="display: none;">
This is the midterm panel. You can switch between aggregate view and per question view by clicking the corresponding view button.
<p>You are currently in the comparison view. The x-axis is the question number and the y-axis is the percentage of students that answered correctly. This view aims to compare the correction rate of two particular groups of students, for example students across two offerings, male vs. female students, etc.</p>
<p>You can pick the two groups by selecting appropriate fields in the side bar. Demographic options can be shown by clicking the "Filters" button.
<p>You can zoom in on a smaller set of questions by using the brushing in the secondary region.</p>
<p>Click the "Submit" button to reflect all the changes.</p>
<p>Click the "QuestionView" button to go back to the per question view. </p>
</div>
<div id="clustered_instruction" style="display: none;">
This is the grade overview panel. It's most useful in cluster mode: you can view the performance trends for student clusters of roughly equal size. The lower clusters tend to indicate drop-off rate due to assignments, while the upper clusters show improvement and fan-out in the grades of those who complete the course.
<p>You can switch between the offerings with the dropdown menu at upper right. </p>
<p>The x-axis is the assignment id number and the y-axis is the score, out of 100 percent (most assignments had extra credit options). Each line represents one student or cluster. If in clusters, it reprents the average of all N students in the cluster (roughly enrollment/N). You can select to show all students or a number of clusters via the lower dropdown on the right. </p>
<p> You can filter the assignment by the checkboxes, to show more general trends, e.g from the start to end of class. </p>
</div>
<div id="timestamps_instruction" style="display: none;">
This is the assignment timestamp panel. You can use this to view how late-submitters perform versus early-submitters. (Generally we expect early submitters to do better). You can also see patterns in submission (people tend to try the autograder again after the solutions are released) and in the autograder. Try switching to assignment 5 or 6 to see the autograder force people into tiers.
<p>You can switch between the offerings with the dropdown menu at upper right. </p>
<p>The x-axis is the timestamp in seconds and the y-axis is the score, out of 100 percent (most assignments had extra credit options). Each dot represents one student's submission. For this view we only record one submission per student. </p>
<p> You can filter the assignment with the dropdown menu. </p>
</div>