forked from scotthmurray/scattered-scatterplot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathload_file.html
More file actions
executable file
·51 lines (50 loc) · 1.69 KB
/
load_file.html
File metadata and controls
executable file
·51 lines (50 loc) · 1.69 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>D3: Empty page template</title>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD"
crossorigin="anonymous"
/>
</head>
<body>
<div class="container">
<div class="row">
<div class="col">
<label for="mesa-input" class="form-label" onchange="loadFile(this)"
>Input File (history or profile)</label
>
<input
class="form-control form-control-lg"
id="mesa-input"
type="file"
/>
</div>
<div class="col">
<div class="btn-group" role="group" aria-label="history plots">
<button type="button" id="plot-HR" class="btn btn-primary">
HR
</button>
<button type="button" id="plot-Tc-Rhoc" class="btn btn-primary">
<em>T<sub>c</sub></em
>–<em>ρ<sub>c</sub></em>
</button>
<!-- <button type="button" class="btn btn-primary">Right</button> -->
</div>
</div>
</div>
<div class="my-2" id="plot-area"></div>
</div>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN"
crossorigin="anonymous"
></script>
<script src="https://d3js.org/d3.v7.min.js"></script>
<!-- <script src="d3.js"></script> -->
<script src="mesa_explorer.js"></script>
</body>
</html>