forked from RDeconomist/RDeconomist.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrapidMacro.html
65 lines (50 loc) · 2.02 KB
/
rapidMacro.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- START ANALYTICS -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<!-- This stuff provided by Google from the Admin page of Analysics account -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JP82FVH378"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-JP82FVH378');
</script>
<!-- END ANALYTICS -->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<!--Main Stylesheet-->
<link rel="stylesheet" href="css/covid_live.css">
<!--Allow the Vega embed-->
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
</head>
<body>
<div class="grid_items">
<div class="grid_item" id="chart1"></div>
<div class="grid_item" id="chart2"></div>
<div class="grid_item" id="chart3"></div>
<div class="grid_item" id="chart4"></div>
<div class="grid_item" id="chart5"></div>
<div class="grid_item" id="chart6"></div>
<div class="grid_item" id="chart7"></div>
<div class="grid_item" id="chart8"></div>
<div class="grid_item" id="chart9"></div>
<div class="grid_item" id="chart10"></div>
<div class="grid_item" id="chart11"></div>
<div class="grid_item" id="chart12"></div>
</div>
</body>
<script>
// Set the charts that we want on the page as variables, linking them to JSON files:
var QNA1 = "charts/ONSqna/chartQNA1.json";
var QNA2 = "charts/ONSqna/chartQNA2.json";
// Now embed the charts in the divs set above:
vegaEmbed('#chart1', QNA1, {"actions": false});
vegaEmbed('#chart2', QNA2, {"actions": false});
</script>
</html>