-
Notifications
You must be signed in to change notification settings - Fork 0
/
gaming.html
279 lines (252 loc) · 7.44 KB
/
gaming.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gaming Niche Insights</title>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script> <!-- Chart.js for Data Visualization -->
<style>
/* General Body Styles */
body {
font-family: 'Montserrat', sans-serif;
background-color: #f4f7fc; /* Light background to enhance readability */
color: #333;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
min-height: 100vh;
}
/* Main Header */
h1 {
font-size: 40px;
margin-top: 30px;
font-weight: 700;
color: #6200ea; /* Purple for dynamic and futuristic feel */
}
/* Content Container */
.content-container {
width: 90%;
max-width: 1200px;
margin-top: 50px;
background-color: #ffffff;
border-radius: 20px;
padding: 40px;
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
/* Section Titles */
.section-title {
font-size: 32px;
margin-bottom: 15px;
color: #6200ea;
font-weight: 600;
border-bottom: 2px solid #6200ea;
padding-bottom: 5px;
}
/* Section Content */
.section {
margin-bottom: 50px;
}
/* Section Text */
.section p {
font-size: 18px;
line-height: 1.8;
color: #555;
}
/* Icon Section Layout */
.section-icons {
display: flex;
justify-content: space-between;
margin-top: 30px;
}
.icon-box {
text-align: center;
background-color: #6200ea;
color: white;
padding: 20px;
border-radius: 12px;
flex: 1;
margin: 0 10px;
}
.icon-box i {
font-size: 45px;
margin-bottom: 10px;
}
/* Chart Containers */
.chart-container {
margin-top: 40px;
width: 100%;
height: 400px;
}
canvas {
width: 100%;
height: 100%;
}
.pie-chart {
height: 300px;
}
/* Table Styling */
.table-container {
margin-top: 40px;
overflow-x: auto;
}
table {
width: 100%;
border-collapse: collapse;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
th, td {
padding: 12px 18px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #6200ea;
color: white;
font-weight: bold;
}
tr:hover {
background-color: #f1f5f9;
}
</style>
</head>
<body>
<h1>Gaming Niche Insights</h1>
<div class="content-container">
<!-- General Information Section -->
<div class="section">
<div class="section-title">General Information</div>
<p>The gaming industry is one of the fastest-growing sectors worldwide. With a global audience of billions, gaming has become a dominant form of entertainment. This page offers insights into the key trends, influencers, and monetization opportunities in the gaming niche.</p>
</div>
<!-- Gaming Market Breakdown (Pie Chart) -->
<div class="section">
<div class="section-title">Gaming Market Breakdown</div>
<p>Here’s the current distribution of revenue in the gaming market:</p>
<div class="chart-container pie-chart">
<canvas id="marketSizeChart"></canvas>
</div>
</div>
<!-- Streaming Trends (Bar Chart) -->
<div class="section">
<div class="section-title">Streaming Trends in Gaming</div>
<p>Live streaming platforms like Twitch and YouTube Gaming are growing rapidly. Here's how gaming content streaming has evolved:</p>
<div class="chart-container">
<canvas id="streamingTrendsChart"></canvas>
</div>
</div>
<!-- Popular Gaming Creators (Icons) -->
<div class="section">
<div class="section-title">Top Gaming Creators</div>
<p>Here are some of the biggest names in the gaming community:</p>
<div class="section-icons">
<div class="icon-box">
<i class="fas fa-gamepad"></i>
<p>Ninja (25M Followers)</p>
</div>
<div class="icon-box">
<i class="fas fa-gamepad"></i>
<p>PewDiePie (110M Followers)</p>
</div>
<div class="icon-box">
<i class="fas fa-gamepad"></i>
<p>Pokimane (10M Followers)</p>
</div>
</div>
</div>
<!-- Audience Demographics (Pie Chart) -->
<div class="section">
<div class="section-title">Gaming Audience Demographics</div>
<p>Here’s a breakdown of the typical gaming audience:</p>
<div class="chart-container">
<canvas id="audienceDemographicsChart"></canvas>
</div>
</div>
<!-- Monetization Opportunities -->
<div class="section">
<div class="section-title">Monetization Opportunities</div>
<p>Gamers and content creators have multiple ways to monetize their content:</p>
<div class="section-icons">
<div class="icon-box">
<i class="fas fa-trophy"></i>
<p>Prize Money & Tournaments</p>
</div>
<div class="icon-box">
<i class="fas fa-ad"></i>
<p>Sponsored Streams</p>
</div>
<div class="icon-box">
<i class="fas fa-dollar-sign"></i>
<p>Subscriptions & Donations</p>
</div>
</div>
</div>
</div>
<script>
// Gaming Market Breakdown (Pie Chart)
var ctx1 = document.getElementById('marketSizeChart').getContext('2d');
var marketSizeChart = new Chart(ctx1, {
type: 'pie',
data: {
labels: ['Mobile Games', 'Console Games', 'PC Games', 'In-Game Purchases'],
datasets: [{
data: [40, 35, 15, 10],
backgroundColor: ['#6200ea', '#ff5722', '#4caf50', '#ffeb3b']
}]
},
options: {
responsive: true,
plugins: {
legend: {
position: 'top',
}
}
}
});
// Streaming Trends (Bar Chart)
var ctx2 = document.getElementById('streamingTrendsChart').getContext('2d');
var streamingTrendsChart = new Chart(ctx2, {
type: 'bar',
data: {
labels: ['2019', '2020', '2021', '2022', '2023'],
datasets: [{
label: 'Live Streaming Growth (%)',
data: [25, 35, 45, 60, 75],
backgroundColor: '#6200ea',
}]
},
options: {
responsive: true,
plugins: {
legend: {
position: 'top',
}
}
}
});
// Gaming Audience Demographics (Pie Chart)
var ctx3 = document.getElementById('audienceDemographicsChart').getContext('2d');
var audienceDemographicsChart = new Chart(ctx3, {
type: 'pie',
data: {
labels: ['Male (70%)', 'Female (30%)'],
datasets: [{
data: [70, 30],
backgroundColor: ['#6200ea', '#ff5722']
}]
},
options: {
responsive: true,
plugins: {
legend: {
position: 'top',
}
}
}
});
</script>
</body>
</html>