-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (60 loc) · 2.26 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>PH</title>
<!-- CSS libraries -->
<link href="http://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css" rel="stylesheet" type="text/css">
<!-- Custom CSS styles -->
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="container">
<div class="row">
<h3 class="seven columns">PH COVID-19 IN DETAIL</h3>
<!-- Initialize a select button -->
<select id="selectButton"></select>
<select id="factorButton"></select>
</div>
<div id="map"><!-- Map container --></div>
<div id="legend"><!-- Legend container --></div>
<div id="metric-modal"></div>
<div id="details" class="hidden row"><!-- Details container --></div>
</div>
<!-- Mustache template, rendered later to show the details of a feature -->
<script id="template" type="x-tmpl-mustache">
<h5 class="six columns">{{ REGION }}</h5>
<table class="five columns">
<tr>
<th>XVALUE:</th>
<td>{{ XVALUE }}</td>
</tr>
<tr>
<th>YVALUE</th>
<td>{{ YVALUE }}</td>
</tr>
</table>
<a href="#" id="close-details" class="one column" onclick="hideDetails(); return false;">❌</a>
</script>
<style>
. indented-text {
padding-left: 100em; /* Adjust the value (e.g., 1em, 3em) for desired indent */
}
</style>
<!-- <div class="indented-text"> <div id="initial">
<h5>Instructions</h5>
<ul>
<li>Change the key using the dropdown above the map.</li>
<li>Hover over a region to display the details.</li>
<li>Note that a time series below will appear, displaying the COVID19 trends.</li>
<li>Scroll in the map to zoom in and out.</li>
<li><b>Data as of: 2021 Feb 26</b> </li>
</ul>
</div></div> -->
<!-- JS libraries -->
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/mustache.js/2.2.1/mustache.min.js"></script>
<!-- Custom JS code -->
<script src="map.js"></script>
</body>
</html>