/
index.vue
319 lines (276 loc) · 12 KB
/
index.vue
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
<!DOCTYPE html>
<html lang="en">
<head>
<title>Emerging Trends</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<script src="https://code.jquery.com/jquery-2.2.0.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/c3/0.4.10/c3.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href=" https://cdnjs.cloudflare.com/ajax/libs/jasny-bootstrap/3.1.3/css/jasny-bootstrap.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jasny-bootstrap/3.1.3/js/jasny-bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/c3/0.4.10/c3.js"></script>
<script src="script/d3/d3.v3.5.17.js"></script>
<script src="script/d3/sankey.js"></script>
</head>
<style>
<style>
body
{
background: green;
/* light gray: c2cbce light green: fbfef3 green-gray: d1d6c2 dde1d2 light green: d1ed70 */
min-height: 0px;
margin-top: 0px;
margin-bottom: 0px;
font-family: Avenir, Gill-Sans, Arial, Helvetica, sans-serif;
font-size: 16px;
}
p
{
font-family: Avenir, Gill-Sans, Arial, Helvetica, sans-serif;
font-size: 14px;
}
.navbar {
margin-bottom: 0 !important;
/* Overrides white space under navbar */
}
#wrapperOutside
{
background: #ebf0e4;
/* f2ffe6 c1dee3 ddebdd edf5ee ebf0e4 */
}
#wrapperInside
{
margin:0 auto;
background: #fafdff;
/* light gray CCC e7e7e7 dadada fff5f7 faffff eaf5f4 edf7fa fafdff f5f6ff */
width:1200px;
height: 100%;
padding: 0px;
position: relative;
overflow: hidden;
}
#title
{
font-size: 44px;
position: absolute;
left: 80px;
top: 50px;
font-style: bold;
text-shadow: 0 1.0px 0 #fff;
}
#subtitle
{
font-size: 30px;
position: absolute;
left: 160px;
top: 120px;
color: #cb0000; /* darker red: C70039 brighter red: ea4b01 */
text-shadow: 0 1.6px 0.4px black;
font-style: italic;
}
.row
{
margin: 30px;
padding-top: 10px;
background-color: none;
}
#pubDate
{
font-family: Courier, Avenir, Gill-Sans, Arial, Helvetica, sans-serif;
font-size: 14px;
}
#author
{
font-style: italic;
font-size: 16px;
color: #1437c7; /* #38638f brighter blue: 164791 0334a6 1437c7 */
}
#bodyText
{
margin-top: 10px;
}
/* BEGIN: OF STYLE FOR: Block Quote */
@import url(https://fonts.googleapis.com/css?family=PT+Sans|Ubuntu:300,400,700);
.containerQuote {
background: #e6ecfa; /* light gray-green: fbfef3 d1d6c2 #f4fad7 mint green: aee3a1 bce0b8 daebd3 ccf0d0 #b0ffd5 aef5d6 b1f5de b8f2e4 c2f2ec e6ecfa */
width: 100%;
max-width: 480px;
min-width: 320px;
margin: 1em auto 0;
padding: 1.5em;
}
p { margin-bottom: 1.5em; }
p:last-child { margin-bottom: 0; }
blockquote {
display: block;
border-width: 2px 0; /* 2px 0 */
border-style: solid;
border-color: #1437c7; /* eee 1437c7 */
padding: 1.0em 0 1.0em;
margin: 0.7em 0;
position: relative;
}
blockquote:before {
content: '\201C';
position: absolute;
top: -0.22em;
left: -0.48em; /* left: 0%; */
transform: translate(-50%, -50%);
background: #fafdff; /* #fff #f4fad7 */
width: 3rem;
height: 2rem;
font: 6em/1.08em 'PT Sans', sans-serif;
color: #e6ecfa; /* #666 same green as background: ccf0d0 mint green: 88f5a5 b7f7cf b0ffd5 b1f5de b8f2e4 e6ecfa */
text-align: center;
}
blockquote:after {
content: '\201D'; /* "\2013 \2003" attr(cite) */
position: absolute;
bottom: -0.02em;
right: -0.77em; /* left: 0%; */
transform: translate(-50%, -50%);
background: #fafdff; /* #fff #f4fad7 */
width: 3rem;
height: 2rem;
font: 6em/1.08em 'PT Sans', sans-serif;
color: #e6ecfa;
text-align: center;
}
/* END: OF STYLE FOR: Block Quote */
#mySidebar
{
padding-top: 14px;
background-color: #f2f6fa; /* medium gray d8e1e6 f7f7f7 f2f6fa */
height: 82rem;
}
.myButton
{
color: blue;
}
/* MODAL */
.modal.in .modal-dialog {
width: 80vw !important;
}
.modal-content {
height: 80vh !important;
}
</style>
<body>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">Schraml Designs</a>
</div>
<ul class="nav navbar-nav">
<li class="active"><a href="http://trangdoanlam.com" target="_blank">Home</a></li>
<li><a href="http://trangdoanlam.com/data-binding" target="_blank">Data Binding</a></li>
<li><a href="http://trangdoanlam.com/maps" target="_blank">Maps</a></li>
<li><a href="gasEmit.html" target="_blank">Emerging Landscape</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#"><span class="glyphicon glyphicon-user"></span> Sign Up</a></li>
<li><a href="#"><span class="glyphicon glyphicon-log-in"></span> Login</a></li>
</ul>
<form class="navbar-form navbar-right" action="/action_page.php">
<div class="form-group">
<input type="text" class="form-control" placeholder="Search" name="search">
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
</div>
</nav>
<div id="wrapperOutside">
<div id="wrapperInside">
<img id="imageBanner" width="1200px" src="images/pollution4.jpg" style="opacity: 1.0" class="img-fluid" alt="Responsive image: Web Banner" />
<h1 id="title">Growth and our Children</h2>
<p id="subtitle">the Emerging Landscape</p>
<div class="row"><!-- BEGINNING OF: Both Columns -->
<div class="col-sm-9" style=""><!-- BEGINNING OF: First Column of 2/3 // style="background-color:lavender;" -->
<div id="bodyContainer">
<div id="author">by Trang Lam</div>
<div id="pubDate"><b>Updated:</b> March 7, 2019</div>
<div id="bodyText">
<p>A great deal has been discussed in recent years about Gas Emissions and its effect on Global Warming. The battle rages on, but there are some facts that can be agreed upon. "The greenhouse effect is a natural function of Earth’s atmosphere, the happy result of which is a livable world. Gases in the atmosphere, especially water vapor, insulate the Earth, preventing the sun’s heat from escaping. The Earth stays warm and life thrives. But human activity, especially the use of fossil fuels, has increased the amount of greenhouse gases in the atmosphere. More heat is absorbed, increasing the greenhouse effect and bringing negative consequences to Earth’s systems and life."[1] The quote nicely sums up the debate about the Greenhouse Effect and Global Warming. Is the atmosphere absorbing too much infrared radidation due to fossil fuels and gas emissions? Is this leading to Global Warming?
<div class="containerQuote">
<blockquote>The greenhouse effect is a natural function of Earth’s atmosphere, the happy result of which is a livable world. Gases in the atmosphere insulate the Earth, and the Earth stays warm and life thrives. <b><i>- science.com</i></b></blockquote>
</div>
<br />
One thing that cannot not be disputed is that the average temperature is rising. Since 1880, it has risen 1.5 degrees Fahrenheit based on reports by the <i>Intergovernmental Panel on Climate Change</i>. This rise in temperature results in the melting ice in the Earth's poles leading to a change in the sea level, which affects the climate. Using Europe for illustration purposes, we can compare the population of certain regions and how much air pollution in each area versus how much air pollution is created from the Industrial Sector.
<br />
<br />
Since Europe is categorized into four major regions, we can group the data by the regions; the focus of this article will be on the regions and data available (from UN studies):
<br />
<br />
<ul class="">
<li><b><i>Southern Europe:</i></b> Spain, Portugal, Greece, Italy, Cypress, Malta, Monaco, San Marino, and Andorra</li>
<li><b><i>Western Europe:</i></b> Ireland and countries of the United Kingdom (England, Wales, Northern Ireland, and Scotland)</li>
<li><b><i>Northern Europe:</i></b> Iceland, Finland, Norway, Sweden, and Denmark</li>
<li><b><i>Central Europe:</i></b> Germany, France, Switzerland, Austria, Belgium, the Netherlands, and Luxembourg</li>
<li><b><i>Eastern Europe:</i></b> Russia, Belarus, Bulgaria, Czech Republic, Estonia, Hungary, Latvia, Lithuania, Malta, Moldova, Poland, Romania, Slovakia, Slovenia</li>
</ul>
<br />
This article will attempt to trace the connections between population and gas emissions (specifically from the Industrial Sector) and how this has fluctuated in recent years. The reader can decide for himself if he believes that due to the gas emissions, the level of emissions has affected the rising temperature to create the phenomenon of Global Warming. The following data visualizations and help us to process the changing trends.
<br />
<br />
<ul class="">
<li><b><i>Population Growth:</i></b> in the 4 Regions of Europe</li>
<li><b><i>Urban and Rural Areas:</i></b> Urban areas with a higher density of people</li>
<li><b><i>Industrial Sector:</i></b> Different Sectors and Gas Emissions</li>
<li><b><i>The Big Picture:</i></b> putting these Datasets Together</li>
</ul>
<!-- <div id="myButton">
<button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal">Sankey Diagram</button>
</div> -->
</p>
</div> <!-- END OF: bodyText -->
</div> <!-- END OF: bodyContainer -->
</div> <!-- END OF: First Column of 2/3 -->
<div id="mySidebar" class="col-sm-3" style="">
<p><b>Related Articles:</b>
<br />
<br />
<b><i>Bootstrap to Quickly Scale Up:</i></b> Build responsive, mobile-first projects on the web with the world’s most popular front-end component library...<a href="wwww.bootstrap.com" target="_blank">[read more]</a>
<br />
<br />
<b><i>SQL Databases and REST:</i></b>
SQL is a standard language for storing, manipulating and retrieving data in databases. Our SQL tutorial will teach you how to use SQL in: MySQL, SQL Server, MS Access, Oracle, Sybase, Informix, Postgres, and other database systems...<a href="www.w3schools.com/sql/" target="_blank">[read more]</a>
<br />
<br />
<b><i>Vue.js to Scaffold a Website:</i></b>
Vue (pronounced /vjuː/, like view) is a progressive framework for building user interfaces. Unlike other monolithic frameworks, Vue is designed from the ground up to be incrementally adoptable...<a href="https://vuejs.org/v2/guide/" target="_blank">[read more]</a>
<br />
<br />
<b><i>D3: Databinding for Charts and Maps</i></b>
D3.js is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using the SVG...<a href="https://d3js.org/" target="_blank">[read more]</a>
<br /><br />
<img id="imageCalendar" src="images/2019-calendar-march.png" style="opacity: 1.0" class="" alt="2019 Calendar March image" />
<p>
</div> <!-- END OF: Second Column of 2/3 -->
</div> <!-- END OF: Both Columns -->
<!-- START: Modal
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog modal-lg">
<!-- Modal content
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Population Growth and Gas Emissions</h4>
</div>
<div class="modal-body">
<p id="chart" />
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- END: Modal -->
</div> <!-- END OF: wrapperInside, for everything under the navigation bar -->
</div> <!-- END OF: wrapperOutside, for everything under the navigation bar -->
</body>
</html>