-
Notifications
You must be signed in to change notification settings - Fork 0
/
sector.html
163 lines (139 loc) · 6.59 KB
/
sector.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
<!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>
<!-- <h1>Nicholas Wan</h1>
<p>Aspiring Healthcare Analyst <br> Second Year Business Analytics Undergraduate</p> -->
<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 class="active"><a href="sector.html">Sector</a></li>
<li><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>sector</h2>
<p class="aboutblock">YaleNUS Hackathon | Team Blizzard</p>
</header>
<p> By comparing the current greenhouse emission by sector to their INDC commitment, we obtain a good gauge of the efficacy of their commitments </p>
<!-- <iframe width="100%" height="600px" frameborder="0" scrolling="no" src="//plot.ly/~randyjulian/11.embed"></iframe> -->
<iframe width="100%" height="600px" frameborder="0" scrolling="no" src="//plot.ly/~randyjulian/15.embed"></iframe>
<iframe width="100%" height="600px" frameborder="0" scrolling="no" src="//plot.ly/~randyjulian/17.embed"></iframe>
<p>Based on the stacked bar chart, we can see that INDC commitments do not
commensurate with greenhouse gas emissions, with 40% of commitments in
"others" when it only contributes to 0.36% of emissions. More should be
done by countries to ensure commitments target key areas of pollution.</p>
<!-- <ul class="actions special">
<li><a href="personal.html" class="button large primary">Find Out More</a></li>
</ul> -->
</article>
<!-- Posts -->
<div class="row rowpad">
<div class="col-4 col-6-small navhalfrow">
<a href="index.html" class="button primary fit workbutton icon fa-arrow-left" style="color:white !important;">   Home</a>
</div>
<div class="col-4 col-0-small blank"></div>
<div class="col-4 col-6-small navhalfrow">
<a href="country.html" class="button primary fit workbutton" style="color:white !important;"> Country   <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>
</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>