-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (44 loc) · 1.02 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
<!doctype html>
<html>
<head>
<meta charset='utf8'>
<title>global covid-19 deaths</title>
<link href="https://fonts.googleapis.com/css2?family=Oswald&display=swap" rel="stylesheet">
<style>
* {
box-sizing: border-box;
}
body, #root {
font-family: 'Oswald', sans-serif;
color: #fff;
background-color: #000;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
#title {
font-size: 3em;
text-transform: uppercase;
}
.tooltip {
font-family: 'Helvetica', sans-serif;
font-size: 0.75em;
background-color: #fff;
color: #000;
padding: .2rem .4rem;
border-radius: 5px;
opacity: 0.9;
/* font-weight: bold; */
}
</style>
</head>
<body>
<div id='top'>
<div id='title'>global covid-19 cases by region</div>
</div>
<div id='root'></div>
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="js/covidDeath.js"></script>
</body>
</html>