-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (63 loc) · 2.54 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>SatStat</title>
<link rel="stylesheet" href="build.css">
<link rel="stylesheet" href="main.css">
</head>
<body>
<!-- script src="http://d3js.org/d3.v2.min.js?2.9.1"></script -->
<script src="d3.v2.js"></script>
<script src="sankey.js"></script>
<script src="canvg.js"></script>
<script src="rgbcolor.js"></script>
<script src="sankeymatic.js"></script>
<script src="servertest.js"></script>
<!--<script src="app.js" type="text/javascript"></script>-->
<body>
I would like to know how many of each
<select name="singular" id="singular" onchange="firstDropdownChanged();">
<option value="base">----</option>
<option value="type">use case's</option>
<option value="ownercountry">country's</option>
<option value="companyname">company's</option>
</select>
<select name="plural" id="plural" disabled="true" onchange="secondDropdownChanged();">
<option value="base">----</option>
<option value="launches">launches</option>
<option value="satellites">satellites</option>
<option value="vehicle.vehiclename">spaceships</option>
</select>
<select name="q" id="q" disabled="true" onchange="thirdDropdownChanged();">
<option value="base">----</option>
<option value="decade">were launched in which decade</option>
<option value="orbitclass">are in which orbital class</option>
<option value="type">belong to which use case</option>
<option value="companyname">were launched by which company</option>
<option value="vehicle.vehiclename">were launched on which ship</option>
<option value="weightclass">were in which weight class</option>
<option value="numlaunches">were launched how many times</option>
<option value="location">were launched from which site</option>
</select>
please, with a minimum of: <input type="number" id="minNumberBox" name="minNumberBox" min="1" max="100" value="1">
<br>
<!--- <button id="goButton" type="submit" onclick="process_sankey(); return false;">Go!</button> -->
<button id="goButton" type="submit" disabled="true" onclick="requestData(); return false;">Go!</button>
</body>
<table id="messages">
<tr><td id="messages_area"></td></tr>
</table>
<div class="center_basic">
<p id="chart">
<svg id="sankey_svg" height="1000" width="1000" xmlns="http://www.w3.org/2000/svg" version="1.1"></svg>
</p>
<canvas id="png_preview" height="1000" width="1000" style="background-color: transparent; display:none;"></canvas>
<div id="chartfooter">
</div>
</td></tr></table>
</div>
<script>
process_sankey(); // render on page load
</script>
</body></html>