-
Notifications
You must be signed in to change notification settings - Fork 0
/
country.html
172 lines (147 loc) · 6.91 KB
/
country.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
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
<!DOCTYPE HTML>
<html>
<head>
<title>Blizzard</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta property="og:image" content="images/bg2.PNG" />
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" href="assets/css/custom.css" />
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
<link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
<canvas id="nokey" width="800" height="100vh">
Your Browser Don't Support Canvas, Please Download Chrome ^_^``
</canvas>
</head>
<body class="is-preload">
<!-- Wrapper -->
<div id="wrapper" class="fade-in">
<!-- Intro -->
<div id="intro">
<link href="https://fonts.googleapis.com/css?family=Raleway:200,100,400" rel="stylesheet" type="text/css" />
<h1><a href="index.html" style="color:white !important;">Attributing Responsibility</a></h1>
<ul class="actions">
<li><a href="#header" class="button icon solo fa-arrow-down scrolly">Continue</a></li>
</ul>
</div>
<!-- Header -->
<header id="header">
<a href="index.html" class="logo icon fa-home"></a>
</header>
<!-- Nav -->
<nav id="nav">
<ul class="links">
<li><a href="index.html">Home</a></li>
<li><a href="sector.html">sector</a></li>
<li class="active"><a href="country.html">Country</a></li>
<li><a href="city.html">Cities</a></li>
<li><a href="about.html">About</a></li>
</ul>
<ul class="icons">
<li><a href="https://www.facebook.com/yncdata/?__tn__=kC-R&eid=ARDpk5s99-pQEaMXQinwD48-oU459v6SO4mZqQmF5MfJTTr7iogGSdDvZ-F132UXiN0a6VeyWIVdm4of&hc_ref=ARRBV7_z1kjkP3MOUxN7muhM2RBq9q1zckiCMATVzp4WQBfwXlkVa7ecLj7i1jf1vFU&fref=nf&__xts__%5B0%5D=68.ARACCG5zX7eXbwsNL3WsePaoXxwY90O_QSc6lWqmo3ZkhNOewHJSXkyRt6DgmSt3cIQ2FDvKKSea7irp_CLJOuDQyGGIk7o-HrFlPY40UH65SQGvqsgCyqG8KOzDychAX-JslWRMteO0eNyqUpRRY9-SCuFO3GW2RcPBKbVU84W3dPddSg2khjnLiYjdRpMuEKstZx1BilBMoY1CDGLHcgSTlpme0s0keXjnAYFxwXIqpbGRffxZQUA-ZVsd9gS7CEjACLuRQeAx8lh4vr4GiSKAJtD1e6umpPjEV61OaDsVsdC4DCLMr3lReS0joTPr-YQabe6DfyR5ZPUjc7qjtY" target="_blank" class="icon fa-facebook"><span class="label">Facebook</span></a></li>
</ul>
</nav>
<!-- Main -->
<div id="main" class="homepage">
<!-- Featured Post -->
<article class="post featured">
<header class="major" style="margin:0;">
<span class="date"><div id="para1"></div></span>
<h2>Countries</h2>
<p class="aboutblock">YaleNUS Hackathon | Team Blizzard</p>
</header>
<!-- <ul class="actions special">
<li><a href="personal.html" class="button large primary">Find Out More</a></li>
</ul> -->
</article>
<h2>Carbon Emissions since 2000</h2>
<img width = "100%" height="auto" src = "line.PNG"/>
<img src = "countrybycarbon.png" width="100%"/>
<h2>Bigger actors bigger actions? (Interactive Chart)</h2>
<iframe width="100%" height="800px" frameborder="0" scrolling="yes" src="//plot.ly/~nicklausong/13.embed"></iframe>
<p>
Click and drag any point in the chart to visualize it in 3D. </br>
Climate change is a pressing issue, and it is critical that stakeholders
put in the effort to implement change. In this graph, we visualize countries'
size (GDP and emissions) and the corresponding number of initiatives that they have adopted. Note that
all axes are scaled logarithmically. It is heartening that there is a correlation between
larger emissions, gdp size, and the number of initiatives taken up. This means that larger
countries are putting in the effort to reduce their carbon emissions. However, we can see some
laggards in the world. Seeing by region, we can see the efforts in different regions and
gain understanding that different areas need to put in more effort. (Look at commitments by
European countries versus sub-saharan african countries)
</p>
<!-- Posts -->
<div class="row rowpad">
<div class="col-4 col-6-small navhalfrow">
<a href="sector.html" class="button primary fit workbutton icon fa-arrow-left" style="color:white !important;">   Sector</a>
</div>
<div class="col-4 col-0-small blank"></div>
<div class="col-4 col-6-small navhalfrow">
<a href="city.html" class="button primary fit workbutton" style="color:white !important;"> City   <span class="icon fa-arrow-right"/></a>
</div>
</div>
<!-- Footer -->
<!-- <footer>
<div class="pagination">
<a href="#" class="previous">Prev</a>
<a href="#" class="page active">1</a>
<a href="#" class="page">2</a>
<a href="#" class="page">3</a>
<span class="extra">…</span>
<a href="#" class="next">Next</a>
</div>
</footer> -->
</div>
<!-- Footer -->
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
<script>
document.getElementById("para1").innerHTML = formatAMPM();
function formatAMPM() {
var d = new Date(),
months = ['January','Febuary','March','April','May','June','July','August','September','October','November','December'],
days = ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];
return days[d.getDay()]+', '+months[d.getMonth()]+' '+d.getDate();
}
</script>
<script>
var hands = [];
hands.push(document.querySelector('#secondhand > *'));
hands.push(document.querySelector('#minutehand > *'));
hands.push(document.querySelector('#hourhand > *'));
var cx = 100;
var cy = 100;
function shifter(val) {
return [val, cx, cy].join(' ');
}
var date = new Date();
var hoursAngle = 360 * date.getHours() / 12 + date.getMinutes() / 2;
var minuteAngle = 360 * date.getMinutes() / 60;
var secAngle = 360 * date.getSeconds() / 60;
hands[0].setAttribute('from', shifter(secAngle));
hands[0].setAttribute('to', shifter(secAngle + 360));
hands[1].setAttribute('from', shifter(minuteAngle));
hands[1].setAttribute('to', shifter(minuteAngle + 360));
hands[2].setAttribute('from', shifter(hoursAngle));
hands[2].setAttribute('to', shifter(hoursAngle + 360));
for(var i = 1; i <= 12; i++) {
var el = document.createElementNS('http://www.w3.org/2000/svg', 'line');
el.setAttribute('x1', '100');
el.setAttribute('y1', '30');
el.setAttribute('x2', '100');
el.setAttribute('y2', '40');
el.setAttribute('transform', 'rotate(' + (i*360/12) + ' 100 100)');
el.setAttribute('style', 'stroke: #ffffff;');
document.querySelector('svg').appendChild(el);
}
</script>
</body>
</html>