-
Notifications
You must be signed in to change notification settings - Fork 2
/
testingthree.html
80 lines (66 loc) · 3.01 KB
/
testingthree.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
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script type="text/javascript" src="jquery.csv.min.js"> </script>
<script type="text/javascript" src="plotly-latest.min.js"> </script>
<script type="text/javascript" src="CombinedGraphs.js"> </script>
<script type="text/javascript">
$(document).ready(function(){
generateGraphFromCsv("/Graphs/data/RentDetailedQuarterly.csv", SuburbRentalGraph);
});
</script>
</head>
<body>
<div id="SuburbRentalGraph" class="clsC" style="width:1000px;height:500px;"></div>
<div class="clsC" style="display:none;">
Choose an area:
<select class="AreaDD_SuburbRentalGraph" id="AreaDD_SuburbRentalGraph" onchange="generateGraphFromCsv('/Graphs/data/RentDetailedQuarterly.csv', SuburbRentalGraph)">
<option value="1" selected="selected">TA Total</option>
<option value="2">Brooklyn</option>
<option value="3">Hataitai</option>
<option value="4">Island Bay/Melrose</option>
<option value="5">Johnsonville/Newlands</option>
<option value="6">Karori</option>
<option value="7">Karori South/Makara</option>
<option value="8">Kelburn/Aro Valley</option>
<option value="9">Khandallah</option>
<option value="10">Kilbirnie/Lyall Bay</option>
<option value="11">Kingston/Happy Valley</option>
<option value="12">Lambton</option>
<option value="13">Miramar/Strathmore</option>
<option value="14">Mt Cook</option>
<option value="15">Mt Victoria/Roseneath</option>
<option value="16">Ngaio/Kaiwharawhara/Wilton</option>
<option value="17">Northland</option>
<option value="18">Oriental Bay/Seatoun</option>
<option value="19">Tawa/Grenada North</option>
<option value="20">Te Aro</option>
<option value="21">Vogeltown/Berhampore/Newtown</option>
<option value="22">Wadestown/Thordon</option>
</select>
</div>
<div class="clsC" style="display:none;">
Choose a property type:
<select class="TypeDD_SuburbRentalGraph" id="TypeDD_SuburbRentalGraph" onchange="generateGraphFromCsv('/Graphs/data/RentDetailedQuarterly.csv', SuburbRentalGraph)">
<!-- <option value="1" selected="selected">Property Type Total</option> -->
<option value="1" selected="selected">House</option>
<option value="2">Apartment</option>
<option value="3">Flat</option>
<option value="4">Room</option>
</select>
</div>
<div class="clsC" style="display:none;">
Choose a property size:
<select class="BedroomsDD_SuburbRentalGraph" id="BedroomsDD_SuburbRentalGraph" onchange="generateGraphFromCsv('/Graphs/data/RentDetailedQuarterly.csv', SuburbRentalGraph)">
<option value="1" selected="selected">Bedrooms Total</option>
<option value="2">1</option>
<option value="3">2</option>
<option value="4">3</option>
<option value="5">4</option>
<option value="6">5+</option>
</select>
</div>
<div class="clsC" style="display:none;">
Datasource: <a href="http://www.mbie.govt.nz/info-services/housing-property/sector-information-and-statistics/rental-bond-data" target="_blank">Ministry of Business, Innovation and Employment</a>
<a href="/Graphs/data/RentDetailedQuarterly.csv" target="_blank">(.csv)</a>
</div>
</body>