-
Notifications
You must be signed in to change notification settings - Fork 3
/
whisker.html
34 lines (27 loc) · 1.27 KB
/
whisker.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link href="https://pro.fontawesome.com/releases/v5.2.0/css/all.css" rel="stylesheet">
<link href="index.css" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://d3js.org/d3.v4.js"></script>
</head>
<body>
<!-- Pattern fill for the multilayer circles -->
<svg height="0" width="0" xmlns="http://www.w3.org/2000/svg" version="1.1">
<defs>
<pattern id="diagonal-stripe-1" width="3" height="3" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
<rect width="1" height="3" transform="translate(0,0)" fill="var(--c4)"></rect>
<rect width="2" height="3" transform="translate(1,0)" fill="var(--c3)"></rect>
</pattern>
<pattern id="diagonal-stripe-2" width="3" height="3" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
<rect width="1" height="3" transform="translate(0,0)" fill="var(--c1)"></rect>
<rect width="2" height="3" transform="translate(1,0)" fill="var(--c2)"></rect>
</pattern>
</defs>
</svg>
<!-- Create a div where the graph will take place -->
<div id="whisker-viz" style="text-align:center;"></div>
<script src="scripts/whisker.js"></script>
</body>