-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchartEmbed2_double.html
More file actions
43 lines (29 loc) · 1019 Bytes
/
chartEmbed2_double.html
File metadata and controls
43 lines (29 loc) · 1019 Bytes
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
<!DOCTYPE html>
<!-- Richard Davies, Data Science-->
<!-- /////////////////// HEAD //////////////////////////////////// -->
<head>
<!--The next three lines allow the Vega embed-->
<script src="https://cdn.jsdelivr.net/npm/vega@5.17.0"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-lite@4.17.0"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-embed@6.12.2"></script>
</head>
<!-- /////////////////// HEAD //////////////////////////////////// -->
<!-- /////////////////// START BODY //////////////////////////////////// -->
<body>
<!--Chart 1 -->
<div class="chart" id="chart1">
<script>
var myChart1 = "chart1_covidUKRegions.json";
vegaEmbed('#chart1', myChart1);
</script>
</div>
<!--Chart 2 -->
<div class="chart" id="chart2">
<script>
var myChart2 = "chart2_ukProductivity.json";
vegaEmbed('#chart2', myChart2);
</script>
</div>
</body>
<!-- /////////////////// END BODY //////////////////////////////////// -->
</html>