-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
48 lines (43 loc) · 985 Bytes
/
test.html
File metadata and controls
48 lines (43 loc) · 985 Bytes
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
<!DOCTYPE html>
<html lang="en">
<style>
body {
width: 720px;
margin: 20px auto 20px auto;
}
#d3 {
outline: 1px red solid;
width: 287px;
overflow: hidden;
}
#d3 div {
width: 5px;
height: 5px;
background-color: white;
outline: 1px black solid;
float: left;
margin: 1px;
display: block;
}
.tile {
shape-rendering: crispEdges;
}
</style>
<head>
<meta charset="utf-8">
<title>hdp</title>
<script src="d3.v3.min.js" charset="utf-8"></script>
<script src="http://d3js.org/colorbrewer.v1.min.js"></script>
</head>
<body>
<div id="sample_target"></div>
<script src="source/index.js" charset="utf-8"></script>
<script type="text/javascript">
var hdp = new HDP({
cb: function sampleCallback () { console.log("All hdp data is " +
"loaded and images painted");},
target: "#sample_target"
});
</script>
</body>
</html>