generated from albertkun/leaflet_hex_timeslider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (85 loc) · 2.81 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
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
<!DOCTYPE html>
<html>
<head>
<title>Unhoused Deaths in Los Angeles 2020</title>
<!-- load css styles -->
<link rel="stylesheet" href="./static/leaflet.css" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.5.2/solar/bootstrap.min.css" />
<link href="./static/nouislider.css" rel="stylesheet">
<link href="./static/styles.css" rel="stylesheet">
<!-- load libraries -->
<script src="./static/d3.js" charset="utf-8"></script>
<script src="./static/d3-hexbin.js" charset="utf-8"></script>
<script src="./static/leaflet-src.js"></script>
<script src="./static/nouislider.js"></script>
<script src="./static/wNumb.min.js"></script>
<script src="./static/leaflet-d3.js" charset="utf-8"></script>
<!-- load data -->
<script src="./UNHOUSED_DEATHS_LA.js" charset="utf-8"></script>
<script src="./la_cd.js" charset="utf-8"></script>
<!-- this data is not used -->
<!-- <script src="../UNHOUSED_DEATHS_LA.js" charset="utf-8"></script> -->
</head>
<body>
<div id="header">
<div>
<!-- empty spacer div, can be used for home page icons -->
</div>
<div id="title">
<h1>
Houseless Deaths in Los Angeles County 2020 <h5>
</h5>
</h1>
</div>
<div>
<!-- empty spacer div, can be used for social media icons -->
</div>
</div>
<div class="wrapper">
<!-- The map element -->
<div id="map" style="border: 1px solid #ccc"></div>
<div id="map-slider"></div>
<div id="hovered">
<h2>
<h4>
<div>
<span id="event-start"></span> - <span id="event-end">Dec, 2020</span>
</div>
</h4>
<h3 id="total">Total Houseless Deaths</h3><h2 id="event-total"></h2>
<h2> <span class="count-label"></span>
<span class="count"></span>
<label> </label>
</h2>
<h3>
<div>
</div>
</h3>
</h2>
<li id=bg>
<ol>
Hover to see your council district member and if they voted for the CDC sweeps. <a href="https://tinyurl.com/notojoe" target="_blank">Say no to Joe</a>.
</ol>
<ol>
Get involved on social media with <a href="https://twitter.com/garcettiville" target="_blank">#4aDayNotOkay</a>
</ol>
<ol>
Learn more at <a href="https://www.garcettiville.com/" target="_blank">www.garcettiville.com</a>
</ol>
</li>
</div>
<!-- unused div for clicked on hex, will add more function later -->
<!-- <div id="clicked">
<h4>
<label>Clicked: </label>
<span class="count"></span>
</h4>
</div> -->
</div>
</div>
<div id="footer">Source: LA County Coroners Office</div>
</body>
<script src="./static/time_arrays.js" charset="utf-8"></script>
<script src="./static/init.js" charset="utf-8"></script>
<script src="./static/sliderImplmentation.js" charset="utf-8"></script>
</html>