-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
229 lines (214 loc) · 10.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Global Energy Insights</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Nerko+One&family=SUSE:wght@100..800&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
</head>
<body>
<!-- Offcanvas Trigger Icon -->
<i class="fa-solid fa-bars" id="sidebarToggle" data-bs-toggle="offcanvas" data-bs-target="#sidebarOffcanvas"
aria-controls="sidebarOffcanvas"></i>
<!-- Offcanvas Sidebar -->
<div class="offcanvas offcanvas-start" tabindex="-1" id="sidebarOffcanvas" aria-labelledby="sidebarOffcanvasLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="sidebarOffcanvasLabel">Dashboard</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<ul class="list-unstyled">
<li>
<a href="#charts-section" class="dropdown-toggle" data-bs-toggle="collapse"
data-bs-target="#chartsDropdown" aria-expanded="false" aria-controls="chartsDropdown">
<i class="fa-solid fa-chart-simple"></i> Charts
</a>
<ul class="collapse list-unstyled" id="chartsDropdown">
<li><a href="#bar-chart-section">Average Intensity by Topic</a></li>
<li><a href="#line-chart-section">Average Intensity-Likelihood-Relevance over Time</a></li>
<li><a href="#pie-chart-section">Region-wise Sector and Topic Distribution</a></li>
<li><a href="#bar-chart-section-pestle">Average Intensity, Impact, Likelihood and Relevance by
PESTLE Factor</a></li>
<li><a href="#bubble-chart-section">Number of documents by Topic</a></li>
<li><a href="#heat-map-section">PESTLE and Source by Region</a></li>
</ul>
</li>
<li>
<a href="#about-me" class="dropdown-toggle" data-bs-toggle="collapse"
data-bs-target="#aboutMeDropdown" aria-expanded="false" aria-controls="aboutMeDropdown">
<i class="fa-solid fa-user"></i> About Me
</a>
<ul class="collapse list-unstyled" id="aboutMeDropdown">
<li><a href="https://siddheshmestri.online/" target="_blank">Portfolio</a></li>
<li><a href="https://github.com/siddheshrm" target="_blank">GitHub</a></li>
</ul>
</li>
</ul>
</div>
</div>
<!-- Main Content -->
<div class="container">
<h1>Global Energy Insights</h1>
<!-- Average Intensity by Topic : Bar Chart Section -->
<section id="bar-chart-section">
<h2>Average Intensity by Topic</h2>
<div class="row">
<div class="filter-group">
<label for="startYearFilterBar">Start Year</label>
<select id="startYearFilterBar" class="form-select"></select>
</div>
<div class="filter-group">
<label for="endYearFilterBar">End Year</label>
<select id="endYearFilterBar" class="form-select"></select>
</div>
<div class="filter-group">
<label for="regionFilterBar">Region</label>
<select id="regionFilterBar" class="form-select"></select>
</div>
<div class="filter-group">
<label for="countryFilterBar">Country</label>
<select id="countryFilterBar" class="form-select"></select>
</div>
</div>
<div>
<button id="generateBarChart" class="btn">Generate Bar
Chart</button>
</div>
<div>
<canvas id="barChart"></canvas>
</div>
</section>
<!-- Average Intensity-Likelihood-Relevance : Line Chart Section -->
<section id="line-chart-section">
<h2>Average Intensity-Likelihood-Relevance over Time</h2>
<div class="row">
<div class="filter-group">
<label for="startYearFilterLine">Start Year</label>
<select id="startYearFilterLine" class="form-select"></select>
</div>
<div class="filter-group">
<label for="endYearFilterLine">End Year</label>
<select id="endYearFilterLine" class="form-select"></select>
</div>
</div>
<div>
<button id="generateLineChart" class="btn">Generate Line
Chart</button>
</div>
<div>
<canvas id="lineChart"></canvas>
</div>
</section>
<!-- Region-wise Sector/Topic Distribution : Pie Chart Section -->
<section id="pie-chart-section">
<h2>Region-wise Sector and Topic Distribution</h2>
<div class="row">
<div class="filter-group">
<label for="regionFilterPie">Region</label>
<select id="regionFilterPie" class="form-select"></select>
</div>
<div class="filter-group">
<label for="filterType">Select</label>
<select id="filterType" class="form-select">
<option value="sector">Sector</option>
<option value="topic">Topic</option>
</select>
</div>
</div>
<div>
<button id="generatePieChart" class="btn">Generate Pie Chart</button>
</div>
<div>
<canvas id="pieChart"></canvas>
</div>
</section>
<!-- Average Intensity, Impact, Likelihood, and Relevance by PESTLE : Bar Chart Section -->
<section id="bar-chart-section-pestle">
<h2>Average Intensity, Impact, Likelihood and Relevance by PESTLE Factor</h2>
<div class="row">
<div class="filter-group">
<label for="regionFilterMultibar">Region</label>
<select id="regionFilterMultibar" class="form-select"></select>
</div>
<div class="filter-group">
<label for="countryFilterMultibar">Country</label>
<select id="countryFilterMultibar" class="form-select"></select>
</div>
</div>
<div>
<button id="generateBarChartPestle" class="btn">Generate Bar
Chart</button>
</div>
<div>
<canvas id="barChartPestle"></canvas>
</div>
</section>
<!-- No. of documents by Topic : Bubble Chart Section -->
<section id="bubble-chart-section">
<h2>Number of documents by Topic</h2>
<div class="row">
<div class="filter-group">
<label for="regionFilterBubble">Region</label>
<select id="regionFilterBubble" class="form-select"></select>
</div>
<div class="filter-group">
<label for="countryFilterBubble">Country</label>
<select id="countryFilterBubble" class="form-select"></select>
</div>
<div class="filter-group">
<label for="topicFilterBubble">Topic</label>
<select id="topicFilterBubble" class="form-select"></select>
</div>
</div>
<div>
<button id="generateBubbleChart" class="btn">Generate Bubble
Chart</button>
</div>
<div>
<canvas id="bubbleChart"></canvas>
</div>
</section>
<!-- PESTLE and Source by Region : Heat Map Section -->
<section id="heat-map-section">
<h2>PESTLE and Source by Region</h2>
<div class="row">
<div class="filter-group">
<label for="regionFilterHeat">Region</label>
<select id="regionFilterHeat" class="form-select"></select>
</div>
<div class="filter-group">
<label for="countryFilterHeat">Country</label>
<select id="countryFilterHeat" class="form-select"></select>
</div>
<div class="filter-group">
<label for="sourceFilterHeat">Source</label>
<select id="sourceFilterHeat" class="form-select"></select>
</div>
</div>
<div>
<button id="generateHeatmap" class="btn">Generate Heatmap</button>
</div>
<div>
<canvas id="heatMap"></canvas>
</div>
</section>
</div>
<!-- Bootstrap JS and dependencies -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<!-- Chart.js -->
<script src="https://cdn.jsdelivr.net/npm/chart.js@3.8.0/dist/chart.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chartjs-chart-matrix@1.0.1/dist/chartjs-chart-matrix.min.js"></script>
<!-- Fontawesome -->
<script src="https://kit.fontawesome.com/9dd0cb4077.js" crossorigin="anonymous"></script>
<!-- JS Scripts -->
<script src="chart.js"></script>
<script src="script.js"></script>
</body>
</html>