-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
161 lines (136 loc) · 5.79 KB
/
Copy pathindex.html
File metadata and controls
161 lines (136 loc) · 5.79 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.item {
width: 48%; /* Adjust the width of the items as needed */
margin-bottom: 20px;
}
svg {
font-family: sans-serif;
}
rect.overlay {
stroke: black;
}
rect.selection {
stroke: none;
fill: steelblue;
fill-opacity: 0.6;
}
#labelleft, #labelright {
dominant-baseline: hanging;
font-size: 12px;
}
#labelleft {
text-anchor: end;
}
#labelright {
text-anchor: start;
}
</style>
<title>Project 5: COVID Flights Cancellations</title>
<body>
<h1>COVID Flight Cancellations January to June 2020: A Breakdown</h1>
<h3>Visualizations created by Michael Rooney</h3>
<h4>COVID Flight Cancellations Multivariate/Network Data Exploration</h4>
<p>
COVID stopped our lives dead in their tracks. Outside of social distancing, it inhibited our ability to travel large distances because of the vast number of cancellations in flights. Curious about this, I searched for a dataset to visualize the profound
impact that COVID had on our ability to travel in early 2020.
</p>
<p>
The <a href=https://www.kaggle.com/datasets/akulbahl/covid19-airline-flight-delays-and-cancellations>Kaggle dataset</a> used to create these visualizations can be found here. If you want to see how I parsed the data and created these visuals,
please navigate to my <a href=https://observablehq.com/d/ca7b8e688370c3cc>observable notebook</a>. The airline abreviations and the cancellation codes for flights are shown below.
</p>
<h3>Airline Abreviations</h3>
<ul>
<li>AA: American Airlines</li>
<li>AS: Alaska Airlines</li>
<li>B6: JetBlue</li>
<li>DL: Delta Air Lines</li>
<li>F9: Frontier Airlines</li>
<li>G4: Allegiant Air</li>
<li>HA: Hawaiian Airlines</li>
<li>NK: Spirit Airlines</li>
<li>UA: United Airlines</li>
<li>WN: Southwest Airlines</li>
</ul>
<h3>Cancellation Codes</h3>
<ul>
<li>A: Carrier</li>
<li>B: Weather</li>
<li>C: National Aviation System</li>
<li>D: Security</li>
</ul>
<p><b>My hypothesis is that there will be a spike in flight disruptions due to COVID following the March 11th proclamation of COVID as a pandemic, and that these cancellations will predominantly affect big travel hubs near big cities.</b>
</p>
<h2>Flight Cancellations (January 1, 2020 - July 1, 2020)</h2>
<table>
<tr>
<td>
<div id="observablehq-viewof-start-8b9356f7"></div>
</td>
<td>
<div id="observablehq-viewof-end-8b9356f7"></div>
</td>
</tr>
<!-- row 1 -->
<tr>
<td colspan="2">
<div id="observablehq-viewof-mysnapslider3-8b9356f7"></div>
</td>
</tr>
<!-- row 2 -->
<tr>
<td colspan="2">
<div id="observablehq-viewof-routes-8b9356f7"></div>
</td>
</tr>
<tr>
<td colspan="2">
<div id="observablehq-swatches-8b9356f7"></div>
</td>
</tr>
<!-- row 3 -->
<tr>
<td>
<div id="observablehq-flights_d3-8b9356f7"></div>
</td>
<td>
<div id="observablehq-viewof-selector-8b9356f7"></div>
<div id="observablehq-line_chart-8b9356f7"></div>
</td>
</tr>
<!-- row 4 -->
<tr>
<td colspan="2">
<div id="observablehq-percent_table-8b9356f7"></div>
</td>
</tr>
</table>
<!-- <p>Credit: <a href="https://observablehq.com/d/ca7b8e688370c3cc@840">2020: COVID Airline Trends by Michael Rooney's Workspace</a></p> -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@observablehq/inspector@5/dist/inspector.css">
<script type="module">
import {Runtime, Inspector} from "https://cdn.jsdelivr.net/npm/@observablehq/runtime@5/dist/runtime.js";
import define from "https://api.observablehq.com/d/ca7b8e688370c3cc@840.js?v=4";
new Runtime().module(define, name => {
if (name === "viewof start") return new Inspector(document.querySelector("#observablehq-viewof-start-8b9356f7"));
if (name === "viewof end") return new Inspector(document.querySelector("#observablehq-viewof-end-8b9356f7"));
if (name === "viewof mysnapslider3") return new Inspector(document.querySelector("#observablehq-viewof-mysnapslider3-8b9356f7"));
if (name === "viewof routes") return new Inspector(document.querySelector("#observablehq-viewof-routes-8b9356f7"));
if (name === "swatches") return new Inspector(document.querySelector("#observablehq-swatches-8b9356f7"));
if (name === "flights_d3") return new Inspector(document.querySelector("#observablehq-flights_d3-8b9356f7"));
if (name === "viewof selector") return new Inspector(document.querySelector("#observablehq-viewof-selector-8b9356f7"));
if (name === "line_chart") return new Inspector(document.querySelector("#observablehq-line_chart-8b9356f7"));
if (name === "percent_table") return new Inspector(document.querySelector("#observablehq-percent_table-8b9356f7"));
// if (name === "airline_table") return new Inspector(document.querySelector("#observablehq-airline_table-8b9356f7"));
return ["time_relevant","filtered","radius_measurements","origin_dest_pairs","top10airports","lookup","links","set_top10airports","temp_plot_dot","id_lookup","top100links","airport_set","chooseToShow","graph_usa","top10_percentage_cancellations","getFieldByKey","arrow_data","createDictionary","set_top10percentage","max","min","selected_data","maxValue"].includes(name);
});
</script>
</body>
</html>