-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (94 loc) · 5.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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta property="og:title" content="iiBi" />
<meta property="og:image" content="./assets/metass.png" />
<meta property="og:description" content="Data visualization of a selection of stocks using D3 and Js." />
<meta property="og:url" content="https://AlexDoes.github.io/iibi" />
<script src="https://d3js.org/d3.v6.js"></script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="./dist/main.css" />
<script src="./dist/main.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Comfortaa&display=swap');
</style>
<link rel="icon" type="image/png" href="./assets/iibi2.png">
<title>iiBi</title>
</head>
<body>
<div class="nav_bar">
<div class="nav-bar-right">
<img src="assets/iibi2.png" class="nav-logo" height=60px width="55px">
<div id="title"> iiBi </div>
</div>
<div class="dropdown">
<button class="dropbtn">SOCIALS</button>
<div class="dropdown-content">
<a href="https://github.com/AlexDoes" target="_blank">Github</a>
<a href="https://www.linkedin.com/in/alwong191"target="_blank">LinkedIn</a>
<a href="https://angel.co/u/awong191"target="_blank">Angelist</a>
</div>
</div>
</div>
<div class="tinterModal" id="tint" onClick="closeWelcomeBox()">
<div class="welcomeBox">
<div class="welcomeBoxText">
<h1> Welcome to iiBi </h1>
<p> iiBi is an interactive data visualization of a selection of stocks performance over the years.
<p>
Please select a stock by clicking any of the icons on the left.
</p>
<p> You can hover over the graph to display stock data on the graph</p>
<p>
Each logo will load the respective company's stock performance over the year.
</p>
<p id="interact"> <b>Click anywhere to interact!</b></p>
<p id="API">
The stock data was acquired using Alpha Vantage API!
</p>
<p id="API">
The company icons are provided by Clearbit API!
</p>
<p id="API">
Disclaimer: I am not a financial advisor, everything here is used for entertainment purposes only!
</p>
</p>
</div class="welcomeBoxText">
</div>
</div>
<div class="visual-container">
<div class="icon-container">
<img src="//logo.clearbit.com/amctheatres.com" onclick="makeChart('AMC')" class="logo">
<img src="//logo.clearbit.com/AMD.com" onclick="makeChart('AMD')" class="logo">
<img src="//logo.clearbit.com/amazon.com" onclick="makeChart('AMZN')" class="logo">
<img src="//logo.clearbit.com/citiuspharma.com" onclick="makeChart('CTXR')" class="logo">
<img src="//logo.clearbit.com/DOMINOS.com" onclick="makeChart('DPZ')" class="logo">
<img src="//logo.clearbit.com/dexcom.com" onclick="makeChart('DXCM')" class="logo">
<img src="//logo.clearbit.com/FACEBOOK.COM" onclick="makeChart('FB')" class="logo">
<img src="//logo.clearbit.com/GM.com" onclick="makeChart('GM')" class="logo">
<img src="//logo.clearbit.com/GOPRO.com" onclick="makeChart('GPRO')" class="logo">
<img src="//logo.clearbit.com/LULULEMON.COM" onclick="makeChart('LULU')" class="logo">
<img src="//logo.clearbit.com/netflix.com" onclick="makeChart('NFLX')" class="logo">
<img src="//logo.clearbit.com/NIKE.COM" onclick="makeChart('NKE')" class="logo">
<img src="//logo.clearbit.com/nikolamotor.com" onclick="makeChart('NKLA')" class="logo">
<img src="//logo.clearbit.com/PELOTON.COM" onclick="makeChart('PTON')" class="logo">
<img src="//logo.clearbit.com/senseonics.com" onclick="makeChart('SENS')" class="logo">
<img src="//logo.clearbit.com/SPGLOBAL.COM" onclick="makeChart('SPY')" class="logo">
<img src="//logo.clearbit.com/TESLA.COM" onclick="makeChart('TSLA')" class="logo">
<img src="//logo.clearbit.com/UA.COM" onclick="makeChart('UAA')" class="logo">
<img src="//logo.clearbit.com/ULTA.COM" onclick="makeChart('ULTA')" class="logo">
<img src="//logo.clearbit.com/ZOOM.COM" onclick="makeChart('ZM')" class="logo">
</div>
<script src="src/scripts/graph.js"></script>
<script src="src/scripts/closeWelcome.js"></script>
<div id="container">
<img src="assets/iibiclean.png" id="centerimg">
</div>
</div>
<div class="footer">
<button onclick="openWelcomeBox()" class="help-button"> ? </button>
</div>
</body>
</html>