-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
418 lines (391 loc) · 27.5 KB
/
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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
<!--
* @Author: your name
* @Date: 2021-01-19 14:41:37
* @LastEditTime: 2022-06-10 00:17:08
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \Vast\index.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>vast</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<script src="lib/echarts.min.js"></script>
<script src="lib/js/jquery.min.js"></script>
<link rel="stylesheet" href="lib/js/jquery-ui.css" />
<!-- 新 Bootstrap 核心 CSS 文件 -->
<link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.com/libraries/bootstrap-slider"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="lib/js/jquery.min.js"></script>
<script src="lib/js/jquery-ui.js"></script>
<script src="lib/d3.v4.min.js"></script>
<script src="lib/d3.v5.min.js"></script>
<script src="https://d3js.org/d3-path.v2.min.js"></script>
<script src="https://d3js.org/d3-chord.v2.min.js"></script>
<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
<script src="lib/jquery.min.js"></script>
<script src="lib/jquery.js"></script>
<script src="lib/jquery.SuperSlide.2.1.1.js"></script>
<script src="lib/node_modules/highcharts/highcharts.js"></script>
<script src="lib/node_modules/highcharts/highcharts-more.js"></script>
<script src="lib/node_modules/highcharts/modules/sunburst.js"></script>
<script src="lib/node_modules/highcharts/modules/exporting.js"></script>
<script src="lib/node_modules/highcharts/modules/export-data.js"></script>
<script src="lib/node_modules/highcharts/modules/accessibility.js"></script>
<script src="lib/node_modules/heatmap.js/build/heatmap.min.js"></script>
<!-- <link rel="stylesheet" href="lib/node_modules/bootstrap-slider/dist/css/bootstrap-slider.min.css"> -->
<!-- <link href="http://libs.baidu.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet"> -->
<link href="lib/bootstrap-slider.min.css" rel="stylesheet">
<!-- <script src="lib/node_modules/bootstrap-slider/dist/bootstrap-slider.min.js"></script> -->
<link rel="stylesheet" href="lib/jquery-ui.css">
<script src="lib/jquery-ui.js"></script>
<!-- <script type='text/javascript' src="http://libs.baidu.com/modernizr/2.8.2/modernizr.min.js"></script> -->
<script type='text/javascript' src="lib/js/jquery-1.10.2.js"></script>
<script type='text/javascript' src="lib/bootstrap-slider.min.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> -->
<!-- 引入样式 -->
<!-- <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"> -->
<!-- 引入组件库 -->
<!-- <script src="https://unpkg.com/element-ui/lib/index.js"></script> -->
<link href="index.css" rel="stylesheet" type="text/css" />
<script>
function changeV(id, value) {
const t = bts.slider("getValue");
console.log(bts.slider("getValue"));
d3.selectAll('.axis_circle').attr('fill-opacity', d => {
// console.log(d)
if (parseInt(d.lun) >= parseInt(t[0]) && parseInt(d.lun) <= (t[1]))
return 1;
else
return 0;
})
// $(document).ready(function () {
// $("#r1").val("Sequence Frequency: >" + d.value);
// })
}
function changeValue(id, value) {
// console.log(id);
if (id == 'eps')
document.getElementById(id).innerHTML = "eps:" + value;
if (id == 'r')
document.getElementById(id).innerHTML = "min:" + value;
}
</script>
</head>
<body>
<!-- <button>向页面发送 HTTP GET 请求,然后获得返回的结果</button> -->
<div id="navBar">EBPVis: Visual Analytics of Economic Behavior Patterns in a Virtual Experimental Environment</div>
<div id="left" class="framework">
<!-- <div class="frameworkTitle">Control View</div> -->
<div
style="position: absolute; border-radius: 5px; background-color: #4C87EC; margin-top: 7px; margin-left: 10px; height: 35px;">
<p id="titleWord">Control
Panel</p>
</div>
<!-- rgb(0, 92, 200) -->
<div id="control" class="frameworkBody">
<div style="position: absolute; top: 15px; right: 60px; font-weight: bold; font-family: STHeiti;">
Rounds:
<input id="ex2" type="text" class="span2" value="" style="width: 180px; background-color: rgb(0, 117, 255);" data-slider-min="1"
data-slider-max="20" data-slider-step="1" data-slider-value="[1,20]" tooltip="always"
onchange="changeV()" />
<!-- <input id="ex12c" type="text" /><br />
<input type="range" max="20" min="1" step="1" defaultValue="[5,10]" name="" id=""> -->
</div>
<div style="position: absolute; top: 10px; right: 10px;">
<button type="button" class="run2" id="btnRun">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
class="bi bi-caret-right" viewBox="0 0 16 16">
<path
d="M6 12.796V3.204L11.481 8 6 12.796zm.659.753l5.48-4.796a1 1 0 0 0 0-1.506L6.66 2.451C6.011 1.885 5 2.345 5 3.204v9.592a1 1 0 0 0 1.659.753z" />
</svg>
</button>
</div>
<div style="position: absolute; margin-top: 20px;">
<input type="checkbox" id="cb1" class="checkbox_class" style="margin-left: 10px; margin-top: 40px;">
<input type="checkbox" id="cb" class="checkbox_class" style="margin-left: 67px; margin-top: 40px;">
<input type="checkbox" id="cb" class="checkbox_class" style="margin-left: 124px; margin-top: 40px;">
<input type="checkbox" id="cb" class="checkbox_class" style="margin-left: 181px; margin-top: 40px;">
<input type="checkbox" id="cb" class="checkbox_class" style="margin-left: 238px; margin-top: 40px;">
<input type="checkbox" id="cb" class="checkbox_class" style="margin-left: 295px; margin-top: 40px;">
<input type="checkbox" id="cb" class="checkbox_class" style="margin-left: 352px; margin-top: 40px;">
<input type="checkbox" class="checkbox_class" style="margin-left: 409px; margin-top: 40px;">
<input type="checkbox" class="checkbox_class" style="margin-left: 466px; margin-top: 40px;">
<input type="checkbox" class="checkbox_class" style="margin-left: 523px; margin-top: 40px;">
<input type="checkbox" class="checkbox_class" style="margin-left: 580px; margin-top: 40px;">
<input type="checkbox" class="checkbox_class" style="margin-left: 637px; margin-top: 40px;">
<input type="checkbox" class="checkbox_class" style="margin-left: 694px; margin-top: 40px;" id="allS"
onclick="selectAllProcess()">
</div>
<!-- <input type="checkbox" class="checkbox_class" style="margin-left: 460px; margin-top: 60px;"> -->
<div
style="position: absolute; top: 85%; margin-left: 10px; font-size: 15px; font-weight: bold; font-family: STHeiti; width: calc(100% - 20px);">
<button type="button" class="run2" id="dbscan" style="width: 80px; position: absolute; top: -5px;">
DBSCAN
</button>
<div style="position: absolute; top: 0px; margin-left: 22%;" id="eps">eps: 5</div>
<div style="position: absolute; top: 3px; margin-left: calc(29%); width: 19%;">
<input type="range" id="epsValue" min="1" max="10" value="5"
oninput="changeValue('eps', this.value)" onchange="changeValue('eps', this.value)" step="1">
</div>
<div style="display: inline; position: absolute; top: 0px; left: calc(49%);" id="r">min: 10</div>
<div style="position: absolute; top: 3px; margin-left: calc(57%); width: 20%;">
<input type="range" id="rValue" min="1" max="20" value="10" oninput="changeValue('r', this.value)"
onchange="changeValue('r', this.value)" step="1">
</div>
<!-- <div style="position: absolute; top: -5px; right: 0px;"> -->
<button type="button" class="run2" id="switch"
style="width: 60px; position: absolute; top: -5px; margin-left: calc(15% - 30px);"
onclick="switchBtn()">
<!-- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
class="bi bi-caret-right" viewBox="0 0 16 16">
<path
d="M6 12.796V3.204L11.481 8 6 12.796zm.659.753l5.48-4.796a1 1 0 0 0 0-1.506L6.66 2.451C6.011 1.885 5 2.345 5 3.204v9.592a1 1 0 0 0 1.659.753z" />
</svg> -->
switch
</button>
<button type="button" class="run2" id="customize"
style="width: 90px; position: absolute; top: -5px; right: 0px;"
onclick="DrawAxis(s_data, type_of_axis)">
<!-- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
class="bi bi-caret-right" viewBox="0 0 16 16">
<path
d="M6 12.796V3.204L11.481 8 6 12.796zm.659.753l5.48-4.796a1 1 0 0 0 0-1.506L6.66 2.451C6.011 1.885 5 2.345 5 3.204v9.592a1 1 0 0 0 1.659.753z" />
</svg> -->
customize
</button>
<!-- </div> -->
</div>
</div>
</div>
<div id="leftBottom" class="framework">
<!-- <div class="frameworkTitle">Scatter View</div> -->
<div
style="position: absolute; border-radius: 5px; background-color: #4C87EC; margin-top: 7px; margin-left: 10px; height: 35px;">
<p id="titleWord">
Decision View</p>
</div>
<div style="position: absolute; top:10px; right: 10px;">
<button type="button" class="run2" id="btnStart" onclick="DrawScatter(1, s_data)">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-cart"
viewBox="0 0 16 16">
<path
d="M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 13 12H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5zM3.102 4l1.313 7h8.17l1.313-7H3.102zM5 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-7 1a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm7 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" />
</svg>
</button>
<button type="button" class="run2" id="btnProfit" onclick="DrawScatter(2, s_data)">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
class="bi bi-cart-fill" viewBox="0 0 16 16">
<path
d="M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 13 12H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5zM5 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-7 1a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm7 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" />
</svg>
</button>
<button type="button" class="run2" id="btn1" onclick="BeLarge()">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-zoom-in"
viewBox="0 0 16 16">
<path fill-rule="evenodd"
d="M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z" />
<path
d="M10.344 11.742c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1 6.538 6.538 0 0 1-1.398 1.4z" />
<path fill-rule="evenodd"
d="M6.5 3a.5.5 0 0 1 .5.5V6h2.5a.5.5 0 0 1 0 1H7v2.5a.5.5 0 0 1-1 0V7H3.5a.5.5 0 0 1 0-1H6V3.5a.5.5 0 0 1 .5-.5z" />
</svg>
</button>
<button type="button" class="run2" id="btn2" onclick="BeLow()">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
class="bi bi-zoom-out" viewBox="0 0 16 16">
<path fill-rule="evenodd"
d="M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z" />
<path
d="M10.344 11.742c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1 6.538 6.538 0 0 1-1.398 1.4z" />
<path fill-rule="evenodd" d="M3 6.5a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5z" />
</svg>
</button>
<button type="button" class="run2" id="btn3" onclick="PatternBrush(s_data)">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
class="bi bi-bounding-box-circles" viewBox="0 0 16 16">
<path
d="M2 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM0 2a2 2 0 0 1 3.937-.5h8.126A2 2 0 1 1 14.5 3.937v8.126a2 2 0 1 1-2.437 2.437H3.937A2 2 0 1 1 1.5 12.063V3.937A2 2 0 0 1 0 2zm2.5 1.937v8.126c.703.18 1.256.734 1.437 1.437h8.126a2.004 2.004 0 0 1 1.437-1.437V3.937A2.004 2.004 0 0 1 12.063 2.5H3.937A2.004 2.004 0 0 1 2.5 3.937zM14 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM2 13a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm12 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" />
</svg>
</button>
<button type="button" class="run2" id="btn4" onclick="RemoveBrush()">
<!-- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-x"
viewBox="0 0 16 16">
<path
d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z" />
</svg> --><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
class="bi bi-hand-index" viewBox="0 0 16 16">
<path
d="M6.75 1a.75.75 0 0 1 .75.75V8a.5.5 0 0 0 1 0V5.467l.086-.004c.317-.012.637-.008.816.027.134.027.294.096.448.182.077.042.15.147.15.314V8a.5.5 0 1 0 1 0V6.435a4.9 4.9 0 0 1 .106-.01c.316-.024.584-.01.708.04.118.046.3.207.486.43.081.096.15.19.2.259V8.5a.5.5 0 0 0 1 0v-1h.342a1 1 0 0 1 .995 1.1l-.271 2.715a2.5 2.5 0 0 1-.317.991l-1.395 2.442a.5.5 0 0 1-.434.252H6.035a.5.5 0 0 1-.416-.223l-1.433-2.15a1.5 1.5 0 0 1-.243-.666l-.345-3.105a.5.5 0 0 1 .399-.546L5 8.11V9a.5.5 0 0 0 1 0V1.75A.75.75 0 0 1 6.75 1zM8.5 4.466V1.75a1.75 1.75 0 1 0-3.5 0v5.34l-1.2.24a1.5 1.5 0 0 0-1.196 1.636l.345 3.106a2.5 2.5 0 0 0 .405 1.11l1.433 2.15A1.5 1.5 0 0 0 6.035 16h6.385a1.5 1.5 0 0 0 1.302-.756l1.395-2.441a3.5 3.5 0 0 0 .444-1.389l.271-2.715a2 2 0 0 0-1.99-2.199h-.581a5.114 5.114 0 0 0-.195-.248c-.191-.229-.51-.568-.88-.716-.364-.146-.846-.132-1.158-.108l-.132.012a1.26 1.26 0 0 0-.56-.642 2.632 2.632 0 0 0-.738-.288c-.31-.062-.739-.058-1.05-.046l-.048.002zm2.094 2.025z" />
</svg>
</button>
<button type="button" class="run2" id="btn5" onclick="clearAll()">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
class="bi bi-arrow-repeat" viewBox="0 0 16 16">
<path
d="M11.534 7h3.932a.25.25 0 0 1 .192.41l-1.966 2.36a.25.25 0 0 1-.384 0l-1.966-2.36a.25.25 0 0 1 .192-.41zm-11 2h3.932a.25.25 0 0 0 .192-.41L2.692 6.23a.25.25 0 0 0-.384 0L.342 8.59A.25.25 0 0 0 .534 9z" />
<path fill-rule="evenodd"
d="M8 3c-1.552 0-2.94.707-3.857 1.818a.5.5 0 1 1-.771-.636A6.002 6.002 0 0 1 13.917 7H12.9A5.002 5.002 0 0 0 8 3zM3.1 9a5.002 5.002 0 0 0 8.757 2.182.5.5 0 1 1 .771.636A6.002 6.002 0 0 1 2.083 9H3.1z" />
</svg>
</button>
</div>
<div id="patternScatter" class="frameworkBody"
style="height: 88%; width: 95%; position: absolute; margin-left: 2.5%; margin-top: 8%;">
<!-- <div class="word" style="color: white; background-color: rgb(128, 128, 128); border: 5px solid gray; border-radius: 5px;" id="ds">Decision Space</div> -->
<!-- <div class="word" style="color: white; background-color: rgb(128, 128, 128); border: 5px solid gray; border-radius: 5px;" id="ws">Wealth Space</div> -->
</div>
</div>
<div id="leftDown" class="framework">
<!-- <div class="frameworkTitle">Pattern View</div> -->
<div
style="position: absolute; border-radius: 5px; background-color: #4C87EC; margin-top:7px; margin-left: 10px; height: 35px;">
<p id="titleWord">Outcome View</p>
</div>
<div class="se">
X:
<select name="select1" id="se1" class="select" onclick="DrawAxis(s_data, type_of_axis)" style="width: 120px;">
<option value="1" selected>Initial</option>
<option value="2">Work</option>
<option value="3">Health Investment</option>
<option value="4">Repayment</option>
<option value="5">Loan</option>
<option value="6">Investment</option>
<option value="7">Venture</option>
<option value="8">Insurance</option>
<option value="9">Lottery</option>
<option value="10">Disaster</option>
<option value="11">Illness</option>
<option value="12">Risk Preference</option>
<option value="13">Patience</option>
<option value="14">Net yield</option>
<option value="15">Total</option>
</select>
Y:
<select name="select2" id="se2" class="select" onclick="DrawAxis(s_data, type_of_axis)" style="width: 120px;">
<option value="1">Initial</option>
<option value="2">Work</option>
<option value="3">Health Investment</option>
<option value="4">Repayment</option>
<option value="5">Loan</option>
<option value="6">Investment</option>
<option value="7">Venture</option>
<option value="8">Insurance</option>
<option value="9">Lottery</option>
<option value="10">Disaster</option>
<option value="11">Illness</option>
<option value="12">Risk Preference</option>
<option value="13">Patience</option>
<option value="14" selected>Net yield</option>
<option value="15">Total</option>
</select>
k:
<select name="select3" id="se3" class="select" onclick="DrawAxis(s_data, type_of_axis)">
<option value="1">1</option>
<option value="10">10</option>
<option value="20" selected>20</option>
<option value="30">30</option>
<option value="40">40</option>
<option value="50">50</option>
<option value="60">60</option>
<option value="70">70</option>
<option value="80">80</option>
<option value="90">90</option>
<option value="100">100</option>
</select>
</div>
<div id="wealthLegend" style="height: 5%;width: 95%; position: absolute; margin-left: 2.5%; margin-top: 7%;">
</div>
<div id="wealthSpace" class="frameworkBody"
style="height: 86%; width: 95%; position: absolute; margin-left: 2.5%; margin-top: 12%;">
</div>
</div>
<div id="mainView" class="framework">
<!-- <div class="frameworkTitle">Pattern View</div> -->
<div
style="position: absolute; border-radius: 5px; background-color: #4C87EC; margin-top:7px; margin-left: 10px; height: 35px;">
<p id="titleWord">Comparison View</p>
</div>
<div style="position: absolute; top: 10px; right: 10px;">
<button type="button" class="run2" id="privatePattern" onclick="drawPrivatePattern()">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-geo-alt"
viewBox="0 0 16 16">
<path
d="M12.166 8.94c-.524 1.062-1.234 2.12-1.96 3.07A31.493 31.493 0 0 1 8 14.58a31.481 31.481 0 0 1-2.206-2.57c-.726-.95-1.436-2.008-1.96-3.07C3.304 7.867 3 6.862 3 6a5 5 0 0 1 10 0c0 .862-.305 1.867-.834 2.94zM8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10z" />
<path d="M8 8a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z" />
</svg>
</button>
<button type="button" class="run2" id="globalPattern" onclick="drawGlobalPattern()">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-globe2"
viewBox="0 0 16 16">
<path
d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855-.143.268-.276.56-.395.872.705.157 1.472.257 2.282.287V1.077zM4.249 3.539c.142-.384.304-.744.481-1.078a6.7 6.7 0 0 1 .597-.933A7.01 7.01 0 0 0 3.051 3.05c.362.184.763.349 1.198.49zM3.509 7.5c.036-1.07.188-2.087.436-3.008a9.124 9.124 0 0 1-1.565-.667A6.964 6.964 0 0 0 1.018 7.5h2.49zm1.4-2.741a12.344 12.344 0 0 0-.4 2.741H7.5V5.091c-.91-.03-1.783-.145-2.591-.332zM8.5 5.09V7.5h2.99a12.342 12.342 0 0 0-.399-2.741c-.808.187-1.681.301-2.591.332zM4.51 8.5c.035.987.176 1.914.399 2.741A13.612 13.612 0 0 1 7.5 10.91V8.5H4.51zm3.99 0v2.409c.91.03 1.783.145 2.591.332.223-.827.364-1.754.4-2.741H8.5zm-3.282 3.696c.12.312.252.604.395.872.552 1.035 1.218 1.65 1.887 1.855V11.91c-.81.03-1.577.13-2.282.287zm.11 2.276a6.696 6.696 0 0 1-.598-.933 8.853 8.853 0 0 1-.481-1.079 8.38 8.38 0 0 0-1.198.49 7.01 7.01 0 0 0 2.276 1.522zm-1.383-2.964A13.36 13.36 0 0 1 3.508 8.5h-2.49a6.963 6.963 0 0 0 1.362 3.675c.47-.258.995-.482 1.565-.667zm6.728 2.964a7.009 7.009 0 0 0 2.275-1.521 8.376 8.376 0 0 0-1.197-.49 8.853 8.853 0 0 1-.481 1.078 6.688 6.688 0 0 1-.597.933zM8.5 11.909v3.014c.67-.204 1.335-.82 1.887-1.855.143-.268.276-.56.395-.872A12.63 12.63 0 0 0 8.5 11.91zm3.555-.401c.57.185 1.095.409 1.565.667A6.963 6.963 0 0 0 14.982 8.5h-2.49a13.36 13.36 0 0 1-.437 3.008zM14.982 7.5a6.963 6.963 0 0 0-1.362-3.675c-.47.258-.995.482-1.565.667.248.92.4 1.938.437 3.008h2.49zM11.27 2.461c.177.334.339.694.482 1.078a8.368 8.368 0 0 0 1.196-.49 7.01 7.01 0 0 0-2.275-1.52c.218.283.418.597.597.932zm-.488 1.343a7.765 7.765 0 0 0-.395-.872C9.835 1.897 9.17 1.282 8.5 1.077V4.09c.81-.03 1.577-.13 2.282-.287z" />
</svg>
</button>
</div>
<div id="ganttView" class="frameworkBody" style="height: calc(100% - 40px); width: calc(100% - 20px); position: absolute; margin-top: 40px; overflow-x: scroll; overflow-y: hidden; margin-left: 10px;
white-space: nowrap;">
</div>
</div>
<!-- <div id="right" class="framework">
<div class="frameworkTitle">Group Compare</div>
<div id="groupView" class="frameworkBody"></div>
</div> -->
<div id="bottom" class="framework">
<!-- <div class="frameworkTitle"></div> -->
<div
style="position: absolute; border-radius: 5px; background-color: #4C87EC; margin-top:7px; margin-left: 10px; height: 35px;">
<p id="titleWord">Individual View</p>
<!-- style="font-weight: bold; font-size: 20px; color: white;padding-left: 10px; padding-right: 10px;
font-family: STHeiti;" -->
</div>
<div id="hLegend" style="height: 50px; position: absolute; margin-left: 300px; width: 75%; top: 0px;"></div>
<div class="frameworkBody"
style="height: calc(100% - 50px); width: 100%; position: absolute; margin-top: 50px;">
<div style="position: absolute; top: -40px; right: 10px;">
<button type="button" class="run2" id="privateWealth" onclick="personalWealth()">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
class="bi bi-person" viewBox="0 0 16 16">
<path
d="M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10z" />
</svg>
</button>
<button type="button" class="run2" id="globalWealth" onclick="globalWealth()">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
class="bi bi-people" viewBox="0 0 16 16">
<path
d="M15 14s1 0 1-1-1-4-5-4-5 3-5 4 1 1 1 1h8zm-7.978-1A.261.261 0 0 1 7 12.996c.001-.264.167-1.03.76-1.72C8.312 10.629 9.282 10 11 10c1.717 0 2.687.63 3.24 1.276.593.69.758 1.457.76 1.72l-.008.002a.274.274 0 0 1-.014.002H7.022zM11 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm3-2a3 3 0 1 1-6 0 3 3 0 0 1 6 0zM6.936 9.28a5.88 5.88 0 0 0-1.23-.247A7.35 7.35 0 0 0 5 9c-4 0-5 3-5 4 0 .667.333 1 1 1h4.216A2.238 2.238 0 0 1 5 13c0-1.01.377-2.042 1.09-2.904.243-.294.526-.569.846-.816zM4.92 10A5.493 5.493 0 0 0 4 13H1c0-.26.164-1.03.76-1.724.545-.636 1.492-1.256 3.16-1.275zM1.5 5.5a3 3 0 1 1 6 0 3 3 0 0 1-6 0zm3-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4z" />
</svg>
</button>
</div>
<div id="horizonView" style="height: 99%; width: 15%">
<div id="hMain" style="height: 100%; overflow-y: scroll; overflow-x: hidden;"></div>
</div>
<div id="flowerView" class="frameworkBody"
style="height: 99%; width: 85%;margin-left: 15%; position: absolute; top: 0;"></div>
</div>
</div>
<!-- <div id="leftDown" class="framework">
<div class="frameworkTitle"></div>
<div id="patternView" class="frameworkBody"></div>
</div> -->
<!-- <script src="VastJs/PatternView.js"></script> -->
<!-- <script src="VastJs/PatternFind.js"></script> -->
<!-- <script src="VastJs/PatternGroup.js"></script> -->
<!-- <script src="VastJs/PatternMain.js"></script> -->
<!-- <script src="VastJs/PatternSankey.js"></script> -->
<script src="VastJs/PatternCompare.js"></script>
<script src="VastJs/PatternScatter.js"></script>
<script src="VastJs/PatternIndividual.js"></script>
<script src="VastJs/PatternControl.js"></script>
</body>
</html>