-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtestingone.html
37 lines (26 loc) · 1.16 KB
/
testingone.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
<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/HouseDataQuarterly.csv", PropertyDataGraph);
});
</script>
</head>
<body>
<div id="PropertyDataGraph" class="clsA" style="width:1000px;height:500px;"></div>
<div class="clsA">
Choose a data type:
<select class="PropertySales_DataType" id="PropertySales_DataType" onchange="generateGraphFromCsv('/Graphs/data/HouseDataQuarterly.csv', PropertyDataGraph)">
<option value="1" selected="selected">Median House Price</option>
<option value="2">Number of House Sales</option>
<option value="3">Both</option>
</select>
</div>
<div class="clsA">
Datasource: <a href="http://ecoprofile.infometrics.co.nz/Wellington%20City/QuarterlyEconomicMonitor/HouseSales" target="_blank">Infometrics</a>
<a href="/Graphs/data/HouseSalesQuarterly.csv" target="_blank">(.csv)</a>
</div>
</body>