-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEuropeOverview.html
More file actions
66 lines (62 loc) · 3.3 KB
/
EuropeOverview.html
File metadata and controls
66 lines (62 loc) · 3.3 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Europe Region-Wide Overview</title>
<script src="https://d3js.org/d3.v7.min.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Navigation Bar -->
<nav class="navbar">
<ul class="nav-list">
<!-- Logo linked to the homepage -->
<li class="nav-item logo">
<a href="index.html"><img src="logo.png" alt="Logo" class="navbar-logo"></a>
</li>
<li class="nav-item dropdown">
<a href="javascript:void(0)">Explore</a>
<ul class="dropdown-list">
<li><a href="EuropeOverview.html">Europe-Wide Water Overview</a></li>
<li><a href="choropleth.html">Water Stress Map</a></li>
<li><a href="combined_barcharts.html">Country-Level Water Overview</a></li>
</ul>
</li>
<li class="nav-item"><a href="aboutus.html">About Us</a></li>
</ul>
</nav>
<div id="title-description-container">
<h1>Europe Region-Wide Overview of Water Resources, Usage & Abstractions</h1>
<p> The charts provide a detailed overview of <strong>water usage</strong>, <strong>resources</strong>, and <strong>abstractions</strong> Europe-wide from <strong>1990</strong> to <strong>2022</strong>. You can interact with the charts by clicking the different buttons to toggle between various charts—focusing on water usage, resources, or abstraction. Hover over any data point on the chart to view the exact values for each year. Additionally, in the water usage and abstraction charts, you can toggle individual legend items to hide specific categories, and toggle them again to bring them back into view for comparison. </p>
</div>
<div id="visualizations-section" class="section">
<h2>Explore Trends of Water Usage, Resources & Abstractions in Europe</h2>
<div id="buttons-container">
<button class="visualization-btn" onclick="showChart('waterUsageChart')">Water Usage</button>
<button class="visualization-btn" onclick="showChart('waterResourcesChart')">Water Resources</button>
<button class="visualization-btn" onclick="showChart('waterAbstractionChart')">Water Abstractions</button>
</div>
<div id="charts-container">
<div id="waterUsageChart" class="chart">
<svg id="usage-svg" width="1400" height="480"></svg>
</div>
<div id="waterResourcesChart" class="chart" style="display: none;">
<svg id="resources-svg" width="1400" height="480"></svg>
</div>
<div id="waterAbstractionChart" class="chart" style="display: none;">
<svg id="abstraction-svg" width="1400" height="480"></svg>
</div>
</div>
</div>
<!-- Footer -->
<footer class="footer">
<p>© COS30045 Data Visualisation Lab 1 Group 37</p>
<ul class="footer-nav">
<li><a href="index.html">Home</a></li>
<li><a href="aboutus.html">About Us</a></li>
</ul>
</footer>
<script src="europe_overview.js"></script>
</body>
</html>