forked from mskl/ist-mi-vi13-erasmus-visualization
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (90 loc) · 3.44 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>ERASMUS+ student flow</title>
<meta name="description" content="InfoViz Project">
<!-- stylesheets -->
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/options.css">
<link rel="stylesheet" href="css/map.css">
<link rel="stylesheet" href="css/parallel_sets.css">
<link rel="stylesheet" href="css/barchart.css">
<link rel="stylesheet" href="css/boxplot.css">
<!-- js libs -->
<script src="js/libs/d3.v5.min.js"></script>
<script src="js/libs/topojson.v2.min.js"></script>
<script src="js/libs/tooltip.js"></script>
<script src="js/libs/d3-selection-multi.v1.min.js"></script>
<script src="js/libs/d3-sankey/d3-sankey.min.js"></script>
<!-- custom js functions -->
<script src="js/func/events.js"></script>
<script src="js/func/changeStudentDirection.js"></script>
<script src="js/func/changeDropdownCountry.js"></script>
<script src="js/func/resizeFunc.js"></script>
</head>
<body onresize="resizeFunc()" onload="resizeFunc()">
<div class="flex-container">
<!-- header -->
<div id="header">
<h1>2014 ERASMUS+ Student Visualization</h1>
<div id="options">
<form id="student_direction" class="hidden">
<input type="radio" id="direction-incoming-radio" name="direction" value="incoming" onchange="changeStudentDirection()"/>
<label for="direction-incoming-radio">Incoming</label>
<input type="radio" id="direction-outgoing-radio" name="direction" value="outgoing" onchange="changeStudentDirection()" checked/>
<label for="direction-outgoing-radio">Outgoing</label>
</form>
<form id="selected_country">
<label>Selected country:
<select id="dropdown_country" onchange="changeDropdownCountry()">
<option value="">No country selected</option>
</select>
</label>
</form>
</div>
</div>
<!-- first row -->
<div id="first-row">
<div class="chart" id="map">
<h4>Student flow</h4>
<svg width="100%" height="95%"></svg>
<script src="js/map.js"></script>
</div>
<div class="chart" id="parallel_set">
<h4 id="parallel_set_title">Student degrees</h4>
<svg width="100%" height="95%"></svg>
<script src="js/parallel_set.js"></script>
</div>
</div>
<!-- second row -->
<div id="second-row">
<div class="chart" id="barchart">
<div id="barchart_header">
<h4 id="barchart_title">Price index</h4>
<div id="barchart_menu">
<form id="barchart_selected_parameter">
<label>Selected parameter:
<select id="barchart_dropdown_parameter" onchange="changeDropdownParameter()">
<option value="col">Cost of living</option>
<option value="ri">Rental index</option>
<option value="bp">Beer price</option>
</select>
</label>
</form>
</div>
</div>
<svg width="100%" height="85%"></svg>
<script src="js/barchart.js"></script>
</div>
<div class="chart" id="boxplot">
<div id="boxplot_header">
<h4 id="boxplot_title">Traveled distances</h4>
</div>
<svg width="100%" height="85%"></svg>
<script src="js/boxplot.js"></script>
</div>
</div>
</div>
</body>
</html>