-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (55 loc) · 3.03 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>indev visualizer</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
<script src="https://d3js.org/d3.v4.js"></script>
<script src="https://cdn.jsdelivr.net/gh/holtzy/D3-graph-gallery@master/LIB/d3.layout.cloud.js"></script>
</head>
<body>
<div id="varWrapper">
<p>Choose which variables will be graphed</p>
<div id="variables">
</div>
<p>Select the X-Axis Variable:</p>
<select class="dropdown" onmouseup="checkCheckbox()"></select>
<div id="extraVariables">
<button onclick="uncheckCheckbox(false)" id="allVar">All</button>
<button onclick="uncheckCheckbox(true)" id="noneVar">None</button>
<button onclick="okChamp()" id="ok">OK</button>
</div>
</div>
<div id="spiteWrap">
<h1>Grapher for INFO 4900</h1>
<p>todo: add drag&drop feature, make look pretty, fix bug</p>
<div id="inputContainer">
Select a File
<input class="hiddenInput" onclick = "clearPrevious()" type="file" id="myFile" name="filename">
</div>
<button onclick="fileSubmitted()">Load Variables</button>
<br>
<br>
<div id="graphButtons">
<div class="card"><button style='background-image: url("graph_images/boxplotimg.png");' onclick="boxplot(); unwrap()" id="one" class="graphButton"></button><p>boxplot</p></div>
<div class="card"><button style='background-image: url("graph_images/barplotimg.png");'onclick="barplot(); unwrap()" id="one" class="graphButton"></button><p>barplot</p></div>
<div class="card"><button style='background-image: url("graph_images/dotplotimg.png");'onclick="dotplot(); unwrap()" id="one" class="graphButton"></button><p>dotplot</p></div>
<div class="card"><button style='background-image: url("graph_images/networkgraphimg.png");'onclick="network(); unwrap()" id="network" class="graphButton"></button><p>network graph</p></div>
<div class="card"><button style='background-image: url("graph_images/linegraphimg.png");'onclick="linegraph(); unwrap()" id="all" class="graphButton"></button><p>linegraph</p></div>
<div class="card"><button style='background-image: url("graph_images/streamlineimg.png");'onclick="streamline(); unwrap()" id="all" class="graphButton"></button><p>streamline</p></div>
<div class="card"><button style='background-image: url("graph_images/stackedgraphimg.png");'onclick="stacked(); unwrap()" id="all" class="graphButton"></button><p>stacked graph</p></div>
<div class="card"><button style='background-image: url("graph_images/wordcloudimg.png");'onclick="textOption(); unwrap()" id="text" class="graphButton"></button><p>word cloud</p></div>
<div class="card"></div>
</div>
</br>
</div>
<div id="wrapper">
<div id="close" onclick="clearGraphs()"></div>
<input id="graphTitle" type="text"></input>
<div id="graphArea"></div>
<div id="legend"></div>
</div>
</body>
<script src = "test.js"></script>
</html>