-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
76 lines (76 loc) · 1.98 KB
/
index.html
File metadata and controls
76 lines (76 loc) · 1.98 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>D3 Sandbox</title>
<link rel="stylesheet" href="/assets/styles.css" />
</head>
<body>
<section>
<p></p>
<p></p>
<p></p>
<ul id="quotes"></ul>
</section>
<hr />
<section>
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg">
<rect
x="10"
y="20"
width="500"
height="300"
fill="#ffc107"
stroke="#2196f3"
stroke-width="8px"
></rect>
<rect
rx="25"
ry="25"
x="100"
y="120"
width="500"
height="300"
fill="blue"
stroke="orange"
stroke-width="8px"
></rect>
<polygon
points="200,200 400,200 400,500 200,500"
fill="red"
stroke="orange"
stroke-width="8px"
></polygon>
<circle cx="500" cy="200" r="50" fill="green"></circle>
<path
d="M400 100 L500 300 L300 300 L400 100"
stroke="purple"
stroke-width="5px"
></path>
</svg>
</section>
<hr />
<section>
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,0 800,0 800,450 0,450" fill="#3f9292"></polygon>
<polygon points="0,150 800,150 800,300 0,300" fill="#ffc107"></polygon>
<path d="M0 0 L350 225 L0 450 Z" stroke="black"></path>
</svg>
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg">
<g fill="blue">
<path d="M0 0 L350 225 L0 450 Z"></path>
</g>
</svg>
</section>
<hr />
<section>
<svg id="chart-area"></svg>
<input id="range" type="range" step="1" />
</section>
<section>
<svg id="chart-area-2"></svg>
</section>
<script type="module" src="/src/main.ts"></script>
</body>
</html>