-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
160 lines (139 loc) · 6.25 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="static/css/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.1/css/all.css">
<link rel="stylesheet" href="static/css/dc.min.css" type="text/css" />
<link rel="stylesheet" href="static/css/custom.css" type="text/css" />
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="static/js/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="static/js/bootstrap.min.js"></script>
<!-- d3.js first, then crossfilter.js, then dc.js, then queue.js, then graph.js -->
<script src="static/js/d3.min.js"></script>
<script src="static/js/crossfilter.min.js"></script>
<script src="static/js/dc.min.js"></script>
<script src="static/js/queue.min.js"></script>
<script src="static/js/graph.js"></script>
<link rel="shortcut icon" type="image/png" href="https://c1.dmstatic.com/861/apple-touch-icon-precomposed.png">
<title>Dublin Property Dashboard</title>
</head>
<body>
<nav class="navbar fixed-top navbar-expand-lg navbar-light">
<div class="container">
<h2>Property Market in <span>Dublin</span></h2>
<img src="https://c1.dmstatic.com/79a0386784cbc4e591ac1/frontend/images/[email protected]" height="41" width="129" alt="Daft.ie">
</div>
</nav>
<div id="data-count" class="fixed-top dc-data-count">
<div class="container">
<span class="filter-count"></span> properties selected out of <span class="total-count"></span> properties |
<a href="javascript:dc.filterAll(); dc.renderAll();">Reset All</a>
</div>
</div>
<section class="bgimage"></section>
<div class="container" id="main">
<h2>Select Your <span>Preferences</span></h2>
<div class="row" id="charts01">
<!--Areas-->
<div class="col-12 col-lg-7">
<h3>Areas</h3>
<div id="areas_of_properties"></div>
</div>
<!--BER-->
<div class="col-12 col-lg-5">
<h3>BER Value</h3>
<div id="ber_value"></div>
</div>
</div>
<!--PIE CHARTS-->
<div class="row" id="charts02">
<div class="col-6 col-lg-3">
<h3>Beds</h3>
<div id="number_of_beds" class="pie"></div>
</div>
<div class="col-6 col-lg-3">
<h3>Baths</h3>
<div id="number_of_baths" class="pie"></div>
</div>
<div class="col-6 col-lg-3">
<h3>Property Type</h3>
<div id="property_type" class="pie"></div>
</div>
<div class="col-6 col-lg-3">
<h3>Property Value</h3>
<div id="property_value" class="pie"></div>
</div>
</div>
</div>
<section class="bgimage2"></section>
<div class="container" id="main2">
<h2>Your Filtered<span>Results</span></h2>
<!--Auctioneer-->
<div class="row">
<div class="col-12 col-lg-8">
<h3>Auctioneer</h3>
<div id="auctioneer"></div>
</div>
<!--Average House Price-->
<div class="col-12 col-lg-4">
<div class="col-12">
<h3>Average House Price</h3>
<i id="average_property_price" class="fas fa-home"></i> <span class="number-box"></span>
</div>
<div class="col-12" id="price-per-m2">
<h3>Price per m2</h3>
<i id="price_per_m2" class="fas fa-dollar-sign"></i> <span class="number-box"></span>
</div>
</div>
</div>
<!--Bubble Chart-->
<div id="bubbleChart" class="row col-12">
<h3>What is the Average House Price for an Area?</h3>
<div id="bubble_chart"></div>
</div>
<!--Scatter Plot-->
<div id="scatterPlot" class="row col-12">
<h3>What is the Correlation between House Price and Floor Area?</h3>
<div id="surface_price"></div>
</div>
<!--Box Plot-->
<div id="boxPlot" class="row col-12">
<h3>What is the Price Spread for an Area?</h3>
<div id="box-plot-area-vs-price"></div>
</div>
<!--Table-->
<div id="table" class="row">
<h3>Filtered Results</h3>
<table id="results-table" class="col-12 table"></table>
<div class="col-12" id="paging">
<article>Showing <span id="begin"></span>-<span id="end"></span> of <span id="size"></span>.</article>
<button id="previous" type="button" class="btn btn-primary"><i class="fas fa-angle-left"></i> Previous</button>
<button id="next" type="button" class="btn btn-primary">Next <i class="fas fa-angle-right"></i></button>
</div>
</div>
</div>
<div class="modal2 fade show" id="screen-size-modal" tabindex="10" role="dialog">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="ModalCenterTitle">Dear User</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true" onclick="document.getElementById('screen-size-modal').style.display='none'" >×</span>
</button>
</div>
<div class="modal-body">
You are viewing this website on a tablet or mobile device. For best user expereience please visit the website on a desktop.
</div>
<div class="modal-footer">
<button type="button" onclick="document.getElementById('screen-size-modal').style.display='none'" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</body>
</html>