-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
121 lines (108 loc) · 3.87 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
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
<html lang="en">
<head>
<meta charset="utf-8">
<title>Interactive Coronavirus Map</title>
<style type="text/css">
/* No style rules here yet */
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
}
.node text {
pointer-events: none;
font-size: 12px;
}
.link {
fill: none;
stroke: #ccc;
stroke-opacity: .8;
}
.link:hover {
stroke-opacity: .5;
}
svg {
font-family: Sans-Serif, Arial;
}
.line {
stroke-width: 2;
fill: none;
}
.axis path {
stroke: black;
}
.text {
font-size: 12px;
color: #ccc;
}
.title-text {
font-size: 12px;
}
</style>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3-selection/1.2.0/d3-selection.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.min.js" type="text/javascript" />
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.js"></script>
</head>
<img src="data/virus.png" id = "loader" class="rotate" width="100" height="100" />
<body class='body'>
<div class='main_container'>
<div class='title_container'>
<h3 style="color:#ccc;">
Coronavirus Interactive Map
</h3>
</div>
<div class='data_container'>
<div class='map_container'>
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary active">
<input type="radio" name="options" id="cases" autocomplete="off" checked> Cases
</label>
<label class="btn btn-secondary">
<input type="radio" name="options" id="deaths" autocomplete="off"> Deaths
</label>
<label class="btn btn-secondary">
<input type="radio" name="options" id="recovered" autocomplete="off"> Recovered
</label>
<label class="btn btn-secondary">
<input type="radio" name="options" id="measures" autocomplete="off"> Measures
</label>
</div>
<div id="slider">
<label for="slider_id" style="display: inline-block; text-align: right; color : #ccc">
<span id="date-value"></span>
</label>
</div>
<div class='scaling-svg-container' id='map_container_svg'>
</div>
<style>
.point {
fill: rgb(255, 141, 82);
opacity: 0.05;
}
</style>
</div>
<div class='right_scroll_plot' id='right_scroll_plot'>
</div>
</div>
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src='lib/d3.min.js'></script>
<script src="https://d3js.org/d3-time.v1.min.js"></script>
<script src="https://d3js.org/d3-time-format.v2.min.js"></script>
<script src='lib/topojson.min.js'></script>
<script src='scripts/linePlot.js'></script>
<script src='scripts/barPlot.js'></script>
<script src='main.js'></script>
<script src='scripts/mapChoropleth.js'></script>
<script src='scripts/mapBubble.js'></script>
<script src='scripts/mapMeasures.js'></script>
<script src='scripts/sankey.js'></script>
<script src='scripts/age_sexe_sankey.js'></script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
</body>
</html>