-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
60 lines (48 loc) · 3.1 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<title>Bundleview</title>
<link rel="stylesheet" type="text/css" href="dbuggr.css"/>
<link rel="stylesheet" type="text/css" href="lib/clusterview.css"/>
<link rel="stylesheet" type="text/css" href="vendor/d3-tip.css"/>
<!-- external libraries -->
<script src="vendor/d3.v3.5.13.js"></script>
<script src="vendor/jquery.js"></script>
<script src="vendor/bluebird.js"></script>
<script src="src/external/system.src.js"></script>
<script src="vendor/d3-tip.js"></script>
</head>
<body>
<h1>Bundleview Visualization Examples</h1>
<p>The following examples show the capabilities of our bundleview implementation:</P>
<p>Hovering over a node highlights it. All ancestors and descendants are highlighted as well. In addition, the visualisations shows all nodes related to a leaf of the highlighted node. Source are green, targets are red. Unrelated nodes and relations are faded out to emphasize the selection.</p>
<p>Right clicking a node permanently highlights it, allowing to examine related nodes closely. Another right click on the same node removes the permanent highlight.</p>
<p>Left click a node to focus it. Click the outermost ring to go one step up in the hierarchy.</p>
<p>Use the selection items under the bundleview to manipulate its appearance:</p>
<ul>
<li><p>The <b>Size Metric</b> manipulates the radial width of each leaf node. The default selection renders all leafs at the same size.<p/></li>
<li><p>The default <b>Color Metric</b> renders all leafs using the same color. Changing this selection to a metric with a continuous scale renders the leaf nodes in different shades of the same color, with brighter colors representing higher values. In this case parent nodes are colored by the weighted average of their children. The size metric determines the relative weight of each node, with bigger nodes being more influential. If the chosen metric has an ordinal scale (meaning categorical values) instead, only leaf nodes are rendered by assigning a color for each value. Note, that multiple categories might have the same color value, if the numer of categories exceeds a certain limit.<p/></li>
</ul>
<h2>Hello Bundleview</h2>
<p>The following bundleview displays a randomly generated data set. While not delivering much insights, it suites its role as a variable performance benchmark.</p>
<br />
<div id="bundleview-root"></div>
<h2>Flare</h2>
<p>The data of the <a href="http://flare.prefuse.org/">flare visualization library</a> is one of d3's most canonical benchmarks. As such, we obviously want to display it, too.</p>
<p>Relations display imports: The class of interest imports all connected red nodes and is imported by all connected green nodes.</p>
<br />
<div id="bundleview-root2"></div>
<script>
System.config({
transpiler: 'babel',
babelOptions: {stage: 0, optional: ['es7.doExpressions']},
map: {
babel: 'src/external/babel-browser.js'
}
});
System.import('index.js');
</script>
</body>
</html>