Skip to content

Commit

Permalink
Merge pull request #69 from lossyrob/rde/deploy/#67
Browse files Browse the repository at this point in the history
Deploy #67
  • Loading branch information
lossyrob authored Mar 25, 2020
2 parents 48f63cf + ebc69ca commit b006476
Show file tree
Hide file tree
Showing 7 changed files with 233 additions and 396 deletions.
39 changes: 31 additions & 8 deletions maps/us-healthcare-system-capacity/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -576,21 +576,44 @@ button.primary,
color: #666;
}

.legend {
font-size: 14px;
padding: 2px 4px;
.legend-container {
display: flex;
position: absolute;
bottom: 10px;
position: absolute;
left: 50%;
width: auto;
transform: translateX(-50%);
left: 0;
right: 0;
align-items: center;
justify-content: center;
}

#legend {
font-size: 14px;
padding: 2px 4px;
z-index: 5000;
background: white;
display: flex;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
}

.legend-color {
display: inline-block;
height: 14px;
width: 14px;
border: 1px solid rgba(0, 0, 0, 0.1);
flex-shrink: 0;
position: relative;
top: 2px;
margin-right: 4px;
}

.legend-numbers {
display: inline-block;
margin-right: 10px;
}

.legend-numbers:last-child {
margin-right: 0;
}

#colors {
width: 100px;
background-color: #fff;
Expand Down
140 changes: 42 additions & 98 deletions maps/us-healthcare-system-capacity/data/config/ccm_county_breaks.json
Original file line number Diff line number Diff line change
@@ -1,156 +1,100 @@
{
"Staffed All Beds": [
0.0,
2750.25,
5500.5,
8250.75,
11001.0,
13751.25,
16501.5,
19251.75,
25.0,
50.0,
209.0,
22002.0
],
"Staffed ICU Beds": [
0.0,
259.625,
519.25,
778.875,
1038.5,
1298.125,
1557.75,
1817.375,
0.0,
6.0,
18.0,
2077.0
],
"Licensed All Beds": [
2.0,
3011.5,
6021.0,
9030.5,
12040.0,
15049.5,
18059.0,
21068.5,
25.0,
74.0,
257.0,
24078.0
],
"All Bed Occupancy Rate": [
0.0,
0.125,
0.25,
0.375,
0.5,
0.625,
0.75,
0.875,
0.24,
0.39,
0.57,
1.0
],
"ICU Bed Occupancy Rate": [
0.0,
0.125,
0.25,
0.375,
0.5,
0.625,
0.75,
0.875,
0.34,
0.52,
0.66,
1.0
],
"Staffed All Beds [Per 1000 People]": [
0.0,
4.118125,
8.23625,
12.354375000000001,
16.4725,
20.590625,
24.708750000000002,
28.826875,
1.294,
2.0454999999999997,
3.19325,
32.945
],
"Staffed All Beds [Per 1000 Adults (20+)]": [
0.0,
5.255,
10.51,
15.765,
21.02,
26.275,
31.53,
36.785,
1.71175,
2.724,
4.2692499999999995,
42.04
],
"Staffed All Beds [Per 1000 Elderly (65+)]": [
0.0,
60.562,
121.124,
181.68599999999998,
242.248,
302.81,
363.37199999999996,
423.93399999999997,
6.9239999999999995,
11.165,
18.28075,
484.496
],
"Staffed ICU Beds [Per 1000 People]": [
0.0,
0.466,
0.932,
1.3980000000000001,
1.864,
2.33,
2.7960000000000003,
3.262,
0.0,
0.112,
0.22225,
3.728
],
"Staffed ICU Beds [Per 1000 Adults (20+)]": [
0.0,
0.599625,
1.19925,
1.7988749999999998,
2.3985,
2.998125,
3.5977499999999996,
4.197375,
0.0,
0.147,
0.29824999999999996,
4.797
],
"Staffed ICU Beds [Per 1000 Elderly (65+)]": [
0.0,
2.353,
4.706,
7.059000000000001,
9.412,
11.765,
14.118000000000002,
16.471,
0.0,
0.622,
1.26,
18.824
],
"Licensed All Beds [Per 1000 People]": [
0.092,
12.23375,
24.3755,
36.51725,
48.659,
60.80075,
72.9425,
85.08425,
1.535,
2.494,
3.9015,
97.226
],
"Licensed All Beds [Per 1000 Adults (20+)]": [
0.128,
15.164875,
30.20175,
45.238625,
60.2755,
75.312375,
90.34925,
105.386125,
2.04375,
3.3385,
5.21375,
120.423
],
"Licensed All Beds [Per 1000 Elderly (65+)]": [
0.493,
60.993375,
121.49374999999999,
181.994125,
242.4945,
302.994875,
363.49525,
423.99562499999996,
8.244,
13.606,
22.01075,
484.496
]
}
Original file line number Diff line number Diff line change
@@ -1,57 +1,37 @@
{
"Staffed All Beds": [
1.0,
345.0,
689.0,
1033.0,
1377.0,
1721.0,
2065.0,
2409.0,
25.0,
65.0,
166.0,
2753.0
],
"Licensed All Beds": [
1.0,
345.0,
689.0,
1033.0,
1377.0,
1721.0,
2065.0,
2409.0,
26.0,
77.0,
200.0,
2753.0
],
"Staffed ICU Beds": [
0.0,
27.625,
55.25,
82.875,
110.5,
138.125,
165.75,
193.375,
0.0,
6.0,
17.0,
221.0
],
"All Bed Occupancy Rate": [
0.0,
0.125,
0.25,
0.375,
0.5,
0.625,
0.75,
0.875,
0.3011868,
0.49841199999999997,
0.67528155,
1.0
],
"ICU Bed Occupancy Rate": [
0.0,
0.125,
0.25,
0.375,
0.5,
0.625,
0.75,
0.875,
0.0,
0.1409132420091324,
0.5743902439024391,
1.0
]
}
}
Loading

0 comments on commit b006476

Please sign in to comment.