-
Notifications
You must be signed in to change notification settings - Fork 29
/
index.html
55 lines (39 loc) · 1.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Test of reusable dotchart</title>
<script type="text/javascript" src="../../panelutil.js"></script>
<script charset="utf-8" type="text/javascript" src="../../../d3/d3.min.js"></script>
<link rel=stylesheet type="text/css" href="../../../d3-tip/d3-tip.min.css">
<script type="text/javascript" src="../../../d3-tip/d3-tip.min.js"></script>
<script type="text/javascript" src="../dotchart.js"></script>
<link rel=stylesheet type="text/css" href="../dotchart.css">
<link rel=stylesheet type="text/css" href="test_dotchart.css">
</head>
<body>
<h3>Test of reusable dotchart</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/dotchart">github</a>.</p>
<hr/>
<h4><a name="ex2">Example 2</a> (no jittering)</h4>
<div id="chart2"></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/dotchart">github</a>.</p>
<hr/>
<h4><a name="ex3">Example 3</a> (data in different format)</h4>
<div id="chart3"></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/dotchart">github</a>.</p>
<hr/>
<script type="text/javascript" src="test_dotchart.js"></script>
</body>
</html>