-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
142 lines (134 loc) · 6.5 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- Dashboard Dependecies -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/keen/dashboards@gh-pages/assets/css/keen-dashboards.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.3.1/leaflet.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/dc/2.1.9/dc.min.css">
<style>
html, body {
height: 100%;
width: 100%;
}
/* width for map and charts */
#map-plot,
.svg-container {
width: 100%;
}
#map-plot {
padding-bottom: 43.75%;
}
/* to make map nice for 1920px width Screens and up */
@media (min-width: 1920px) {
#map-plot {
padding-bottom: 43.2%;
}
}
</style>
<title>Document</title>
</head>
<body class="keen-dashboard" style="padding-top: 0.5em;">
<div class="container-fluid">
<div class="row">
<!-- column 1 for row -->
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="row">
<!-- Bar Chart -->
<div class="col-lg-12 col-md-12">
<div class="chart-wrapper">
<div class="chart-stage">
<!-- <img data-src="holder.js/100%x41%/white"> -->
<div id="bar-chart" class="svg-container">
<div class="chart-title">
<span class="reset" style="display: none">
Month(s): <span class="filter"></span>
</span>
<span>
<a class="reset" style="display:none" href="javascript:barChart.filterAll(); dc.redrawAll();">
Reset |
</a>
</span>
<span>
<a class="reset" style="display:none" href="javascript:dc.filterAll(); dc.redrawAll();">
<strong>Reset All</strong>
</a>
</span>
</div>
</div>
</div>
<div class="chart-notes">
Monthly Trend
</div>
</div>
</div>
<!-- Line Chart -->
<div class="col-lg-12 col-md-12">
<div class="chart-wrapper">
<div class="chart-stage">
<!-- <img data-src="holder.js/100%x41%/white"> -->
<div id="line-chart" class="svg-container">
<div class="chart-title"></div>
</div>
</div>
<div class="chart-notes">
Yearly Trend
</div>
</div>
</div>
</div>
</div>
<!-- column 2 for row -->
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="row">
<!-- Pie Chart -->
<div class="col-lg-12 col-md-12">
<div class="chart-wrapper">
<div class="chart-stage">
<!-- <img data-src="holder.js/100%x41%/white"> -->
<div id="pie-chart" class="svg-container">
<div class="chart-title">
<span class="reset" style="display: none">
Year(s): <span class="filter"></span>
</span>
<span>
<a class="reset" style="display:none" href="javascript:pieChart.filterAll(); dc.redrawAll();">
Reset
</a>
</span>
</div>
</div>
</div>
<div class="chart-notes">
Yearly Percentage and Total(s)
</div>
</div>
</div>
<!-- Map -->
<div class="col-lg-12 col-md-12">
<div class="chart-wrapper">
<div class="chart-stage">
<!-- <img data-src="holder.js/100%x41%/white"> -->
<div id="map-plot"></div>
<div class="chart-notes">
Location of Eco Stations
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/holder/2.3.2/holder.min.js" type="text/javascript"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.3.1/leaflet.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crossfilter/1.3.12/crossfilter.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dc/2.1.9/dc.min.js"></script>
<script src="ecostation.js"></script>
</body>
</html>