-
Notifications
You must be signed in to change notification settings - Fork 1
/
domainPage.html
executable file
·82 lines (71 loc) · 2.15 KB
/
domainPage.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
77
78
79
80
81
82
<html>
<head>
<script src="https://d3js.org/d3.v3.min.js"></script>
<meta charset="utf-8"/>
<link rel="stylesheet" type="text/css" href="Colors.css"></link>
</head>
<body>
<script type="text/javascript" src="d3cloud.js"></script>
<script type="text/javascript" src="wc.js"></script>
<script>
var svg_dom = d3.select("body")
.append("svg")
.attr("width", 960)
.attr("height", 560);
svg_dom.append("svg:image")
.attr("xlink:href", "images/web1.png")
.attr("width", 100)
.attr("height", 100)
.attr("x", 50)
.attr("y",50);
svg_dom.append("text")
.attr("x", 100)
.attr("y", 200)
.text("Web Development")
.attr("font-size", "20px")
.attr("text-decoration", "underline")
.attr("text-anchor", "middle")
.attr("font-family", "Century Gothic")
.on("click", displayTags);
svg_dom.append("svg:image")
.attr("xlink:href", "images/db1.png")
.attr("width", 100)
.attr("height", 100)
.attr("x", 300)
.attr("y",50);
svg_dom.append("text")
.attr("x", 350)
.attr("y", 200)
.text("Database/Data Engineer")
.attr("font-size", "20px")
.attr("text-anchor", "middle")
.attr("font-family", "Century Gothic");
svg_dom.append("svg:image")
.attr("xlink:href", "images/gears1.png")
.attr("width", 100)
.attr("height", 100)
.attr("x", 50)
.attr("y",300);
svg_dom.append("text")
.attr("x", 100)
.attr("y", 450)
.text("Backend Developer")
.attr("font-size", "20px")
.attr("text-anchor", "middle")
.attr("font-family", "Century Gothic");
svg_dom.append("svg:image")
.attr("xlink:href", "images/java1.png")
.attr("width", 100)
.attr("height", 100)
.attr("x", 300)
.attr("y",300);
svg_dom.append("text")
.attr("x", 350)
.attr("y", 450)
.text("Java Developer")
.attr("font-size", "20px")
.attr("text-anchor", "middle")
.attr("font-family", "Century Gothic");
</script>
</body>
</html>