-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresources.html
114 lines (111 loc) · 4.69 KB
/
resources.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="d3/d3.js"></script>
<script src="d3/topojson.js"></script>
<script src="script/res.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="styleRES.css">
<title>Climate Change & Water Resources</title>
</head>
<body>
<div id="big">
<div>
<ul>
<li><a class="title" href="index.html">Climate change and water resources</a></li>
<li><a class="inactive" href="index.html">Temperature Evolution</a></li>
<li><a class="active" href="resources.html">Water Resources</a></li>
<li><a class="inactive" href="wei.html">Water Exploitation Index +</a></li>
<li><a class="inactive" href="source.html">Water Abstraction Sources</a></li>
<li><a class="inactive" href="industry.html">Water Use</a></li>
</ul>
</div>
<div id="wrapper">
<!-- titles, selectors and bar chart -->
<div id="menu" class="float-left">
<!-- title -->
<h3>Water Resources</h3>
<p id="text">
Droughts and floods affect freshwater resources. Water resources in Europe seem to have been decreasing over the past few decades.
The map on the right shows 20-year average annual values of the selected resource.
</p>
<!-- selectors -->
<div id="plot-selector" class="float-left">
<label>Select Country:</label>
<select id="menu2" onchange="drawCharts(menu1.options[menu1.selectedIndex].value, this.options[this.selectedIndex].value)">
<option value="Austria">Austria</option>
<option value="Bosnia and Herzegovina">Bos. and Herz.</option>
<option value="Belgium">Belgium</option>
<option value="Bulgaria">Bulgaria</option>
<option value="Croatia">Croatia</option>
<option value="Cyprus">Cyprus</option>
<option value="Czechia">Czechia</option>
<option value="Denmark">Denmark</option>
<option value="Estonia">Estonia</option>
<option value="Finland">Finland</option>
<option value="France">France</option>
<option value="Greece">Greece</option>
<option value="Germany">Germany</option>
<option value="Hungary">Hungary</option>
<option value="Ireland">Ireland</option>
<option value="France">France</option>
<option selected value="Italy">Italy</option>
<option value="Kosovo">Kosovo</option>
<option value="Lithuania">Lithuania</option>
<option value="Luxembourg">Luxembourg</option>
<option value="Latvia">Latvia</option>
<option value="Malta">Malta</option>
<option value="Netherlands">Netherlands</option>
<option value="Norway">Norway</option>
<option value="Macedonia">N. Macedonia</option>
<option value="Poland">Poland</option>
<option value="Portugal">Portugal</option>
<option value="Romania">Romania</option>
<option value="Serbia">Serbia</option>
<option value="Slovenia">Slovenia</option>
<option value="Slovakia">Slovakia</option>
<option value="Spain">Spain</option>
<option value="Switzerland">Switzerland</option>
<option value="Turkey">Turkey</option>
<option value="United Kingdom">UK</option>
</select>
<label>Select Resource:</label>
<select id="menu1"
onchange="drawCharts(this.options[this.selectedIndex].value, menu2.options[menu2.selectedIndex].value)"
style="margin-right:10px;">
<option value="EVAP_TSP">Evaporation</option>
<option value="INTFL">Internal Flow</option>
<option selected value="INFL_NBT">Total Inflow</option>
<option value="OUTFL">Total Outflow</option>
<option value="PRECIP">Precipitations</option>
<option value="RFW_RES">Renewable Freshwater</option>
</select>
</div>
<!-- bar chart -->
<div id="barplot">
<svg id="svg_bar">
<g id="bars"></g>
<g id="xAxis"></g>
<g id="yAxis"></g>
<text x="355" y="330" class="label">Year</text>
<text transform="rotate(-90)" x="-160" y="25" class="labely">Million m³</text>
</svg>
</div>
</div>
<!-- map -->
<div id="plots" class="d-flex justify-content-center">
<div id="worldmap">
<svg id="svg_map">
<g id="map"></g>
</svg>
</div>
<div id="legend_world">
<svg id="legend">
</svg>
</div>
</div>
</div>
</div>
</body>
</html>