-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsplom.html
More file actions
78 lines (67 loc) · 1.32 KB
/
splom.html
File metadata and controls
78 lines (67 loc) · 1.32 KB
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 lang="en">
<head>
<meta charset="UTF-8">
<title>SPLOM</title>
<script src="http://d3js.org/d3.v3.js" charset="utf-8"></script>
<style type="text/css">
body {
font-family: sans-serif;
font-size: 11px;
}
.svg-container {
display: inline-block;
position: relative;
width: 100%;
height: 100%;
padding-bottom: 100%;
vertical-align: top;
overflow: hidden;
}
.svg-content-responsive {
display: inline-block;
position: absolute;
top: 0;
left: 0;
}
.axis path,
.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
circle {
fill: #f00;
stroke: #000;
}
.label {
text-anchor: middle;
font-size: 22px;
font-weight: bold;
cursor: pointer;
}
.grid .tick {
stroke: lightgrey;
opacity: 0.7;
}
.grid path {
stroke-width: 0;
}
div.tooltip {
position: absolute;
text-align: center;
width: 140px;
height: 14px;
padding: 2px;
font: 12px sans-serif;
background: lightsteelblue;
border: 0px;
border-radius: 8px;
pointer-events: none;
}
</style>
</head>
<body>
<script type="text/javascript" src="splom.js"></script>
</body>
</html>