-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathslide1.html
More file actions
62 lines (47 loc) · 2.09 KB
/
slide1.html
File metadata and controls
62 lines (47 loc) · 2.09 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Slide 1 - CS416 Project 2 by Sicheng Meng</title>
<script src='https://d3js.org/d3.v7.min.js'></script>
<script src="chart1.js"></script>
<link rel="stylesheet" href="./proj2.css">
</head>
<body onload='initLineRegion()'>
<header id="header">
<div class="innertube">
<p><strong>Explore World's Energy Consumption and Problems</strong> - CS416 Narrative Visualization Project by Sicheng Meng</p>
</div>
</header>
<main>
<div class="innertube">
<div id="chart1">
</div>
</div>
</main>
<div id="left">
<div class="innertube">
<h3>What's the trend of world's energy comsumption in history?</h1>
<ul class="bulletpoint">
<li>Primary energy consumption per capita in developped countries/regions first increased, peaked tetween 1980 and 1990, and then gradually went down after the cold war.</li>
<li>Although energy consumption per capita in developing countries/regions is still a lot less than developped countries, it increased rapidly in developping countries/regions. Asian countries witness nearly 700% percent increase.</li>
<li>Less developped regions such as Africa still lack access in general. Although their consumption doubled, it's still at the bottm of the chart.</li>
<li>Click below <strong>buttons</strong> to change the view of the graph.</li>
</ul>
<p> </p>
<div class="button1-container">
<button class="button1" onclick="initLineRegion()">Geographic Region</button>
<p> </p>
<button class="button1" onclick="initLineEco()">Economical Region</button>
</div>
</div>
</div>
<footer id="footer">
<div class="innertube">
<div class="buttonnext-container">
<button class="next-button" onclick="window.location.href='slide2.html'">Next Slide</button>
</div>
</div>
</footer>
</body>
</html>