-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
417 lines (416 loc) · 15.4 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<title>Admin Dashboard</title>
<!-- Montserrat Font -->
<link
rel="icon"
type="image/png"
sizes="120x120"
href="../images/icons8-5-96.png"
/>
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap"
rel="stylesheet"
/>
<!-- Material Icons -->
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined"
rel="stylesheet"
/>
<!-- Custom CSS -->
<link rel="stylesheet" href="css/styles.css" />
<link
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
rel="stylesheet"
/>
<!-- data table css -->
<link
rel="stylesheet"
href="https://cdn.datatables.net/2.0.8/css/dataTables.dataTables.css"
/>
</head>
<body data-theme="light">
<div class="grid-container">
<!-- Header -->
<header class="header">
<div class="menu-icon" onclick="openSidebar()">
<span class="material-icons-outlined">menu</span>
</div>
<div class="main-title">
<h2>BIKE SALES DASHBOARD</h2>
</div>
<div class="toggle-icon" onclick="toggleTheme()">
<i class="fas fa-moon" id="theme-icon"></i>
</div>
</header>
<!-- End Header -->
<!-- Sidebar -->
<aside id="sidebar" class="sidebar">
<div class="sidebar-title">
<div class="sidebar-brand">
<img src="images/l-spdh.png" alt="logo" class="bold-image" />
Team 5
</div>
<span class="material-icons-outlined" onclick="closeSidebar()"
>close</span
>
</div>
<ul class="sidebar-list">
<li class="sidebar-list-item">
<a href="#" target="_blank">
<span class="material-icons-outlined">dashboard</span>
Dashboard
</a>
</li>
<li class="sidebar-list-item">
<a href="#" target="_blank">
<span class="material-icons-outlined">poll</span>
Dataset
</a>
</li>
<li class="sidebar-list-item">
<a href="#" target="_blank">
<span class="material-icons-outlined">settings</span>
Exit
</a>
</li>
</ul>
</aside>
<!-- End Sidebar -->
<!-- Main -->
<main class="main-container">
<div class="filtering-container">
<div class="multiselect">
<div class="selectBox" id="selectBoxYear">
<select>
<option>Select Year</option>
</select>
<div class="overSelect"></div>
</div>
<div id="checkboxesYear">
<label for="2015"
><input type="checkbox" id="2015" value="2015" />2015</label
>
<label for="2016"
><input type="checkbox" id="2016" value="2016" />2016</label
>
</div>
</div>
<div class="multiselect">
<div class="selectBox" id="selectBoxCountry">
<select>
<option>Select Country</option>
</select>
<div class="overSelect"></div>
</div>
<div id="checkboxesCountry">
<label for="Australia"
><input
type="checkbox"
id="Australia"
value="Australia"
/>Australia</label
>
<label for="Canada"
><input
type="checkbox"
id="Canada"
value="Canada"
/>Canada</label
>
<label for="France"
><input
type="checkbox"
id="France"
value="France"
/>France</label
>
<label for="Germany"
><input
type="checkbox"
id="Germany"
value="Germany"
/>Germany</label
>
<label for="United Kingdom"
><input
type="checkbox"
id="United Kingdom"
value="United Kingdom"
/>United Kingdom</label
>
<label for="United States"
><input
type="checkbox"
id="United States"
value="United States"
/>United States</label
>
</div>
</div>
<div class="multiselect">
<div class="selectBox" id="selectBoxAgeGroup">
<select>
<option>Select Age Group</option>
</select>
<div class="overSelect"></div>
</div>
<div id="checkboxesAgeGroup">
<label for="Youth (<25)"
><input
type="checkbox"
id="Youth (<25)"
value="Youth (<25)"
/>Youth (<25)</label
>
<label for="Young Adults (25-34)"
><input
type="checkbox"
id="Young Adults (25-34)"
value="Young Adults (25-34)"
/>Young Adults (25-34)</label
>
<label for="Adults (35-64)"
><input
type="checkbox"
id="Adults (35-64)"
value="Adults (35-64)"
/>Adults (35-64)</label
>
<label for="Seniors (64+)"
><input
type="checkbox"
id="Seniors (64+)"
value="Seniors (64+)"
/>Seniors (64+)</label
>
</div>
</div>
<div class="multiselect">
<div class="selectBox" id="selectBoxProductCategory">
<select>
<option>Select Product Category</option>
</select>
<div class="overSelect"></div>
</div>
<div id="checkboxesProductCategory">
<label for="Accessories"
><input
type="checkbox"
id="Accessories"
value="Accessories"
/>Accessories</label
>
<label for="Bikes"
><input type="checkbox" id="Bikes" value="Bikes" />Bikes</label
>
<label for="Clothing"
><input
type="checkbox"
id="Clothing"
value="Clothing"
/>Clothing</label
>
</div>
</div>
</div>
<div class="main-cards">
<div class="cards-one">
<div class="box-one">
<div class="main-one-title">
<div class="main-title-number">
<div class="box-title">Revenue</div>
<div class="main-title-number" id="revenue"></div>
</div>
<div class="main-title-icon">
<i class="fa-solid fa-sack-dollar"></i>
</div>
</div>
</div>
<div class="box-one">
<div class="main-one-title">
<div class="main-title-number">
<div class="box-title">Profit</div>
<div class="main-title-number" id="profit"></div>
</div>
<div class="main-title-icon">
<i class="fas fa-chart-line"></i>
</div>
</div>
</div>
<div class="box-one">
<div class="main-one-title">
<div class="main-title-number">
<div class="box-title">Item Sold</div>
<div class="main-title-number" id="itemSold"></div>
</div>
<div class="main-title-icon">
<i class="fa-solid fa-cart-shopping"></i>
</div>
</div>
</div>
</div>
<div class="cards-two">
<div class="box-two-bar">
<div class="box-title-two">
Revenue by Product Category and Country
</div>
<canvas id="salesChart"></canvas>
<div id="bar-grub"></div>
<div class="button-bargrup">
<button class="insight-button-bargrup">Insight</button>
</div>
<div class="text-area-bargrup">
<strong
>Chart di atas menunjukkan perbedaan revenue berdasarkan
product category di negara-negara Eropa.</strong
>
<br />
<strong>• Revenue terbesar</strong> berasal dari product category
<strong>sepeda (bikes)</strong> di
<strong>Australia</strong> dengan total revenue sebesar
<strong>5.805.057</strong>, sedangkan
<strong>revenue terkecil</strong> berasal dari product category
<strong>pakaian (clothing)</strong> di
<strong>Jerman</strong> dengan total revenue sebesar
<strong>308.214.</strong>
<br />
<strong>•</strong> Tren
<strong>positif penjualan sepeda</strong> di
<strong>Australia</strong> menunjukkan peluang untuk
<strong>ekspansi</strong> bagi perusahaan di negara tersebut.
<br />
<strong>•</strong> Jika penjualan product category sepeda (bikes) di
<strong>Australia meningkat</strong> maka berpotensi
<strong>meningkatkan pendapatan</strong> secara keseluruhan, hal
ini disebabkan karena
<strong>harga jual sepeda yang lebih tinggi</strong>
dibandingkan product category lainnya.
</div>
</div>
</div>
<div class="cards-three">
<div class="box-three">
<p>Age Group Distribution by Revenue</p>
<div class="box-pie-chart" id="pie-chart"></div>
<div>
<div class="button-piechart">
<button
id="infopiechart"
onclick="showHideComposition(event)"
>
Insight
</button>
</div>
<div id="insightChart" class="insightpiechartbox"></div>
<p id="insightPieChart" class="hidden">
Chart di atas merupakan data penjualan sepeda di Eropa yang
menunjukkan bahwa kelompok usia Dewasa (Adults) 35-64
mendominasi pasar dengan total penjualan sebesar 49,8%. Angka
ini jauh lebih tinggi dibandingkan dengan kelompok usia
lainnya, seperti Dewasa Muda (Young Adults) 25-34 dan Remaja
(Youth) di bawah 25 tahun.
</p>
</div>
</div>
</div>
</div>
<div class="main-line">
<div class="cards-line-one">
<div class="box-line-one">
<div class="box-line-title">
Distribution by Country and Revenue
</div>
<canvas
id="distributionChart"
width="600px"
height="400px"
></canvas>
<button class="insight-button-bar-line">Insight</button>
<div class="text-area-hover">
<strong
>Chart di atas menunjukkan perbedaan pendistribusian product
bikes berdasarkan Customer Gender di Negara-negara
Eropa</strong
>
<br />
<strong>•</strong> Pada tahun 2015-2016 customer dengan
<strong>Gender Female</strong> di
<strong>Australia dan Germany</strong> mengalami
<strong>penurunan yang signifikan</strong>
<br />
<strong>•</strong> Pada tahun 2015-2016 customer dengan
<strong>Gender Male</strong> di
<strong>Canada dan Germany</strong> mengalami
<strong>peningkatan yang signifikan.</strong>
<br />
<strong>•</strong> Secara <strong>Keseluruhan</strong>, terjadi
<strong>peningkatan jumlah Female</strong> dari tahun 2015-2016
<strong>sementara</strong> customer dengan
<strong>Gender Male</strong> mengalami penurunan. Hal ini dapat
menunjukan <strong>pergeseran demografis</strong> atau
<strong>tren</strong> dalam
<strong
>penggunaan produk atau layanan tertentu di berbagai
negara</strong
>
<br />
<strong>•</strong> <strong>United States</strong> menjadi
<strong>Negara</strong> yang memiliki
<strong>potensi pasar</strong> yang
<strong>besar</strong> karena <strong>memiliki</strong> jumlah
<strong>customer female dan male</strong> terbesar dari tahun
2015-2016.
<br />
<strong>•</strong> Terdapat <strong>perbedaan</strong> yang
signifikan dalam distribusi berdasarkan
<strong>Gender</strong> di antara negara-negara
<strong>Eropa</strong> ini, menyoroti
<strong>kompleksitas</strong> dan
<strong>keragaman pasar global</strong> dalam hal
<strong>preferensi konsumen berdasarkan Gender</strong>.
</div>
</div>
</div>
<div class="table-container">
<h1>Top Performance Product</h1>
<table id="data-table" class="display" width="100%"></table>
<div class="table-chart" id="data-table"></div>
<div class="table-chart" id="data-table"></div>
</div>
</div>
</main>
<!-- End Main -->
</div>
<!-- Scripts -->
<!-- ApexCharts -->
<!--data table script-->
<script
src="https://code.jquery.com/jquery-3.7.1.js"
integrity="sha256-eKhayi8LEQwp4NKxN+CfCh+3qOVUtJn3QNZ0TciWLP4="
crossorigin="anonymous"
></script>
<script src="https://cdn.datatables.net/2.0.8/js/dataTables.js"></script>
<!--Apexcharts-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/apexcharts/3.35.5/apexcharts.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels"></script>
<script
type="text/javascript"
src="https://www.gstatic.com/charts/loader.js"
></script>
<script type="text/javascript"></script>
<!-- Custom JS -->
<script src="js/table.js"></script>
<script src="js/filtering.js"></script>
<script src="js/scripts.js"></script>
<script src="js/bar-grup.js"></script>
<script src="js/pie-charts.js"></script>
<script src="js/bar-line-y.js"></script>
<script src="js/table.js"></script>
<script src="js/scoreCard.js"></script>
</body>
</html>