-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
124 lines (124 loc) · 5.67 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
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
<!doctype html>
<html>
<head>
<title>Bylaw Infractions</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="libs/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="libs/keen_io/keen-dashboards.css">
<link rel="stylesheet" href="libs/dc/dc.min.css">
<link rel="stylesheet" href="libs/leaflet/dist/leaflet.css">
<link rel="stylesheet" href="libs/dc_addons/dc-leaflet-legend.css">
<link rel="stylesheet" href="css/infractions.css">
<link rel="stylesheet" href="libs/bootstrap/bootstrap.min.js">
<link rel="stylesheet" href="libs/keen_io/keen.min.js">
</head>
<body class="application">
<!-- Navbar -->
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="https://github.com/Edmonton-Open-Data/Edmonton-Bylaw-Infractions-I/blob/master/README.md#bylaw-infractions-dashboard-i">Edmonton's Bylaw Infractions</a>
</div>
</div>
</div>
<!-- Makes Row Responsive -->
<div class="container-fluid">
<div class="row">
<!-- column 1 for row -->
<div class="col-sm-4">
<!-- row in column 1 -->
<div class="row">
<!-- Selection Options -->
<div class="col-sm-12">
<div class="chart-wrapper">
<div class="chart-title">Neighbourhood Selection</div>
<div class="chart-stage">
<div style="width: 400px; height: 220px">
<p id="records-count"></p>
<div id="select-container"></div>
</div>
</div>
</div>
</div>
<!-- The Heatmap -->
<div class="col-sm-12">
<div class="chart-wrapper">
<div class="chart-title">Yearly and Monthly Trend</div>
<div class="chart-stage">
<div style="width: 400px; height: 250px;">
<!-- heatmap -->
<div id="heat-plot" style="width: 400px; height: 220px"></div>
<!-- heatmap legend -->
<svg id="heat-legend" style="width: 400px; height: 35px">
</svg>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- column 2 for row -->
<div class="col-sm-4">
<!-- row in column 2 -->
<div class="row">
<!-- Pie Chart -->
<div class="col-sm-12">
<div class="chart-wrapper">
<div class="chart-title">Types of Complaint</div>
<div class="chart-stage">
<div id="pie-plot" style="width: 400px; height: 220px"></div>
</div>
</div>
</div>
<!-- BubbleCloud -->
<div class="col-sm-12">
<div class="chart-wrapper">
<div class="chart-title">Initiators and Status</div>
<div class="chart-stage">
<div id="bubble-plot" style="width: 400px; height: 250px"></div>
</div>
</div>
</div>
</div>
</div>
<!-- column 3 for row -->
<div class="col-sm-4">
<!-- row in column 3 -->
<div class="row">
<!-- Leaflet -->
<div class="col-sm-12">
<div class="chart-wrapper">
<div class="chart-title">Neighbourhoods Map</div>
<div class="chart-stage">
<div id="map-plot" style="width: 400px; height: 400px"></div>
</div>
</div>
</div>
<!-- Total Display -->
<div class="col-sm-12">
<div class="chart-wrapper">
<div class="chart-title">Number of Infractions</div>
<div class="chart-stage">
<div style="width: 400px; height: 70px;">
<div id="number-stat"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="libs/crossfilter/crossfilter.min.js"></script>
<script src="libs/d3/d3.min.js"></script>
<script src="libs/leaflet/dist/leaflet.js"></script>
<script src="libs/dc/dc.min.js"></script>
<script src="libs/dc_addons/base-map-chart.js"></script>
<script src="libs/dc_addons/base-leaflet-chart.js"></script>
<script src="libs/dc_addons/leaflet-marker-chart.js"></script>
<script src="libs/dc_addons/leaflet-choropleth-chart.js"></script>
<script src="libs/dc_addons/bubble-cloud.js"></script>
<script src="libs/dc_addons/leaflet-legend.js"></script>
<script src="js/infractions.js"></script>
</body>
</html>