-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (37 loc) · 813 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Network Visualization with D3.js</title>
<script src="https://d3js.org/d3.v7.min.js"></script>
<style>
.link {
stroke: #666;
stroke-width: 1.5px;
}
.highlighted-link {
stroke: #007BFF;
stroke-width: 3px;
}
.node rect {
fill: #008080;
cursor: pointer;
}
.node text {
fill: white;
font-size: 10px;
text-anchor: middle;
dominant-baseline: central;
}
.year-label {
font-size: 12px;
font-weight: bold;
}
</style>
</head>
<body>
<svg id="visualization" width="1000" height="600"></svg>
<script type="module" src="./main.js"></script>
</body>
</html>