-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (87 loc) · 4.29 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
<html>
<head>
<meta charset="utf-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="https://cdn.amcharts.com/lib/4/core.js"></script>
<script src="https://cdn.amcharts.com/lib/4/charts.js"></script>
<script src="https://cdn.amcharts.com/lib/4/maps.js"></script>
<script src="https://cdn.amcharts.com/lib/4/themes/material.js"></script>
<script src="https://cdn.amcharts.com/lib/4/lang/en_US.js"></script>
<script src="https://cdn.amcharts.com/lib/4/geodata/worldLow.js"></script>
<script src="https://cdn.amcharts.com/lib/4/fonts/notosans-sc.js"></script>
<script src="js/indicators.js"></script>
<script src="js/countryCode.js"></script>
<script src="js/dataSource.js"></script>
<script src="js/main.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div id="map" class="charts"></div>
<div id="compo" class="charts">
<div id="compo_real"></div>
<div id="order_container">
<div>Sorted by:</div>
<select id="order">
<option value="Happiness" selected>Happiness Index</option>
<option value="Economy">Economy</option>
<option value="Family">Society</option>
<option value="Health">Health</option>
<option value="Freedom">Freedom</option>
<option value="Generosity">Generosity</option>
<option value="Trust">Trust</option>
<option value="Residual">Residual</option>
</select>
</div>
</div>
<div id="nav" class="nav">
<button id="_map" class="switch-btn ui-button ui-widget ui-corner-all">Overview</button>
<button id="_compo" class="switch-btn ui-button ui-widget ui-corner-all">Components</button>
</div>
<div id="map_year" class="nav">
<button id="_2015" class="switch-btn ui-button ui-widget ui-corner-all">2015</button>
<button id="_2016" class="switch-btn ui-button ui-widget ui-corner-all">2016</button>
<button id="_2017" class="switch-btn ui-button ui-widget ui-corner-all">2017</button>
<button id="_2018" class="switch-btn ui-button ui-widget ui-corner-all">2018</button>
<button id="_2019" class="switch-btn ui-button ui-widget ui-corner-all">2019</button>
</div>
<div id="radar_overlay" class="overlay">
<div id="radar_bg" class="overlay-bg"></div>
<div id="radar_base" class="overlay-base">
<div id="radar_title" class="overlay-title"></div>
<div class="col2">
<div id="radar" class="inner-chart"></div>
<div id="line1" class="inner-chart"></div>
</div>
<div>
Compare with: <select id="compare">
<option value="">None</option>
</select>
</div>
</div>
</div>
<div id="detail_overlay" class="overlay">
<div id="detail_bg" class="overlay-bg"></div>
<div id="detail_base" class="overlay-base">
<div id="detail_title" class="overlay-title"></div>
<div class="col2">
<div id="detail" class="inner-chart"></div>
<div id="line2" class="inner-chart"></div>
</div>
<div>
Indicator: <select id="indicator">
</select>
</div>
<div>
Compare with: <select id="compare2">
<option value="">None</option>
</select>
</div>
</div>
</div>
<div id="overlay" class="overlay">
<div>Initializing...</div>
</div>
</body>
</html>