-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (24 loc) · 1.05 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
<!DOCTYPE html>
<meta charset="utf-8">
<html>
<head>
<!-- load the d3.js library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="https://d3js.org/d3.v4.js"></script>
<link rel="stylesheet" type="text/css" href="styles.css" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
</head>
<body>
<h1> SensorData in the Tangle PoC</h1>
<!-- Add buttons -->
<button id='temperature' class="btn btn-success">Tempratuur</button>
<button id='humidity' class="btn btn-success">Luchtvochtigheid</button>
<button id='pressure' class="btn btn-success">Luchtdrukte</button>
<h3> </h3>
<h3 class="col-md-6" id='title'> Tempratuur </h3>
<!-- Create a div where the graph will take place -->
<div id="my_dataviz"></div>
</body>
<script src="chartd3js.js"></script>
</html>