Devisusingai commited on
Commit
9c15712
·
verified ·
1 Parent(s): 2d903f6

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +997 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Reality2
3
- emoji: 🌖
4
- colorFrom: purple
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: reality2
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: pink
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,997 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>REALTYTRACK | German Real Estate Intelligence</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@2.0.0"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
11
+ <link href="https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;600;700&display=swap" rel="stylesheet">
12
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
13
+ <script>
14
+ tailwind.config = {
15
+ theme: {
16
+ extend: {
17
+ fontFamily: {
18
+ sans: ['Oxanium', 'sans-serif'],
19
+ },
20
+ colors: {
21
+ realty: {
22
+ dark: '#0a0a12',
23
+ panel: '#161622',
24
+ border: '#2a2a3a',
25
+ neon: {
26
+ blue: '#00f5ff',
27
+ purple: '#9d00ff',
28
+ pink: '#ff00f5',
29
+ green: '#00ff9d',
30
+ orange: '#ff9d00'
31
+ },
32
+ highlight: '#3a3a4a',
33
+ danger: '#ff3a3a'
34
+ }
35
+ },
36
+ boxShadow: {
37
+ 'neon-blue': '0 0 8px rgba(0, 245, 255, 0.7)',
38
+ 'neon-purple': '0 0 8px rgba(157, 0, 255, 0.7)',
39
+ 'neon-pink': '0 0 8px rgba(255, 0, 245, 0.7)',
40
+ 'neon-green': '0 0 8px rgba(0, 255, 157, 0.7)',
41
+ 'neon-orange': '0 0 8px rgba(255, 157, 0, 0.7)'
42
+ }
43
+ }
44
+ }
45
+ }
46
+ </script>
47
+ <style>
48
+ :root {
49
+ --neon-blue: #00f5ff;
50
+ --neon-purple: #9d00ff;
51
+ --neon-pink: #ff00f5;
52
+ --neon-green: #00ff9d;
53
+ --neon-orange: #ff9d00;
54
+ }
55
+
56
+ body {
57
+ background-color: #0a0a12;
58
+ color: #e0e0e0;
59
+ font-family: 'Oxanium', sans-serif;
60
+ -webkit-font-smoothing: antialiased;
61
+ }
62
+
63
+ /* Neon Text Effects */
64
+ .neon-text-blue {
65
+ color: var(--neon-blue);
66
+ text-shadow: 0 0 5px rgba(0, 245, 255, 0.7);
67
+ }
68
+ .neon-text-purple {
69
+ color: var(--neon-purple);
70
+ text-shadow: 0 0 5px rgba(157, 0, 255, 0.7);
71
+ }
72
+ .neon-text-pink {
73
+ color: var(--neon-pink);
74
+ text-shadow: 0 0 5px rgba(255, 0, 245, 0.7);
75
+ }
76
+ .neon-text-green {
77
+ color: var(--neon-green);
78
+ text-shadow: 0 0 5px rgba(0, 255, 157, 0.7);
79
+ }
80
+ .neon-text-orange {
81
+ color: var(--neon-orange);
82
+ text-shadow: 0 0 5px rgba(255, 157, 0, 0.7);
83
+ }
84
+
85
+ /* Data Panels */
86
+ .data-panel {
87
+ border: 1px solid #2a2a3a;
88
+ background-color: #161622;
89
+ transition: all 0.3s ease;
90
+ border-radius: 12px;
91
+ overflow: hidden;
92
+ }
93
+ .data-panel:hover {
94
+ transform: translateY(-2px);
95
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
96
+ }
97
+
98
+ /* Futuristic Grid Background */
99
+ .cyber-grid {
100
+ background-image:
101
+ linear-gradient(rgba(42, 42, 58, 0.3) 1px, transparent 1px),
102
+ linear-gradient(90deg, rgba(42, 42, 58, 0.3) 1px, transparent 1px);
103
+ background-size: 20px 20px;
104
+ }
105
+
106
+ /* Holographic Effect */
107
+ .holographic-effect {
108
+ position: relative;
109
+ overflow: hidden;
110
+ }
111
+
112
+ .holographic-effect::before {
113
+ content: '';
114
+ position: absolute;
115
+ top: -50%;
116
+ left: -50%;
117
+ right: -50%;
118
+ bottom: -50%;
119
+ background: linear-gradient(45deg,
120
+ rgba(0, 245, 255, 0.03) 0%,
121
+ rgba(157, 0, 255, 0.03) 50%,
122
+ rgba(255, 0, 245, 0.03) 100%);
123
+ transform: rotate(30deg);
124
+ animation: hologram 15s linear infinite;
125
+ z-index: 0;
126
+ }
127
+
128
+ @keyframes hologram {
129
+ 0% { transform: rotate(30deg) translateX(0); }
130
+ 100% { transform: rotate(30deg) translateX(-100px); }
131
+ }
132
+
133
+ /* 3D Card Effect */
134
+ .card-3d {
135
+ transform-style: preserve-3d;
136
+ perspective: 1000px;
137
+ transition: transform 0.5s ease;
138
+ }
139
+
140
+ .card-3d:hover {
141
+ transform: rotateY(5deg) rotateX(5deg) translateY(-5px);
142
+ }
143
+
144
+ /* Loading Spinner */
145
+ .spinner {
146
+ width: 40px;
147
+ height: 40px;
148
+ border: 4px solid rgba(0, 245, 255, 0.3);
149
+ border-radius: 50%;
150
+ border-top-color: var(--neon-blue);
151
+ animation: spin 1s ease-in-out infinite;
152
+ }
153
+
154
+ @keyframes spin {
155
+ to { transform: rotate(360deg); }
156
+ }
157
+
158
+ /* Data Refresh Animation */
159
+ @keyframes dataRefresh {
160
+ 0% { opacity: 0.5; transform: scale(0.95); }
161
+ 100% { opacity: 1; transform: scale(1); }
162
+ }
163
+
164
+ .data-refresh {
165
+ animation: dataRefresh 0.5s ease-out;
166
+ }
167
+
168
+ /* Optimized Charts */
169
+ .chart-container {
170
+ position: relative;
171
+ height: 250px;
172
+ width: 100%;
173
+ }
174
+
175
+ /* Glow Effects */
176
+ .glow-border {
177
+ position: relative;
178
+ }
179
+
180
+ .glow-border::after {
181
+ content: '';
182
+ position: absolute;
183
+ top: 0;
184
+ left: 0;
185
+ right: 0;
186
+ bottom: 0;
187
+ border-radius: 12px;
188
+ pointer-events: none;
189
+ box-shadow: inset 0 0 10px rgba(0, 245, 255, 0.3);
190
+ }
191
+
192
+ /* Info Tooltip */
193
+ .info-tooltip {
194
+ position: relative;
195
+ display: inline-block;
196
+ cursor: pointer;
197
+ }
198
+
199
+ .info-tooltip .tooltip-text {
200
+ visibility: hidden;
201
+ width: 200px;
202
+ background-color: #161622;
203
+ color: #e0e0e0;
204
+ text-align: center;
205
+ border-radius: 6px;
206
+ padding: 8px;
207
+ position: absolute;
208
+ z-index: 1;
209
+ bottom: 125%;
210
+ left: 50%;
211
+ transform: translateX(-50%);
212
+ opacity: 0;
213
+ transition: opacity 0.3s;
214
+ border: 1px solid #2a2a3a;
215
+ font-size: 12px;
216
+ box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
217
+ }
218
+
219
+ .info-tooltip:hover .tooltip-text {
220
+ visibility: visible;
221
+ opacity: 1;
222
+ }
223
+
224
+ .info-icon {
225
+ color: #a0a0a0;
226
+ font-size: 12px;
227
+ margin-left: 5px;
228
+ transition: color 0.2s;
229
+ }
230
+
231
+ .info-tooltip:hover .info-icon {
232
+ color: var(--neon-blue);
233
+ }
234
+ </style>
235
+ </head>
236
+ <body class="bg-realty-dark text-gray-300 min-h-screen">
237
+ <!-- Header -->
238
+ <header class="border-b border-realty-border bg-realty-dark sticky top-0 z-50">
239
+ <div class="container mx-auto px-4 py-3">
240
+ <div class="flex items-center justify-between">
241
+ <div class="flex items-center space-x-2">
242
+ <span class="neon-text-blue font-bold text-2xl md:text-3xl">REALTY</span>
243
+ <span class="neon-text-purple font-bold text-2xl md:text-3xl">TRACK</span>
244
+ <span class="text-xs px-2 py-1 bg-realty-panel rounded neon-text-green hidden sm:inline">DE v4.2.0</span>
245
+ </div>
246
+
247
+ <button id="mobile-menu-button" class="md:hidden text-gray-400 hover:text-white focus:outline-none">
248
+ <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
249
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
250
+ </svg>
251
+ </button>
252
+
253
+ <nav id="main-nav" class="hidden md:flex space-x-4 lg:space-x-6">
254
+ <a href="#dashboard" class="nav-link active text-white text-sm lg:text-base">Dashboard</a>
255
+ <a href="#buying" class="nav-link text-gray-400 hover:text-white text-sm lg:text-base">Buying</a>
256
+ <a href="#renting" class="nav-link text-gray-400 hover:text-white text-sm lg:text-base">Renting</a>
257
+ <a href="#selling" class="nav-link text-gray-400 hover:text-white text-sm lg:text-base">Selling</a>
258
+ <a href="#investments" class="nav-link text-gray-400 hover:text-white text-sm lg:text-base">Investments</a>
259
+ </nav>
260
+
261
+ <div class="text-xs text-gray-400 hidden sm:block">
262
+ <span class="mr-2 md:mr-4">Last updated: <span id="last-updated" class="text-white">Just now</span></span>
263
+ <button id="refresh-data" class="text-xs px-2 py-1 bg-realty-panel rounded border border-realty-border hover:bg-realty-highlight transition-colors">
264
+ <i class="fas fa-sync-alt mr-1"></i>Refresh
265
+ </button>
266
+ </div>
267
+ </div>
268
+ </div>
269
+ </header>
270
+
271
+ <main class="container mx-auto px-4 py-6">
272
+ <!-- Dashboard Section -->
273
+ <section id="dashboard" class="page-section active">
274
+ <!-- Market Overview -->
275
+ <div class="mb-8">
276
+ <div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-4 gap-2">
277
+ <h2 class="text-xl md:text-2xl font-semibold neon-text-blue flex items-center">
278
+ <span class="inline-block w-3 h-3 rounded-full bg-realty-neon-blue mr-2"></span>
279
+ GERMAN REAL ESTATE MARKET OVERVIEW
280
+ <div class="info-tooltip">
281
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
282
+ <span class="tooltip-text">Key metrics showing the current state of the German real estate market. Prices, rents, and investment volumes across major cities.</span>
283
+ </div>
284
+ </h2>
285
+ <div class="flex space-x-2">
286
+ <button class="text-xs px-3 py-1 bg-realty-panel rounded border border-realty-border hover:bg-realty-highlight transition-colors">Cities</button>
287
+ <button class="text-xs px-3 py-1 bg-realty-panel rounded border border-realty-border hover:bg-realty-highlight transition-colors">Regions</button>
288
+ <button class="text-xs px-3 py-1 bg-realty-panel rounded border border-realty-border hover:bg-realty-highlight transition-colors">National</button>
289
+ </div>
290
+ </div>
291
+
292
+ <!-- Key Metrics Grid -->
293
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 mb-6">
294
+ <!-- Purchase Price -->
295
+ <div class="data-panel card-3d p-4 cyber-grid glow-border">
296
+ <div class="flex justify-between items-start">
297
+ <div>
298
+ <div class="text-xs uppercase tracking-wider text-gray-400 mb-1 flex items-center">
299
+ Avg. Purchase Price
300
+ <div class="info-tooltip">
301
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
302
+ <span class="tooltip-text">Average price per square meter for residential properties across Germany. Shows current value and yearly change.</span>
303
+ </div>
304
+ </div>
305
+ <div class="text-2xl font-bold neon-text-blue">€4,850/m²</div>
306
+ </div>
307
+ <div class="text-xs px-2 py-1 bg-realty-panel rounded-full flex items-center">
308
+ <span class="inline-block w-2 h-2 rounded-full bg-realty-neon-green mr-1"></span>
309
+ <span class="text-realty-neon-green">+3.2% YoY</span>
310
+ </div>
311
+ </div>
312
+ <div class="mt-3">
313
+ <div class="flex justify-between text-xs text-gray-400 mb-1">
314
+ <span>€4,700 (2022)</span>
315
+ <span>Peak: €4,950</span>
316
+ </div>
317
+ <div class="w-full bg-realty-border rounded-full h-1.5">
318
+ <div class="bg-realty-neon-blue h-1.5 rounded-full" style="width: 85%"></div>
319
+ </div>
320
+ </div>
321
+ </div>
322
+
323
+ <!-- Rent Price -->
324
+ <div class="data-panel card-3d p-4 cyber-grid glow-border">
325
+ <div class="flex justify-between items-start">
326
+ <div>
327
+ <div class="text-xs uppercase tracking-wider text-gray-400 mb-1 flex items-center">
328
+ Avg. Rent Price
329
+ <div class="info-tooltip">
330
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
331
+ <span class="tooltip-text">Average monthly rent per square meter. Shows how much tenants pay across Germany.</span>
332
+ </div>
333
+ </div>
334
+ <div class="text-2xl font-bold neon-text-purple">€12.50/m²</div>
335
+ </div>
336
+ <div class="text-xs px-2 py-1 bg-realty-panel rounded-full flex items-center">
337
+ <span class="inline-block w-2 h-2 rounded-full bg-realty-neon-green mr-1"></span>
338
+ <span class="text-realty-neon-green">+5.1% YoY</span>
339
+ </div>
340
+ </div>
341
+ <div class="mt-3">
342
+ <div class="flex justify-between text-xs text-gray-400 mb-1">
343
+ <span>€11.90 (2022)</span>
344
+ <span>Peak: €12.80</span>
345
+ </div>
346
+ <div class="w-full bg-realty-border rounded-full h-1.5">
347
+ <div class="bg-realty-neon-purple h-1.5 rounded-full" style="width: 78%"></div>
348
+ </div>
349
+ </div>
350
+ </div>
351
+
352
+ <!-- Vacancy Rate -->
353
+ <div class="data-panel card-3d p-4 cyber-grid glow-border">
354
+ <div class="flex justify-between items-start">
355
+ <div>
356
+ <div class="text-xs uppercase tracking-wider text-gray-400 mb-1 flex items-center">
357
+ Vacancy Rate
358
+ <div class="info-tooltip">
359
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
360
+ <span class="tooltip-text">Percentage of empty properties. Lower rates mean higher demand and competition for housing.</span>
361
+ </div>
362
+ </div>
363
+ <div class="text-2xl font-bold neon-text-green">1.8%</div>
364
+ </div>
365
+ <div class="text-xs px-2 py-1 bg-realty-panel rounded-full flex items-center">
366
+ <span class="inline-block w-2 h-2 rounded-full bg-realty-danger mr-1"></span>
367
+ <span class="text-realty-danger">-0.4% YoY</span>
368
+ </div>
369
+ </div>
370
+ <div class="mt-3">
371
+ <div class="flex justify-between text-xs text-gray-400 mb-1">
372
+ <span>2.2% (2022)</span>
373
+ <span>Low: 1.5%</span>
374
+ </div>
375
+ <div class="w-full bg-realty-border rounded-full h-1.5">
376
+ <div class="bg-realty-neon-green h-1.5 rounded-full" style="width: 65%"></div>
377
+ </div>
378
+ </div>
379
+ </div>
380
+
381
+ <!-- Investment Volume -->
382
+ <div class="data-panel card-3d p-4 cyber-grid glow-border">
383
+ <div class="flex justify-between items-start">
384
+ <div>
385
+ <div class="text-xs uppercase tracking-wider text-gray-400 mb-1 flex items-center">
386
+ Investment Volume
387
+ <div class="info-tooltip">
388
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
389
+ <span class="tooltip-text">Total money invested in German real estate. Shows market activity and investor confidence.</span>
390
+ </div>
391
+ </div>
392
+ <div class="text-2xl font-bold neon-text-orange">€42.8B</div>
393
+ </div>
394
+ <div class="text-xs px-2 py-1 bg-realty-panel rounded-full flex items-center">
395
+ <span class="inline-block w-2 h-2 rounded-full bg-realty-danger mr-1"></span>
396
+ <span class="text-realty-danger">-18% YoY</span>
397
+ </div>
398
+ </div>
399
+ <div class="mt-3">
400
+ <div class="flex justify-between text-xs text-gray-400 mb-1">
401
+ <span>€52.1B (2022)</span>
402
+ <span>Peak: €68.3B</span>
403
+ </div>
404
+ <div class="w-full bg-realty-border rounded-full h-1.5">
405
+ <div class="bg-realty-neon-orange h-1.5 rounded-full" style="width: 62%"></div>
406
+ </div>
407
+ </div>
408
+ </div>
409
+ </div>
410
+
411
+ <!-- Price Development & Rental Yield -->
412
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
413
+ <!-- Price Development Chart -->
414
+ <div class="data-panel p-4 card-3d holographic-effect">
415
+ <div class="flex justify-between items-center mb-3">
416
+ <h3 class="font-semibold neon-text-purple flex items-center">
417
+ PRICE DEVELOPMENT TREND
418
+ <div class="info-tooltip">
419
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
420
+ <span class="tooltip-text">How property prices have changed over 5 years in major cities. Helps spot long-term trends.</span>
421
+ </div>
422
+ </h3>
423
+ <span class="text-xs bg-realty-panel px-2 py-1 rounded">5-year trend</span>
424
+ </div>
425
+ <div class="chart-container">
426
+ <canvas id="priceDevelopmentChart"></canvas>
427
+ </div>
428
+ <div class="mt-3 text-xs grid grid-cols-3 gap-2">
429
+ <div class="flex items-center"><span class="inline-block w-2 h-2 rounded-full bg-realty-neon-blue mr-1"></span> Berlin</div>
430
+ <div class="flex items-center"><span class="inline-block w-2 h-2 rounded-full bg-realty-neon-purple mr-1"></span> Munich</div>
431
+ <div class="flex items-center"><span class="inline-block w-2 h-2 rounded-full bg-realty-neon-pink mr-1"></span> Frankfurt</div>
432
+ </div>
433
+ </div>
434
+
435
+ <!-- Rental Yield Analysis -->
436
+ <div class="data-panel p-4 card-3d holographic-effect">
437
+ <div class="flex justify-between items-center mb-3">
438
+ <h3 class="font-semibold neon-text-green flex items-center">
439
+ RENTAL YIELD HEATMAP
440
+ <div class="info-tooltip">
441
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
442
+ <span class="tooltip-text">Annual rental income as percentage of property value. Higher yields mean better returns for landlords.</span>
443
+ </div>
444
+ </h3>
445
+ <span class="text-xs bg-realty-panel px-2 py-1 rounded">gross annual</span>
446
+ </div>
447
+ <div class="chart-container">
448
+ <canvas id="rentalYieldChart"></canvas>
449
+ </div>
450
+ <div class="grid grid-cols-3 gap-2 mt-2 text-xs text-center">
451
+ <div>
452
+ <div class="font-bold">Berlin</div>
453
+ <div>3.8%</div>
454
+ <div class="text-realty-neon-green">+0.2%</div>
455
+ </div>
456
+ <div>
457
+ <div class="font-bold">Hamburg</div>
458
+ <div>3.5%</div>
459
+ <div class="text-realty-neon-blue">±0.0%</div>
460
+ </div>
461
+ <div>
462
+ <div class="font-bold">Leipzig</div>
463
+ <div>4.2%</div>
464
+ <div class="text-realty-neon-green">+0.3%</div>
465
+ </div>
466
+ </div>
467
+ </div>
468
+ </div>
469
+ </div>
470
+
471
+ <hr class="border-t border-realty-border my-6">
472
+
473
+ <!-- Regional Deep Dive -->
474
+ <div class="mb-8">
475
+ <h2 class="text-xl md:text-2xl font-semibold mb-4 flex items-center neon-text-pink">
476
+ <span class="inline-block w-3 h-3 rounded-full bg-realty-neon-pink mr-2"></span>
477
+ REGIONAL DEEP DIVE
478
+ <div class="info-tooltip">
479
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
480
+ <span class="tooltip-text">Detailed comparison of different cities and regions. Shows where prices are highest and growing fastest.</span>
481
+ </div>
482
+ </h2>
483
+
484
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
485
+ <!-- City Price Comparison -->
486
+ <div class="data-panel p-4 card-3d">
487
+ <div class="mb-4">
488
+ <h3 class="font-semibold neon-text-blue flex items-center">
489
+ TOP CITY PRICE COMPARISON
490
+ <div class="info-tooltip">
491
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
492
+ <span class="tooltip-text">Radar chart comparing key metrics across cities. Shows strengths and weaknesses of each market.</span>
493
+ </div>
494
+ </h3>
495
+ <div class="text-xs text-gray-400 mt-1">Price per m² for residential properties</div>
496
+ </div>
497
+ <div class="chart-container">
498
+ <canvas id="cityPriceChart"></canvas>
499
+ </div>
500
+ <div class="text-xs mt-3 space-y-1">
501
+ <div><span class="neon-text-blue">Munich remains most expensive at €7,200/m²</span></div>
502
+ <div><span class="neon-text-green">Leipzig shows strongest growth at +6.5% YoY</span></div>
503
+ </div>
504
+ </div>
505
+
506
+ <!-- Price to Rent Ratio -->
507
+ <div class="data-panel p-4 card-3d">
508
+ <div class="mb-4">
509
+ <h3 class="font-semibold neon-text-green flex items-center">
510
+ PRICE TO RENT RATIO
511
+ <div class="info-tooltip">
512
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
513
+ <span class="tooltip-text">How many years of rent would equal the property price. Lower ratios may indicate better value.</span>
514
+ </div>
515
+ </h3>
516
+ <div class="text-xs text-gray-400 mt-1">Years to pay off purchase through rent</div>
517
+ </div>
518
+ <div class="chart-container">
519
+ <canvas id="priceRentChart"></canvas>
520
+ </div>
521
+ <div class="text-xs mt-3 space-y-1">
522
+ <div><span class="neon-text-blue">Berlin ratio at 26.3 years (from 24.8)</span></div>
523
+ <div><span class="neon-text-purple">Munich highest at 32.1 years</span></div>
524
+ </div>
525
+ </div>
526
+
527
+ <!-- Regional Heatmap Preview -->
528
+ <div class="data-panel p-4 card-3d">
529
+ <div class="mb-4">
530
+ <h3 class="font-semibold neon-text-orange flex items-center">
531
+ REGIONAL HOTSPOTS
532
+ <div class="info-tooltip">
533
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
534
+ <span class="tooltip-text">Table showing fastest growing areas. Helps identify emerging markets with potential.</span>
535
+ </div>
536
+ </h3>
537
+ <div class="text-xs text-gray-400 mt-1">Growth leaders and laggards</div>
538
+ </div>
539
+ <div class="overflow-x-auto">
540
+ <table class="w-full text-xs">
541
+ <thead>
542
+ <tr class="border-b border-realty-border">
543
+ <th class="text-left pb-2">Region</th>
544
+ <th class="text-right pb-2">Price/m²</th>
545
+ <th class="text-right pb-2">Growth</th>
546
+ <th class="text-right pb-2">Yield</th>
547
+ </tr>
548
+ </thead>
549
+ <tbody>
550
+ <tr class="border-b border-realty-border">
551
+ <td class="py-2">Berlin-Mitte</td>
552
+ <td class="text-right">€5,850</td>
553
+ <td class="text-right text-realty-neon-green">+4.2%</td>
554
+ <td class="text-right">3.5%</td>
555
+ </tr>
556
+ <tr class="border-b border-realty-border">
557
+ <td class="py-2">Munich-Center</td>
558
+ <td class="text-right">€7,200</td>
559
+ <td class="text-right text-realty-neon-blue">+2.1%</td>
560
+ <td class="text-right">2.8%</td>
561
+ </tr>
562
+ <tr class="border-b border-realty-border">
563
+ <td class="py-2">Leipzig-East</td>
564
+ <td class="text-right">€2,950</td>
565
+ <td class="text-right text-realty-neon-green">+6.5%</td>
566
+ <td class="text-right">4.2%</td>
567
+ </tr>
568
+ <tr>
569
+ <td class="py-2">Dresden-North</td>
570
+ <td class="text-right">€3,150</td>
571
+ <td class="text-right text-realty-neon-green">+5.8%</td>
572
+ <td class="text-right">3.9%</td>
573
+ </tr>
574
+ </tbody>
575
+ </table>
576
+ </div>
577
+ <div class="text-xs mt-2 neon-text-green">
578
+ Emerging markets: Leipzig, Dresden, Potsdam (+5%+ growth)
579
+ </div>
580
+ </div>
581
+ </div>
582
+
583
+ <!-- Investment Segments -->
584
+ <div class="data-panel p-4 mb-6 card-3d">
585
+ <div class="flex justify-between items-center mb-4">
586
+ <h3 class="font-semibold neon-text-purple flex items-center">
587
+ INVESTMENT SEGMENT PERFORMANCE
588
+ <div class="info-tooltip">
589
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
590
+ <span class="tooltip-text">How different property types are performing. Helps choose the best investment strategy.</span>
591
+ </div>
592
+ </h3>
593
+ <span class="text-xs bg-realty-panel px-2 py-1 rounded">Q2 2023</span>
594
+ </div>
595
+
596
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3">
597
+ <div class="p-3 bg-[#003153] rounded glow-border" style="box-shadow: 0 0 8px rgba(0, 245, 255, 0.3);">
598
+ <div class="text-xs mb-1 font-bold neon-text-blue">Luxury Residential</div>
599
+ <div class="text-xs mb-1 text-gray-400">Prime locations, high-end</div>
600
+ <div class="flex flex-wrap gap-1 mt-2">
601
+ <span class="text-xs px-2 py-1 bg-blue-900/50 rounded-full">Yield: 2.8%</span>
602
+ <span class="text-xs px-2 py-1 bg-green-900/50 rounded-full">Growth: +3.1%</span>
603
+ </div>
604
+ </div>
605
+ <div class="p-3 bg-[#1a1a2e] rounded glow-border" style="box-shadow: 0 0 8px rgba(157, 0, 255, 0.3);">
606
+ <div class="text-xs mb-1 font-bold neon-text-purple">Affordable Housing</div>
607
+ <div class="text-xs mb-1 text-gray-400">Suburban, value segment</div>
608
+ <div class="flex flex-wrap gap-1 mt-2">
609
+ <span class="text-xs px-2 py-1 bg-blue-900/50 rounded-full">Yield: 4.2%</span>
610
+ <span class="text-xs px-2 py-1 bg-green-900/50 rounded-full">Growth: +5.5%</span>
611
+ </div>
612
+ </div>
613
+ <div class="p-3 bg-[#3a0a2e] rounded glow-border" style="box-shadow: 0 0 8px rgba(255, 0, 245, 0.3);">
614
+ <div class="text-xs mb-1 font-bold neon-text-pink">Commercial</div>
615
+ <div class="text-xs mb-1 text-gray-400">Office & retail spaces</div>
616
+ <div class="flex flex-wrap gap-1 mt-2">
617
+ <span class="text-xs px-2 py-1 bg-blue-900/50 rounded-full">Yield: 5.1%</span>
618
+ <span class="text-xs px-2 py-1 bg-red-900/50 rounded-full">Growth: -1.2%</span>
619
+ </div>
620
+ </div>
621
+ <div class="p-3 bg-[#4a0100] rounded glow-border" style="box-shadow: 0 0 8px rgba(255, 157, 0, 0.3);">
622
+ <div class="text-xs mb-1 font-bold neon-text-orange">New Developments</div>
623
+ <div class="text-xs mb-1 text-gray-400">Pre-construction projects</div>
624
+ <div class="flex flex-wrap gap-1 mt-2">
625
+ <span class="text-xs px-2 py-1 bg-blue-900/50 rounded-full">Yield: 3.9%</span>
626
+ <span class="text-xs px-2 py-1 bg-green-900/50 rounded-full">Growth: +4.8%</span>
627
+ </div>
628
+ </div>
629
+ </div>
630
+ </div>
631
+ </div>
632
+
633
+ <hr class="border-t border-realty-border my-6">
634
+
635
+ <!-- Predictive Analytics -->
636
+ <div class="mb-8">
637
+ <h2 class="text-xl md:text-2xl font-semibold mb-4 flex items-center neon-text-blue">
638
+ <span class="inline-block w-3 h-3 rounded-full bg-realty-neon-blue mr-2"></span>
639
+ PREDICTIVE MARKET ANALYTICS
640
+ <div class="info-tooltip">
641
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
642
+ <span class="tooltip-text">Forecasts and models predicting future market trends. Helps plan investments and timing.</span>
643
+ </div>
644
+ </h2>
645
+
646
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
647
+ <!-- Price Forecast -->
648
+ <div class="data-panel p-4 card-3d">
649
+ <div class="mb-3">
650
+ <h3 class="font-semibold neon-text-green flex items-center">
651
+ 12-MONTH PRICE FORECAST
652
+ <div class="info-tooltip">
653
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
654
+ <span class="tooltip-text">Expected price changes in major cities. Range shows optimistic and conservative estimates.</span>
655
+ </div>
656
+ </h3>
657
+ <div class="text-xs text-gray-400">Model based on economic indicators and historical trends</div>
658
+ </div>
659
+ <div class="chart-container">
660
+ <canvas id="priceForecastChart"></canvas>
661
+ </div>
662
+ <div class="text-xs mt-3 grid grid-cols-2 gap-1">
663
+ <div><span class="neon-text-blue">Berlin: +2.1% to +4.5%</span></div>
664
+ <div><span class="neon-text-purple">Munich: +1.5% to +3.2%</span></div>
665
+ <div><span class="neon-text-green">Leipzig: +4.0% to +6.5%</span></div>
666
+ <div><span class="neon-text-orange">Hamburg: +1.8% to +3.8%</span></div>
667
+ </div>
668
+ </div>
669
+
670
+ <!-- Interest Rate Impact -->
671
+ <div class="data-panel p-4 card-3d">
672
+ <div class="mb-3">
673
+ <h3 class="font-semibold neon-text-purple flex items-center">
674
+ INTEREST RATE SENSITIVITY
675
+ <div class="info-tooltip">
676
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
677
+ <span class="tooltip-text">How property prices might change if interest rates go up or down. Based on historical patterns.</span>
678
+ </div>
679
+ </h3>
680
+ <div class="text-xs text-gray-400">Price impact of ECB rate changes</div>
681
+ </div>
682
+ <div class="chart-container">
683
+ <canvas id="rateImpactChart"></canvas>
684
+ </div>
685
+ <div class="text-xs mt-3">
686
+ <div class="grid grid-cols-3 gap-2">
687
+ <div>
688
+ <div>+0.5% rate</div>
689
+ <div class="font-medium text-realty-danger">-3.2% prices</div>
690
+ </div>
691
+ <div>
692
+ <div>+1.0% rate</div>
693
+ <div class="font-medium text-realty-danger">-6.8% prices</div>
694
+ </div>
695
+ <div>
696
+ <div>-0.5% rate</div>
697
+ <div class="font-medium text-realty-neon-green">+4.1% prices</div>
698
+ </div>
699
+ </div>
700
+ <div class="mt-2 text-xs text-gray-400">
701
+ <i class="fas fa-info-circle mr-1"></i> Based on historical correlations
702
+ </div>
703
+ </div>
704
+ </div>
705
+ </div>
706
+
707
+ <!-- Market Health Indicators -->
708
+ <div class="data-panel p-4 card-3d">
709
+ <div class="flex justify-between items-center mb-3">
710
+ <h3 class="font-semibold neon-text-orange flex items-center">
711
+ MARKET HEALTH INDICATORS
712
+ <div class="info-tooltip">
713
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
714
+ <span class="tooltip-text">Composite scores showing overall market conditions. Higher scores mean healthier markets.</span>
715
+ </div>
716
+ </h3>
717
+ <span class="text-xs bg-realty-panel px-2 py-1 rounded">composite index</span>
718
+ </div>
719
+
720
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3">
721
+ <div class="p-3">
722
+ <div class="text-xs mb-1 text-gray-400 flex items-center">
723
+ Affordability Index
724
+ <div class="info-tooltip">
725
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
726
+ <span class="tooltip-text">How affordable properties are relative to local incomes. Lower scores mean less affordable.</span>
727
+ </div>
728
+ </div>
729
+ <div class="text-2xl font-bold text-realty-danger">42.1</div>
730
+ <div class="text-xs"><span class="text-realty-danger">↓</span> 5.2% worse YoY</div>
731
+ </div>
732
+ <div class="p-3">
733
+ <div class="text-xs mb-1 text-gray-400 flex items-center">
734
+ Demand Pressure
735
+ <div class="info-tooltip">
736
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
737
+ <span class="tooltip-text">How many buyers are competing for properties. Higher scores mean more competition.</span>
738
+ </div>
739
+ </div>
740
+ <div class="text-2xl font-bold">78.5</div>
741
+ <div class="text-xs"><span class="text-realty-neon-blue">→</span> Stable</div>
742
+ </div>
743
+ <div class="p-3">
744
+ <div class="text-xs mb-1 text-gray-400 flex items-center">
745
+ Investor Sentiment
746
+ <div class="info-tooltip">
747
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
748
+ <span class="tooltip-text">How confident investors feel about the market. Higher scores mean more optimism.</span>
749
+ </div>
750
+ </div>
751
+ <div class="text-2xl font-bold">65.2</div>
752
+ <div class="text-xs"><span class="text-realty-neon-green">↑</span> 8.1% better QoQ</div>
753
+ </div>
754
+ <div class="p-3">
755
+ <div class="text-xs mb-1 text-gray-400 flex items-center">
756
+ Supply Balance
757
+ <div class="info-tooltip">
758
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
759
+ <span class="tooltip-text">Balance between available properties and demand. Higher scores mean better balance.</span>
760
+ </div>
761
+ </div>
762
+ <div class="text-2xl font-bold text-realty-danger">38.7</div>
763
+ <div class="text-xs"><span class="text-realty-danger">↓</span> 12.3% worse YoY</div>
764
+ </div>
765
+ </div>
766
+ </div>
767
+ </div>
768
+
769
+ <hr class="border-t border-realty-border my-6">
770
+
771
+ <!-- City Performance Matrix -->
772
+ <div class="mb-8">
773
+ <h2 class="text-xl md:text-2xl font-semibold mb-4 neon-text-pink flex items-center">
774
+ CITY PERFORMANCE MATRIX
775
+ <div class="info-tooltip">
776
+ <span class="info-icon"><i class="fas fa-info-circle"></i></span>
777
+ <span class="tooltip-text">Detailed comparison of all key metrics for major cities. Helps compare investment opportunities.</span>
778
+ </div>
779
+ </h2>
780
+
781
+ <div class="data-panel p-4 overflow-x-auto">
782
+ <table class="w-full text-sm">
783
+ <thead>
784
+ <tr class="border-b border-realty-border">
785
+ <th class="text-left pb-2">City</th>
786
+ <th class="text-right pb-2">Price/m²</th>
787
+ <th class="text-right pb-2">Growth</th>
788
+ <th class="text-right pb-2">Rent/m²</th>
789
+ <th class="text-right pb-2">Yield</th>
790
+ <th class="text-right pb-2">Price/Rent</th>
791
+ <th class="text-right pb-2">Vacancy</th>
792
+ <th class="text-right pb-2">Score</th>
793
+ </tr>
794
+ </thead>
795
+ <tbody>
796
+ <tr class="border-b border-realty-border">
797
+ <td class="py-2">Munich</td>
798
+ <td class="text-right">€7,200</td>
799
+ <td class="text-right text-realty-neon-blue">+2.1%</td>
800
+ <td class="text-right">€18.50</td>
801
+ <td class="text-right">2.8%</td>
802
+ <td class="text-right">32.1</td>
803
+ <td class="text-right">1.2%</td>
804
+ <td class="text-right font-bold">78</td>
805
+ </tr>
806
+ <tr class="border-b border-realty-border">
807
+ <td class="py-2">Berlin</td>
808
+ <td class="text-right">€5,850</td>
809
+ <td class="text-right text-realty-neon-green">+4.2%</td>
810
+ <td class="text-right">€14.20</td>
811
+ <td class="text-right">3.5%</td>
812
+ <td class="text-right">26.3</td>
813
+ <td class="text-right">1.8%</td>
814
+ <td class="text-right font-bold">85</td>
815
+ </tr>
816
+ <tr class="border-b border-realty-border">
817
+ <td class="py-2">Hamburg</td>
818
+ <td class="text-right">€5,250</td>
819
+ <td class="text-right text-realty-neon-green">+3.8%</td>
820
+ <td class="text-right">€13.80</td>
821
+ <td class="text-right">3.6%</td>
822
+ <td class="text-right">25.9</td>
823
+ <td class="text-right">2.1%</td>
824
+ <td class="text-right font-bold">82</td>
825
+ </tr>
826
+ <tr>
827
+ <td class="py-2">Leipzig</td>
828
+ <td class="text-right">€2,950</td>
829
+ <td class="text-right text-realty-neon-green">+6.5%</td>
830
+ <td class="text-right">€9.80</td>
831
+ <td class="text-right">4.2%</td>
832
+ <td class="text-right">21.4</td>
833
+ <td class="text-right">2.5%</td>
834
+ <td class="text-right font-bold">91</td>
835
+ </tr>
836
+ </tbody>
837
+ </table>
838
+ </div>
839
+ </div>
840
+ </section>
841
+
842
+ <!-- Other sections (Buying, Renting, Selling, Investments) would follow similar optimized patterns -->
843
+ </main>
844
+
845
+ <script>
846
+ // Initialize all charts with optimized settings
847
+ document.addEventListener('DOMContentLoaded', function() {
848
+ // Price Development Chart
849
+ const priceCtx = document.getElementById('priceDevelopmentChart').getContext('2d');
850
+ const priceChart = new Chart(priceCtx, {
851
+ type: 'line',
852
+ data: {
853
+ labels: ['2018', '2019', '2020', '2021', '2022', '2023'],
854
+ datasets: [
855
+ {
856
+ label: 'Berlin',
857
+ data: [3800, 4200, 4500, 5200, 5700, 5850],
858
+ borderColor: '#00f5ff',
859
+ backgroundColor: 'rgba(0, 245, 255, 0.1)',
860
+ borderWidth: 2,
861
+ tension: 0.3,
862
+ pointRadius: 3,
863
+ pointBackgroundColor: '#00f5ff'
864
+ },
865
+ {
866
+ label: 'Munich',
867
+ data: [5800, 6200, 6500, 6800, 7000, 7200],
868
+ borderColor: '#9d00ff',
869
+ backgroundColor: 'rgba(157, 0, 255, 0.1)',
870
+ borderWidth: 2,
871
+ tension: 0.3,
872
+ pointRadius: 3,
873
+ pointBackgroundColor: '#9d00ff'
874
+ },
875
+ {
876
+ label: 'Frankfurt',
877
+ data: [4000, 4200, 4400, 4800, 5200, 5400],
878
+ borderColor: '#ff00f5',
879
+ backgroundColor: 'rgba(255, 0, 245, 0.1)',
880
+ borderWidth: 2,
881
+ tension: 0.3,
882
+ pointRadius: 3,
883
+ pointBackgroundColor: '#ff00f5'
884
+ }
885
+ ]
886
+ },
887
+ options: {
888
+ responsive: true,
889
+ maintainAspectRatio: false,
890
+ plugins: {
891
+ legend: {
892
+ display: false
893
+ },
894
+ tooltip: {
895
+ mode: 'index',
896
+ intersect: false,
897
+ backgroundColor: '#161622',
898
+ titleColor: '#e0e0e0',
899
+ bodyColor: '#e0e0e0',
900
+ borderColor: '#2a2a3a',
901
+ borderWidth: 1,
902
+ padding: 10,
903
+ callbacks: {
904
+ label: function(context) {
905
+ return context.dataset.label + ': €' + context.raw.toLocaleString();
906
+ }
907
+ }
908
+ }
909
+ },
910
+ scales: {
911
+ x: {
912
+ grid: {
913
+ color: 'rgba(42, 42, 58, 0.5)'
914
+ },
915
+ ticks: {
916
+ color: '#a0a0a0'
917
+ }
918
+ },
919
+ y: {
920
+ grid: {
921
+ color: 'rgba(42, 42, 58, 0.5)'
922
+ },
923
+ ticks: {
924
+ color: '#a0a0a0',
925
+ callback: function(value) {
926
+ return '€' + value.toLocaleString();
927
+ }
928
+ }
929
+ }
930
+ },
931
+ animation: {
932
+ duration: 1000,
933
+ easing: 'easeOutQuart'
934
+ }
935
+ }
936
+ });
937
+
938
+ // Rental Yield Chart
939
+ const yieldCtx = document.getElementById('rentalYieldChart').getContext('2d');
940
+ const yieldChart = new Chart(yieldCtx, {
941
+ type: 'bar',
942
+ data: {
943
+ labels: ['Berlin', 'Munich', 'Hamburg', 'Frankfurt', 'Leipzig', 'Cologne'],
944
+ datasets: [{
945
+ label: 'Gross Yield',
946
+ data: [3.8, 2.8, 3.5, 3.6, 4.2, 3.9],
947
+ backgroundColor: [
948
+ 'rgba(0, 255, 157, 0.7)',
949
+ 'rgba(157, 0, 255, 0.7)',
950
+ 'rgba(0, 245, 255, 0.7)',
951
+ 'rgba(255, 157, 0, 0.7)',
952
+ 'rgba(255, 0, 245, 0.7)',
953
+ 'rgba(0, 157, 255, 0.7)'
954
+ ],
955
+ borderColor: [
956
+ '#00ff9d',
957
+ '#9d00ff',
958
+ '#00f5ff',
959
+ '#ff9d00',
960
+ '#ff00f5',
961
+ '#009dff'
962
+ ],
963
+ borderWidth: 1
964
+ }]
965
+ },
966
+ options: {
967
+ responsive: true,
968
+ maintainAspectRatio: false,
969
+ plugins: {
970
+ legend: {
971
+ display: false
972
+ },
973
+ tooltip: {
974
+ backgroundColor: '#161622',
975
+ titleColor: '#e0e0e0',
976
+ bodyColor: '#e0e0e0',
977
+ borderColor: '#2a2a3a',
978
+ borderWidth: 1,
979
+ padding: 10,
980
+ callbacks: {
981
+ label: function(context) {
982
+ return context.raw + '% yield';
983
+ }
984
+ }
985
+ },
986
+ datalabels: {
987
+ display: false
988
+ }
989
+ },
990
+ scales: {
991
+ x: {
992
+ grid: {
993
+ display: false
994
+ },
995
+ ticks: {
996
+ color: '#a0a0a
997
+ </html>