-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (73 loc) · 3.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CS 6630 Visualization Project</title>
<link rel="stylesheet" href="public/css/style.css"/>
<script type="text/javascript" src="bower_components/d3/d3.js"></script>
<script type="text/javascript" src="bower_components/d3-tip/index.js"></script>
<link href="https://fonts.googleapis.com/css?family=Arvo" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
</head>
<body>
<h1>Stock Data Visualization</h1>
<ul class="info">
<li>Name: Jian Lan; E-Mail: [email protected]; UID: u0752670</li>
<li>Name: Jie Ma; E-Mail: [email protected]; UID: u0748120</li>
<a href='ProcessBook.pdf'>Process Book</a>
<a href='https://www.youtube.com/watch?v=HG7d19egPjg&feature=youtu.be'>Screen-Cast</a>
</ul>
<div id="index-of-SP500-chart" class="view">
</div>
<div>
<div id = "two-stocks">
<div id="comparison-chart" class="view">
<div id="selectors">
<div id="plot-selector-0">
<label>Ticker-1 (blue, left axis in normalized mode):</label>
<select id="dataset-0"></select>
</div>
<div id="plot-selector-1">
<label>Ticker-2 (red, right axis in normalized mode):</label>
<select id="dataset-1"></select>
</div>
<div id="chart-type-selector">
<label>Chart Type:</label>
<select id="types">
<option selected value="Single Lines Chart">Single Lines Chart</option>
<option value="Separate Line Charts">Separate Line Charts</option>
<option value="Single Lines Chart (Normalized)">Single Lines Chart (Normalized)</option>
</select>
</div>
</div>
<svg width="500" height="800" id="stock-prices">
</svg>
</div>
</div>
<div id="statementsDiv">
<div id="labelsSelector">
<label>Financial Labels</label>
<!--<select id="statementsSelect" onchange="labelSelection()">-->
<select id="statementsSelect">
<option selected value="CASH_RATIO">Cash Ratio</option>
<option value="CUR_RATIO">Current Ratio</option>
<option value="QUICK_RATIO">Quick Ratio</option>
<option value="GROSS_MARGIN">Growth Margin</option>
<option value="SALES_GROWTH">Sales Growth</option>
<option value="OPER_INC_TO_CUR_LIAB">Operation Income/Current Debt</option>
<option value="TOT_DEBT_TO_EBITDA">Total Debt/EBITDA</option>
<option value="TOT_DEBT_TO_TOT_ASSET">Total Debt/Asset</option>
<option value="TOT_DEBT_TO_COM_EQY">Total Debt/Equity</option>
<option value="ACCT_RCV_DAYS">Receivable Days</option>
<option value="EFF_TAX_RATE">Effective Tax Rate</option>
</select>
</div>
<svg width="600" height="450" id="statementsSvg">
</svg>
</div>
</div>
<script type="application/javascript" src="public/js/singleStockPriceChart.js"></script>
<script type="application/javascript" src="public/js/indexOfSPChart.js"></script>
<script type="application/javascript" src="public/js/main.js"></script>
</body>
</html>