/
index.html
73 lines (45 loc) · 1.91 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Test of reusable scatterplot</title>
<script type="text/javascript" src="../../panelutil.js"></script>
<script charset="utf-8" type="text/javascript" src="../../../d3/d3.min.js"></script>
<script type="text/javascript" src="../scatterplot.js"></script>
<link rel=stylesheet type="text/css" href="../scatterplot.css">
<link rel=stylesheet type="text/css" href="test_scatterplot.css">
</head>
<body>
<h3>Test of reusable scatterplot</h3>
<h4><a name="ex1">Example 1</a></h4>
<div id="chart1"></div>
<p class="legend">Hover over points to have them change
size; click to change color</p>
<p class="legend">Source code at <a
href="https://github.com/kbroman/qtlcharts/tree/master/inst/panels/scatterplot">github</a>.</p>
<hr/>
<h4><a name="ex2">Example 2, with panels and brushing</a></h4>
<div id="chart2"></div>
<p class="legend">Select a rectangle region in any panel by
clicking and dragging; points in the selected region are highlighted
in all three panels. The selected region can be resized and dragged
about.</p>
<p class="legend">Source code at <a
href="https://github.com/kbroman/qtlcharts/tree/master/inst/panels/scatterplot">github</a>.</p>
<hr/>
<h4><a name="ex3">Chart 3, different treatment of missing values</h4>
<div id="chart3"></div>
<p class="legend">Hover over points to have them
highlighted in all plots.</p>
<p class="legend">Source code at <a
href="https://github.com/kbroman/qtlcharts/tree/master/inst/panels/scatterplot">github</a>.</p>
<hr/>
<h4><a name="ex4">Example 4</a></h4>
<div id="chart4"></div>
<p class="legend">Hover over points to have them change
size; click to change color</p>
<p class="legend">Source code at <a
href="https://github.com/kbroman/qtlcharts/tree/master/inst/panels/scatterplot">github</a>.</p>
<script type="text/javascript" src="test_scatterplot.js"></script>
</body>
</html>