-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathd3_graph_static.html
More file actions
70 lines (56 loc) · 1.32 KB
/
d3_graph_static.html
File metadata and controls
70 lines (56 loc) · 1.32 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google" content="notranslate" />
<title>Project Participants - Graph</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/7.8.5/d3.min.js"></script>
<script src="d3_graph.js"></script>
<link rel="stylesheet" href="d3_graph.css">
<style>
body {
font-family: arial;
font-size: 14px;
overflow: hidden;
}
#viz {
position: relative;
width: 100%;
height: 100%;
}
</style>
<script type="text/javascript">
$(document).ready(function() {
var dataIn = [
{ email: 'aaaaa@org',
firstname: '',
name: '',
face: 'faces/default.png',
keywords: []
},
{ email: 'bbbbb@org',
firstname: '',
name: '',
face: 'faces/default.png',
keywords: []
},
{ email: 'ccccc@org',
firstname: '',
name: '',
face: 'faces/default.png',
keywords: [ 'cake', 'salad']
},
];
//var dataIn = window.usersFound;
buildGraph(dataIn, "#viz");
});
</script>
</head>
<body>
<!-- ================================================================================ -->
<div id="viz"></div>
<!-- ================================================================================ -->
</body>
</html>