-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
111 lines (108 loc) · 7.25 KB
/
index.html
File metadata and controls
111 lines (108 loc) · 7.25 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
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
<html>
<head>
<meta charset="UTF-8">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">
<link rel="stylesheet" href="https://www.amcharts.com/lib/3/plugins/export/export.css" type="text/css" media="all" />
<link rel="stylesheet" href="styles.css" type="text/css">
</head>
<body>
<div class="container-fluid">
<div class="row">
<div id="timeline-node-panel" class="col-sm-2">
<div class="fixed-timeline">
<div class="vl"></div>
<section id="timeline">
</section>
</div>
</div>
<div id="all-info-panel" class="col-sm-10">
<div id="map-panel" class="w-100 chartwrapper">
<div id="chartdiv"></div>
<div id="acpc-chart-div"></div>
</div>
<button id="toggle-button" type="button" class="btn btn-secondary">Toggle Info Panel</button>
<button id="map-switch-button" type="button" class="btn btn-secondary" style="">Switch to <b>Average charges Per Case (ACPC)</b></button>
<div id="overlay-panel" class="absolute h-100 w-100">
<div id="info-panel">
<div id="stat-card" class="card center-card w-75">
<div class="card-body bg-light">
<h1 class="card-title">Statistics: <span id="stat-year"></span></h1>
<div class="row">
<div class="col-sm-6">
<div class="db-attr bg-white p-3 d-flex justify-content-center align-items-center">
<div>
<h2 id="stat-num-cases">-</h2>
<p class="text-center m-0">Cases</p>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="db-attr bg-white p-3 d-flex justify-content-center align-items-center">
<div>
<h2 class="text-center m-0">
<i class="fas fa-male blue"></i> <span id="m-num">-</span><br>
<i class="fas fa-female purple"></i> <span id="fm-num">-</span>
</h2>
</div>
</div>
</div>
</div>
<div class="row mt-3">
<div class="col-sm-6">
<div class="bg-white p-3 d-flex justify-content-center align-items-center">
<div>
<h4>Highest number of cases</h4>
<div id="high-rank"></div>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="bg-white p-3 d-flex justify-content-center align-items-center">
<div>
<h4>Lowest number of cases</h4>
<div id="low-rank"></div>
</div>
</div>
</div>
</div>
<div class="row mt-3">
<div class="col-sm-6">
<div class="bg-white p-3 d-flex justify-content-center align-items-center">
<div>
<h4>Highest average charge / case</h4>
<div id="high-rank-acpc"></div>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="bg-white p-3 d-flex justify-content-center align-items-center">
<div>
<h4>Lowest average charge / case</h4>
<div id="low-rank-acpc"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="news-card" class="card center-card w-75 mt-3"></div>
</div>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.bundle.min.js" integrity="sha384-pjaaA8dDz/5BgdFUPX6M/9SUZv4d12SUPF0axWc+VRZkx5xU3daN+lYb49+Ax+Tl" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script src="https://www.amcharts.com/lib/3/ammap.js"></script>
<script src="https://www.amcharts.com/lib/3/maps/js/usaLow.js"></script>
<script src="https://www.amcharts.com/lib/3/plugins/export/export.min.js"></script>
<script src="https://www.amcharts.com/lib/3/themes/light.js"></script>
<script src="https://code.jquery.com/color/jquery.color-2.1.2.min.js" integrity="sha256-H28SdxWrZ387Ldn0qogCzFiUDDxfPiNIyJX7BECQkDE=" crossorigin="anonymous"></script>
<script src="giant_data_file.js"></script>
<script src="statesMap.js"></script>
<script src="news.js"></script>
<script type='text/javascript' src='script.js'></script>
</body>
</html>