forked from RDeconomist/RDeconomist.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.html
227 lines (171 loc) · 8.52 KB
/
launch.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
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
<!DOCTYPE html>
<html class="no-js" lang="">
<!-- ////////////////////////////// START HEAD //////////////////////////////-->
<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 stuff-->
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!--Facebook meta - this comes up when you post a link to the site-->
<meta property="og:title" content="Rapid Charts">
<meta property="og:description" content="Automated and interactive live visualisations">
<meta property="og:image" content="btc_lr.png">
<meta property="og:url" content="http://rapidcharts.io/index.htm">
<!--Favicon-->
<link rel="icon" href="images/favicon.png">
<link rel="shortcut icon" href="images/favicon.png" />
<link rel="apple-touch-icon" href="images/favicon.png" />
<title>Rapid Charts</title>
<!--Main Stylesheet-->
<link rel="stylesheet" href="css/main2.css">
<link rel="stylesheet" href="css/covid_live.css">
<link rel="stylesheet" href="css/preload.css">
<link rel="stylesheet" href="css/crypto.css">
<link rel="stylesheet" href="css/firstPage.css">
<!--Code to allow 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>
<!-- Add icon library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<!-- ////////////////////////////// END HEAD //////////////////////////////-->
<!-- ////////////////////////////// START BODY //////////////////////////////-->
<body onload="myFunction()" style="margin:0;">
<!--Div with the loader ///////////////////////////////////// -->
<div class="preloader" id="loader" >
<svg id="preloader" width="240px" height="120px" viewBox="0 0 240 120" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<path id="loop-normal" class="st1" d="M120.5,60.5L146.48,87.02c14.64,14.64,38.39,14.65,53.03,0s14.64-38.39,0-53.03s-38.39-14.65-53.03,0L120.5,60.5
L94.52,87.02c-14.64,14.64-38.39,14.64-53.03,0c-14.64-14.64-14.64-38.39,0-53.03c14.65-14.64,38.39-14.65,53.03,0z">
<animate attributeName="stroke-dasharray" from="5, 5" to="500, 500" begin="0s" dur="4s" repeatCount="indefinite" />
<animate attributeName="stroke-dashoffset" from="0" to="0" begin="0s" dur="4s" repeatCount="indefinite" />
</path>
<path id="loop-offset" d="M146.48,87.02c14.64,14.64,38.39,14.65,53.03,0s14.64-38.39,0-53.03s-38.39-14.65-53.03,0L120.5,60.5L94.52,87.02c-14.64,14.64-38.39,14.64-53.03,0c-14.64-14.64-14.64-38.39,0-53.03c14.65-14.64,38.39-14.65,53.03,0L120.5,60.5L146.48,87.02z">
</path>
</svg>
<div class="credit">
<a href="https://nuggetcharts.com" target="_blank">fetching live data</a>
</div>
</div>
<!--End of loader /////////////////////////////////// -->
<!--Page content begins ///////////////////////////////-->
<!-- <div style="display:none; background-color:#ebe5e5; width: 100vw;" id="myDiv" class="animate-bottom"> -->
<div style="display:none; background-color:rgba(21, 32, 43); width: 100vw;" id="myDiv" class="animate-bottom">
<!-- ///TOP SECTION - HEADER AND LINKS-->
<!-- portfolio grid section -->
<section id="work-detail">
<div class="container">
<div class="row">
<div class="col-md-12 work-detail ">
<div class="work-detail">
<!-- heading for page-->
<div class="wrap">
<h1>rapid<span style="color: #ff9a00">charts</span></h1>
<span style="display:block; height: 20px;"></span>
<p class="rubric-launch">Live and intereactive charts. From inflation to Covid, find your data dashboard here.</p>
<span style="display:block; height: 5px;"></span>
<!-- topics sub heading clickable links -->
<p>
<a class="dashboardButton" href="inflation">Inflation</a>
<a class="dashboardButton" href="covidUK">Covid</a>
<a class="dashboardButton" href="crypto">Crypto</a>
<a class="dashboardButton" href="jobs">Jobs</a>
<a class="dashboardButton" href="gdp">GDP</a>
<a class="dashboardButton" href="environment">Environment</a>
<!-- <a class="dashboardButton" href="ukMacro">Economy</a> -->
<!-- <a class="dashboardButton" href="colour"> Colour </a> </a> -->
<a class="dashboardButton" href="fiscal">Budget</a>
<a class="dashboardButton" href="surf">Surfing</a>
<a class="dashboardButtonMore" href="dashboards">+ More</a>
<!-- <a href="datascience.html"> Course </a> -->
</p>
<!-- topics sub heading clickable links -->
<!-- White space across the page -->
<span style="display:block; height: 0px;"></span>
</div>
<!-- ///END OF TOP SECTION -->
<!--Begin first Grid-->
<div class="grid_items">
<div class="grid_item" id="firstVis"></div>
<div class="grid_item" id="secondVis"></div>
</div>
<!-- White space across the page -->
<span style="display:block; height: 10px;"></span>
<div class="wrap">
<p class="rubric-launch">The charts here auto-update when new data are released. You can use the sliders and drop-down box to investigate the data.</p>
</div>
<!-- White space across the page -->
<span style="display:block; height: 10px;"></span>
<!-- White space across the page -->
<span style="display:block; height: 20px;"></span>
<!-- SCRIPT FOR THE CHARTS -->
<script>
var Vis1 = "charts/ONSinflation/chartINF1_dark.json";
var Vis2 = "charts/ukMacro/exr_usdgbp_slider.json"
//var Vis2 = "charts/covid/chartCovidLiveUKCitiesLatestData.json";
//var Vis2 = "charts/covid/chartCovidLiveUKCitiesCases.json";
vegaEmbed('#firstVis', Vis1, {"actions":false});
vegaEmbed('#secondVis', Vis2, {"actions":false});
</script>
<!-- SCRIPT FOR THE CHARTS -->
<!--/////////////////////////////////////END SECTION - SAME ALL PAGES//////////////////////////-->
<div class="footer-dark">
<footer>
<div class="container">
<div class="row">
<div class="column">
<h3>About</h3>
<ul>
<li><a href="#">Mission</a></li>
<li><a href="#">Team</a></li>
</ul>
</div>
<div class="column">
<h3>Resources</h3>
<ul>
<li><a href="datascience">Course</a></li>
<li><a href="build">Chart Builder</a></li>
</ul>
</div>
</div>
<div class="footer-finalrow">
<h3>Rapid Charts</h3>
<p>Automated and interactive data analysis.</p> </div>
<div class="col item social">
<a href="https://www.economicsobservatory.com" class="fa fa-university"></a>
<a href="https://twitter.com/RD_Economist" class="fa fa-twitter"></a>
<a href="https://www.instagram.com/rapidcharts" class="fa fa-instagram"></a>
<a href="https://www.linkedin.com/in/rd-economist" class="fa fa-linkedin"></a>
</div>
</div>
<p class="copyright">Richard Davies © 2022</p>
</footer>
</div>
<!--/////////////////////////////////////END SECTION - SAME ALL PAGES//////////////////////////-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.bundle.min.js"></script>
<script>
// Scipt for the loader:
var myVar;
function myFunction() {
myVar = setTimeout(showPage, 3000);
}
function showPage() {
document.getElementById("loader").style.display = "none";
document.getElementById("myDiv").style.display = "block";
}
</script>
</body>
</html>