Repository navigation
Expand file tree
/
Copy pathcircle.html
More file actions
executable file
·55 lines (43 loc) · 2.21 KB
/
Copy pathcircle.html
File metadata and controls
executable file
·55 lines (43 loc) · 2.21 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Covid-19 Draft Map</title>
<!-- Import vega dependencies that are compatible with IE11-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/core-js/2.6.11/core.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.8.7/polyfill.js"></script>
<script src="https://vega.github.io/vega/assets/promise.min.js"></script>
<script src="https://vega.github.io/vega/assets/symbol.min.js"></script>
<script src="https://vega.github.io/vega/assets/fetch.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vega@5/build-es5/vega.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-lite@4/build-es5/vega-lite.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-embed@6/build-es5/vega-embed.js"></script>
<link href="embed2.css" rel="stylesheet">
<style>.background {fill: transparent; stroke: transparent !important;}</style>
</head>
<body>
<!--circle.html now has all 5, with circles for case and death counts-->
<div class="map-container center-me">
<form name="chooser">
<div class="map-chooser" id="mapRadio">
<input type="radio" id="rate" name="mapRadioGroup" value="Case Rate" checked>
<label for="rate">Case rate</label>
<input type="radio" id="deathrate" name="mapRadioGroup" value="Death Rate">
<label for="deathrate">Death rate</label>
<input type="radio" id="percent" name="mapRadioGroup" value="Percent Positive">
<label for="percent">Percent positive tests</label>
<br>
<input type="radio" id="count" name="mapRadioGroup" value="Case Count">
<label for="count">Case count</label>
<input type="radio" id="deathcount" name="mapRadioGroup" value="Death Count">
<label for="deathcount">Death count</label>
</div>
</form>
<div class="vis" id="map"></div>
<br>
</div>
</div>
<script src="circle.js"></script>
</body>
</html>