-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
142 lines (124 loc) · 4.3 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
<!doctype html>
<html>
<head>
<title>Religious Denominations in Switzerland</title>
<meta charset="utf-8"/>
<!-- necessary for media queries -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/main-stylesheet.css">
<link rel="stylesheet" type="text/css" href="css/swiss-map.css">
<link rel="stylesheet" type="text/css" href="css/nouislider.min.css">
<link rel="stylesheet" type="text/css" href="css/custom-noUiSlider.css">
<link rel="stylesheet" type="text/css" href="css/point-to-point-chart.css">
<link rel="icon" href="/favicon.png" type="image/png">
</head>
<body>
<!-- put your stuff here -->
<div id="cantonLabel">
<p></p>
</div>
<div id="pointLabel">
<p id="pointLabel__percentage"></p>
<p id="pointLabel__headcount"></p>
</div>
<div id="lineLabel">
<p id="lineLabel__religion"></p>
</div>
<main>
<section id="map-section" class="flex-container center">
<form id="swiss-regions" class="">
<!-- Grossregionen gemäss https://de.wikipedia.org/wiki/Liste_der_Regionen_in_der_Schweiz-->
<section id="all-regions">
<!-- auto-generated checkboxes here -->
</section>
<section id="bfs-regions">
<p>Grossregionen gemäss BFS</p>
<!-- auto-generated checkboxes here -->
</section>
<section id="topographical-regions">
<p>Topographische Regionen</p>
<!-- auto-generated checkboxes here -->
</section>
</form>
<div class="separator"></div>
<div id="map-wrapper">
<div id="swiss-mini-map">
<!-- auto-generated swiss map here -->
</div>
<div id="swiss-map">
<!-- auto-generated swiss map here -->
</div>
</div>
</section>
<section class="flex-container center" style="display:none;">
<section id="years-slider">
<!-- auto-generated slider here -->
</section>
</section>
<section class="flex-container center">
<form id="religions">
<section id="all-religions">
</section>
<section id="christian-religions">
<p>Christentum</p>
<!-- auto-generated checkboxes here -->
</section>
<section id="other-religions">
<p>Andere Religionen</p>
<!-- auto-generated checkboxes here -->
</section>
<section id="no-religion">
<p>Konfessionslos</p>
<!-- auto-generated checkboxes here -->
</section>
</form>
<div class="separator"></div>
<div id="line-graph">
<!-- auto-generated swiss map here -->
</div>
</section>
<aside id="right-sticky">
<h2>Religionen in <img src="./img/CH-flag.png" style="vertical-align: middle;" /></h2>
<section id="info-box">
<!-- h3 and p get predefined text through event handlers in info-box.js -->
<h3></h3>
<p></p>
</section>
<section id="credits">
<h5>Developed by</h5>
<p>S. Wohlgensinger & M. Winiker</p>
</section>
<a id="repo-link" href="https://github.com/AceVanCleef/ivis_religious_denominations_in_switzerland" target="_blank">
<img id="gh-dark" src="./img/GitHub-Mark-Light-64px.png" />
<p>Checkout our source code</p>
</a>
</aside>
</main>
<!-- javascript -->
<!-- external js libraries-->
<script src='lib/d3-v4.js'></script>
<script src='lib/lodash.js'></script>
<script src="lib/topojson.v2.min.js"></script>
<script src="lib/wNumb.js"></script>
<script src="lib/nouislider.min.js"><!-- source: https://refreshless.com/nouislider/--></script>
<!--<script src="lib/responsivefy.js"></script>-->
<!-- internal js code -->
<!-- Note: For readability, code can be devided into
multiple files but must be added before point-to-point-chart.js using <script> tag. -->
<!-- potential other files (aka modules):
- load-data.js
- swiss_map.js
- year_chooser.js
- canton_region_chooser.js
- denomination_graph.js
-->
<script src='src/helper_lib.js' type='module'></script>
<script src='src/load-data.js' type='module'></script>
<script src='src/swiss_map.1.0.js' type='module'></script>
<script src='src/region_selectors.js' type='module'></script>
<script src='src/religion_selectors.js' type='module'></script>
<script src='src/years_selector.js' type='module'></script>
<script src='src/info-box.js' type='module'></script>
<script src='src/main.js' type='module'></script>
</body>
</html>