-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbrush-boxplot.html
More file actions
35 lines (33 loc) · 1.11 KB
/
Copy pathbrush-boxplot.html
File metadata and controls
35 lines (33 loc) · 1.11 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Boxplot</title>
<!-- Vercel Web Analytics -->
<script>
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
</script>
<script defer src="/_vercel/insights/script.js"></script>
<script src="p5.js"></script>
<script src="spectral.min.js"></script>
<script src="p5.brush.js"></script>
</head>
<body>
<script src="C.js"></script>
<script>
function setup() {
commonSetup();
const testDataLength = 1000;
const testData = [
getNormalDistData(testDataLength, random(1, 3), random(2, 5)),
getNormalDistData(testDataLength, random(1, 3), random(2, 5)),
getNormalDistData(testDataLength, random(1, 3), random(2, 5)),
getNormalDistData(testDataLength, random(1, 3), random(2, 5)),
getNormalDistData(testDataLength, random(1, 3), random(2, 5)),
];
drawBoxPlot(testData);
}
</script>
</body>
</html>