-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
57 lines (56 loc) · 2.21 KB
/
Copy pathindex.html
File metadata and controls
57 lines (56 loc) · 2.21 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>CSE 494 - Spring 2022 - Police Shootings Data Viz</title>
<link rel="stylesheet" href="style/styles.css" />
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="resources/lodash.js"></script>
<script src="scripts/main.js"></script>
<script src="scripts/novel.js"></script>
<script src="scripts/pieChart.js"></script>
<script src="scripts/lineGraph.js"></script>
<script src="scripts/bubble.js"></script>
<script src="scripts/Map.js"></script>
<div id="header">
<h2>Police Shootings Data Viz</h2>
<p>Visualize various attributes of a dataset containing police shooting incidents in the United States. Select a state to analyze and interact with the dashboard to draw your own conclusions on the characteristics of the data.</p>
</div>
</head>
<body>
<div class="wrapper">
<svg id="Map">
<text id="mapDesc">
<tspan x="0" dy="1.2em">Shows police shootings by state.</tspan>
<tspan x="0" dy="1.2em">Click on a state to see more data!</tspan>
</text>
</svg>
<svg id="PieChart"></svg>
</div>
<div class="wrapper">
<svg id="Novel"></svg>
<div id="ScatterDiv">
<div id="lineSelectors" hidden>
<label for="genderSelect">Gender</label>
<select id = 'genderSelect' class="lineSel">
<option value="All" selected>All</option>
<option value="Male">Male</option>
<option value="Female">Female</option>
</select>
<label for="raceSelect">Race</label>
<select id = 'raceSelect' class="lineSel" multiple>
<option value="All" selected>All</option>
<option value="White">White</option>
<option value="Hispanic">Hispanic</option>
<option value="Asian">Asian</option>
<option value="African American">African American</option>
<option value="Native American">Native American</option>
<option value="Other">Other</option>
<option value="Unknown">Unknown</option>
</select>
</div>
<svg id="Scatter"></svg>
</div>
</div>
</body>
</html>