-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·45 lines (44 loc) · 1.38 KB
/
index.html
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
<!doctype html>
<html>
<head>
<meta charset='UTF-8' />
<title>NYC 2016 Complaint Hot Spots</title>
<style>
body {
margin: 0;
padding: 0;
overflow: hidden;
background-color: #000000;
color: #FFFFFF;
}
a {
color: #CCCCCC;
}
#headline {
position: fixed;
z-index: 1;
background-color: rgba(0, 0, 0, 0.8);
width: 100%;
padding-left: 25px;
border-width: 2px;
border-bottom-color: #222222;
border-bottom-style: solid;
}
#headline > div { width: 85%; }
</style>
</head>
<body>
<div id="headline">
<h1>Complaint Hotspots in NYC</h1>
<p>
<div>Each bar represents the total number of valid felony, misdemeanor, and violation crimes reported to the New York City Police Department NYPD in 2016 for each location.</div>
<div>Data: <a href="https://data.cityofnewyork.us/Public-Safety/NYPD-Complaint-Data-Historic/qgea-i56i">NYPD Complaint Data</a>. Code: <a href="https://github.com/ckanz/deckgl-nyc-complaints">ckanz/deckgl-nyc-complaints</a>. Made with <a href="https://github.com/uber/deck.gl">deck.gl</a>.</div>
</p>
</div>
<div id="app"></div>
</body>
<script type="text/javascript" src="app.js"></script>
<script>
App.renderToDOM(document.getElementById('app'))
</script>
</html>