-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (77 loc) · 3.03 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Rochester Cluster Navigator</title>
<script type="text/javascript" src="d3/d3.min.js"></script>
<script type="text/javascript" src="fuse/src/fuse.min.js"></script>
<link type="text/css" rel="stylesheet" href="clustergraph.css">
</head>
<body>
<div id="left">
<h1>Rochester Cluster Navigator</h1>
<p>Explore the curriculum through the interconnection of courses and clusters.<br>
Click a course or cluster to make it the focus node of the graph.</p>
<p><label>Degrees: <span id="degrees_value"></span></label>
<input id="degrees_slider" type="range" min="0" step="1" max="8" value="1"></p>
<label>Legend:</label>
<svg id="legend">
<g class="node course" transform="translate(15, 15)">
<circle r="4.5"/>
<text class="nodetext" dx="10" dy=".35em">Course</text>
</g>
<g class="node cluster" transform="translate(15, 35)">
<circle r="7"/>
<text class="nodetext" dx="13" dy=".35em">Cluster</text>
</g>
<g class="node course collapsed" transform="translate(15, 55)">
<circle r="4.5"/>
<text class="nodetext" dx="10" dy=".35em">Collapsed course</text>
</g>
<g class="node cluster collapsed" transform="translate(15, 75)">
<circle r="7"/>
<text class="nodetext" dx="13" dy=".35em">Collapsed cluster</text>
</g>
<g class="node course focus" transform="translate(15, 95)">
<circle r="4.5"/>
<text class="nodetext" dx="10" dy=".35em">Focused course</text>
</g>
<g class="node cluster focus" transform="translate(15, 115)">
<circle r="7"/>
<text class="nodetext" dx="13" dy=".35em">Focused cluster</text>
</g>
</svg>
<p><a href="" id="about_link">About</a></p>
</div>
<div id="right">
<input type="search" id="search" incremental="true" placeholder="Search courses & clusters" results="0">
<ul id="search_results"></ul>
<h3 id="node_title"><a></a></h3>
<p id="node_type"></p>
<p id="node_info"></p>
</div>
<div id="chart"></div>
<div id="about">
<p>made by <a href="http://csug.rochester.edu/u/clehner/" title="Class of 2015">Charles Lehner</a>
<a href="http://rochack.org/">RocHack</a></p>
<p>graph visualization using
<a href="http://d3js.org/">D3.js</a></p>
<p>cluster data from
<a href="http://rochester.edu/College/CCAS/clusters/" title="Clusters on CCAS">CCAS</a></p>
<p>source code on
<a href="https://github.com/RocHack/clustergraph">GitHub</a></p>
<button id="close_about">OK</button>
</div>
<script type="text/javascript" src="clustergraph.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-35584323-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = 'https://ssl.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>