-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (54 loc) · 2.13 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>India's AQI Map</title>
<link href="https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap" rel="stylesheet">
<style>
body {
margin: 0;
background-color: bisque;
}
/* Make the page 700px wide, centered */
.container {
width: 1200px;
margin: 4em auto;
}
/* Use a nice font */
body {
font-family: "Lora", serif;
}
h1 {
text-align: center;
font-size: 3em;
margin: 2em 0;
}
.graphic {
max-width: 1000px;
margin: 2em auto;
height: 1000px;
}
#footer {
text-align: center;
padding: 4em;
background-color: #f0f1ff;
border-top: solid white 5px;
}
</style>
</head>
<body>
<div class="container">
<h1><span style='font-size:50px;'>😷</span> India's AQI Map 🏭</h1>
<h3>This map shows the daily AQI of 250 major Indian cities</h3>
<p>The map below auto-updates every day. Air quality is scored using the <a
href="https://cpcb.nic.in/National-Air-Quality-Index/">index</a> put out by the Central Pollution
Control Board of India</p>
<div class="graphic">
<iframe title="India's AQI Map" aria-label="Map" id="datawrapper-chart-KWAk9"
src="https://datawrapper.dwcdn.net/KWAk9/1/" scrolling="yes" frameborder="0"
style="width:100%; !important; border: none;" height="100%" data-external="1"></iframe>
<script type="text/javascript">!function () { "use strict"; window.addEventListener("message", (function (a) { if (void 0 !== a.data["datawrapper-height"]) { var e = document.querySelectorAll("iframe"); for (var t in a.data["datawrapper-height"]) for (var r = 0; r < e.length; r++)if (e[r].contentWindow === a.source) { var i = a.data["datawrapper-height"][t] + "px"; e[r].style.height = i } } })) }();
</script>
</div>
</div>
</html>