-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathd3_demo.html
53 lines (43 loc) · 964 Bytes
/
d3_demo.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
<!DOCTYPE html>
<!-- saved from url=(0040)http://bl.ocks.org/mbostock/raw/1153292/ -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
.link {
fill: none;
stroke: #666;
stroke-width: 1.5px;
}
.link.licensing {
stroke: green;
}
.link.resolved {
stroke-dasharray: 0,2 1;
}
circle {
stroke: #333;
stroke-width: 1.5px;
}
text {
font: 10px sans-serif;
pointer-events: none;
text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff;
}
.link-text {
text-anchor: middle;
alignment-baseline: middle;
color: blue;
font: 8px sans-serif;
pointer-events: none;
}
</style>
<div id="option">
<input name="updateButton"
type="button"
value="Update"
onclick="updateData()" />
</div>
<div id="demo"></div>
<script src="d3_demo_data.js"></script>
<script src="./d3_demo_files/d3.v3.min.js"></script>
<script src="d3_demo.js"></script>
</body></html>