-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvisualization1.html
More file actions
72 lines (57 loc) · 3.88 KB
/
visualization1.html
File metadata and controls
72 lines (57 loc) · 3.88 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
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SVG tineline</title>
<!-- The following line references an external css file -->
<link href="css/visualization1.css" rel="stylesheet">
</head>
<body>
<h2>The Cost of Natural Disasters</h2>
<p>Vaishnavi Raghavaraju</p>
<svg height="1000" width="3000">
<text x="50" y="350" class="small">Jan</text>
<text x="203" y="350" class="small">Feb</text>
<text x="387" y="350" class="small">Mar</text>
<text x="591" y="350" class="small">Apr</text>
<text x="789" y="350" class="small">May</text>
<text x="992" y="350" class="small">Jun</text>
<text x="1190" y="350" class="small">Jul</text>
<text x="1393" y="350" class="small">Aug</text>
<text x="1597" y="350" class="small">Sept</text>
<text x="1795" y="350" class="small">Oct</text>
<text x="1998" y="350" class="small">Nov</text>
<text x="2251" y="350" class="small">Dec</text>
<text x="0" y="402" class="small">2017</text>
<text x="0" y="452" class="small">2016</text>
<line x1="50" y1="400" x2="2450" y2="400" style="stroke:#0f0f0f;stroke-width:2" />
<line x1="50" y1="450" x2="2450" y2="450" style="stroke:#0f0f0f;stroke-width:2" />
<!-- Have a scaling factor of 3 for the radius -->
<circle cx="1614" cy="400" r="375" stroke="black" stroke-width="3" fill="#081d58" opacity=".6" />
<circle cx="1095" cy="400" r="7.5" stroke="black" stroke-width="3" fill="#c7e9b4" opacity=".6" />
<circle cx="885" cy="400" r="6.6" stroke="black" stroke-width="3" fill="#c7e9b4" opacity=".6" />
<circle cx="177" cy="400" r="6.3" stroke="black" stroke-width="3" fill="#c7e9b4" opacity=".6" />
<circle cx="470" cy="400" r="6.3" stroke="black" stroke-width="3" fill="#c7e9b4" opacity=".6" />
<circle cx="437" cy="400" r="5.4" stroke="black" stroke-width="3" fill="#c7e9b4" opacity=".6" />
<circle cx="806" cy="400" r="5.1" stroke="black" stroke-width="3" fill="#41b6c4" opacity=".6" />
<circle cx="306" cy="400" r="4.5" stroke="black" stroke-width="3" fill="#41b6c4" opacity=".6" />
<circle cx="181" cy="400" r="3.3" stroke="black" stroke-width="3" fill="#c7e9b4" opacity=".6" />
<circle cx="1525" cy="450" r="30.9" stroke="black" stroke-width="3" fill="#41b6c4" opacity=".6" />
<circle cx="1899" cy="450" r="30.9" stroke="black" stroke-width="3" fill="#081d58" opacity=".6" />
<circle cx="50" cy="450" r="10.8" stroke="black" stroke-width="3" fill="#ffffd9" opacity=".6" />
<circle cx="705" cy="450" r="10.8" stroke="black" stroke-width="3" fill="#c7e9b4" opacity=".6" />
<circle cx="758" cy="450" r="8.4" stroke="black" stroke-width="3" fill="#41b6c4" opacity=".6" />
<circle cx="1053" cy="450" r="7.5" stroke="black" stroke-width="3" fill="#ffffd9" opacity=".6" />
<circle cx="817" cy="450" r="7.5" stroke="black" stroke-width="3" fill="#c7e9b4" opacity=".6" />
<circle cx="495" cy="450" r="7.2" stroke="black" stroke-width="3" fill="#41b6c4" opacity=".6" />
<circle cx="594" cy="450" r="6.3" stroke="black" stroke-width="3" fill="#c7e9b4" opacity=".6" />
<circle cx="895" cy="450" r="5.4" stroke="black" stroke-width="3" fill="#c7e9b4" opacity=".6" />
<circle cx="1427" cy="450" r="4.5" stroke="black" stroke-width="3" fill="#c7e9b4" opacity=".6" />
<circle cx="554" cy="450" r="3.6" stroke="black" stroke-width="3" fill="#c7e9b4" opacity=".6" />
<circle cx="981" cy="450" r="3.6" stroke="black" stroke-width="3" fill="#c7e9b4" opacity=".6" />
<circle cx="397" cy="450" r="3.3" stroke="black" stroke-width="3" fill="#c7e9b4" opacity=".6" />
</svg>
<!-- Load external JS files -->
<script src="js/main.js"></script>
</body>
</html>