-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscene3.html
More file actions
52 lines (52 loc) · 1.79 KB
/
Copy pathscene3.html
File metadata and controls
52 lines (52 loc) · 1.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
<!DOCTYPE html>
<html>
<head>
<title>Scene 3: Safety Records from 2000-2014</title>
<link rel="stylesheet" href="styles3.css" />
</head>
<body>
<h1>Scene 3: Safety Records from 2000-2014</h1>
<p>
In the module below, you can explore the incidents, fatal accidents, and
fatalities for Airlines between 2000-2014. <br />
I've also provided some notable airlines in the table below to highlight
some airlines with relatively high incidents, accidents, and fatalities.
</p>
<p>
In the next slide, we'll be comparing the fatalities, fatal accidents, and
incidents for the two different time periods.
</p>
<hr />
<!-- Dropdown menu for airlines -->
<select id="airlineSelect">
<option value="" selected disabled>Select an airline</option>
<!-- Add options for each airline in the dataset -->
<!-- For example: <option value="Aer Lingus">Aer Lingus</option> -->
</select>
<!-- Bar chart for Scene 3 will be added here -->
<div class="chart-container">
<svg id="chart"></svg>
</div>
<p>
The higher an airline's "Rank", the closer it is to having the highest
incident, fatality, or fatal accident number.
</p>
<!-- Highest Incidents, Fatal Accidents, and Fatalities table -->
<h2>Highest Incidents, Fatal Accidents, and Fatalities</h2>
<table id="highestData">
<tr>
<th>Airline</th>
<th>Incidents</th>
<th>Fatal Accidents</th>
<th>Fatalities</th>
</tr>
</table>
<br />
<button onclick="window.location.href = 'index.html';">
Go to Home Page
</button>
<button id="nextSceneButton">Next Scene</button>
<script src="https://d3js.org/d3.v7.min.js"></script>
<script src="scene3.js"></script>
</body>
</html>