-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
76 lines (67 loc) · 2.56 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
<!DOCTYPE html>
<html>
<head>
<title>Ballroom Results Explorer</title>
<script src="http://d3js.org/d3.v3.min.js"></script>
<style>
.axis path,
.axis line {
fill: none;
stroke: lightgrey;
z-index:1;
}
.path {
stroke-width:4;
z-index:0;
}
.dot{
stroke: none;
fill:white;
}
div.tooltip { /*from http://www.d3noob.org/2013/01/adding-tooltips-to-d3js-graph.html*/
position: absolute;
text-align: center;
padding: 2px;
font: 18px sans-serif;
background: lightgrey;
border: 0px;
border-radius: 8px;
pointer-events: none;
opacity: 0;
z-index:10;
}
text.note {
fill: black;
font-weight:bold;
text-anchor: beginning;
alignment-baseline: middle;
opacity:0;
}
div.special_panel {
background: lightgrey;
padding:4px;
}
</style>
</head>
<body>
<h1 id="comp_name">Ballroom Results Explorer</h1>
Not sure what's going on here? Check out the <a href="about.html">about page</a> or the <a href="https://github.com/rosswry/cs171-final-ry-ross/tree/gh-pages">github site</a>. Or, jump right in! The buttons below do things, and the bars are interactive (hoverable and clickable).<br/>
<div class="special_panel">
Change View: <button class="panes" xp="1" yp="1">1x1</button> <button class="panes" xp="2" yp="1">2x1</button> <button class="panes" xp="3" yp="1">3x1</button> <button class="panes" xp="2" yp="2">2x2</button> <button class="panes" xp="3" yp="2">3x2</button><br/>
<input type="checkbox" id="hl_first">Selected dancers at top <button id="clear_sel">Clear Selection</button>Stored Selections: <button id="hbdt">Harvard Team</button></div>
<br/>
<table><tr></tr></table>
<div id="key">
Left-to-right: last round reached / placement within round<br/>
Color Scale: score in each round (green/grey/red = above/at/below cutoff)<br/>
<br/>
</div>
<div id="about">
(c) 2014 Ross Rheingans-Yoo, [email protected]<br/>
source: <a href="http://www.o2cm.com/Results/">O2CM</a><br/>
HBDT roster used by permission<br/>
built on <a href="http://d3js.org/">d3</a>
</div>
<script src="comp_vis.js"></script>
</body>
</html>