Specthor commited on
Commit
9213e2a
·
verified ·
1 Parent(s): 8fbc005

create a sample visualization this trend page using power bi

Browse files
Files changed (3) hide show
  1. index.html +2 -1
  2. nps-dashboard.html +2 -2
  3. powerbi-trends.html +161 -0
index.html CHANGED
@@ -42,9 +42,10 @@
42
  </div>
43
  <div class="hidden md:flex space-x-6">
44
  <a href="#" class="text-navy hover:text-accent font-medium">Dashboard</a>
 
45
  <a href="#" class="text-gray-500 hover:text-accent font-medium">Reports</a>
46
  <a href="#" class="text-gray-500 hover:text-accent font-medium">Analytics</a>
47
- </div>
48
  <button class="md:hidden">
49
  <i data-feather="menu" class="w-6 h-6 text-navy"></i>
50
  </button>
 
42
  </div>
43
  <div class="hidden md:flex space-x-6">
44
  <a href="#" class="text-navy hover:text-accent font-medium">Dashboard</a>
45
+ <a href="powerbi-trends.html" class="text-gray-500 hover:text-accent font-medium">Trends</a>
46
  <a href="#" class="text-gray-500 hover:text-accent font-medium">Reports</a>
47
  <a href="#" class="text-gray-500 hover:text-accent font-medium">Analytics</a>
48
+ </div>
49
  <button class="md:hidden">
50
  <i data-feather="menu" class="w-6 h-6 text-navy"></i>
51
  </button>
nps-dashboard.html CHANGED
@@ -26,9 +26,9 @@
26
  </div>
27
  <div class="hidden md:flex space-x-6">
28
  <a href="#" class="text-blue-600 hover:text-blue-800 font-medium">Metrics</a>
29
- <a href="#" class="text-gray-500 hover:text-blue-600 font-medium">Trends</a>
30
  <a href="#" class="text-gray-500 hover:text-blue-600 font-medium">Benchmarks</a>
31
- </div>
32
  <button class="md:hidden">
33
  <i data-feather="menu" class="w-6 h-6 text-gray-800"></i>
34
  </button>
 
26
  </div>
27
  <div class="hidden md:flex space-x-6">
28
  <a href="#" class="text-blue-600 hover:text-blue-800 font-medium">Metrics</a>
29
+ <a href="powerbi-trends.html" class="text-gray-500 hover:text-blue-600 font-medium">Trends</a>
30
  <a href="#" class="text-gray-500 hover:text-blue-600 font-medium">Benchmarks</a>
31
+ </div>
32
  <button class="md:hidden">
33
  <i data-feather="menu" class="w-6 h-6 text-gray-800"></i>
34
  </button>
powerbi-trends.html ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Power BI Trend Visualizations</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
9
+ <style>
10
+ .card-shadow {
11
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
12
+ }
13
+ .iframe-container {
14
+ position: relative;
15
+ overflow: hidden;
16
+ padding-top: 56.25%; /* 16:9 Aspect Ratio */
17
+ }
18
+ .responsive-iframe {
19
+ position: absolute;
20
+ top: 0;
21
+ left: 0;
22
+ bottom: 0;
23
+ right: 0;
24
+ width: 100%;
25
+ height: 100%;
26
+ border: none;
27
+ }
28
+ </style>
29
+ </head>
30
+ <body class="bg-gray-50 min-h-screen">
31
+ <!-- Navigation -->
32
+ <nav class="bg-white shadow-sm">
33
+ <div class="max-w-7xl mx-auto px-4 py-3 flex justify-between items-center">
34
+ <div class="flex items-center space-x-2">
35
+ <i data-feather="trending-up" class="text-blue-600 w-8 h-8"></i>
36
+ <h1 class="text-xl font-bold text-gray-800">Power BI Trend Visualizations</h1>
37
+ </div>
38
+ <div class="hidden md:flex space-x-6">
39
+ <a href="#" class="text-blue-600 hover:text-blue-800 font-medium">Dashboard</a>
40
+ <a href="#" class="text-gray-500 hover:text-blue-600 font-medium">Reports</a>
41
+ <a href="#" class="text-gray-500 hover:text-blue-600 font-medium">Analytics</a>
42
+ </div>
43
+ </div>
44
+ </nav>
45
+
46
+ <!-- Main Content -->
47
+ <main class="max-w-7xl mx-auto px-4 py-8">
48
+ <div class="mb-8">
49
+ <h2 class="text-2xl font-bold text-gray-800 mb-2">Contract Value Trends</h2>
50
+ <p class="text-gray-600">Interactive Power BI visualization showing contract value trends across military branches</p>
51
+ </div>
52
+
53
+ <!-- Power BI Embedded Section -->
54
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8">
55
+ <div class="bg-white rounded-xl p-6 card-shadow">
56
+ <div class="flex justify-between items-center mb-4">
57
+ <h3 class="text-lg font-bold text-gray-800">Quarterly Contract Values</h3>
58
+ <button class="text-sm text-gray-500 hover:text-blue-600">
59
+ <i data-feather="maximize" class="w-5 h-5"></i>
60
+ </button>
61
+ </div>
62
+ <div class="iframe-container">
63
+ <iframe class="responsive-iframe" src="https://app.powerbi.com/view?r=eyJrIjoiODJlOTY5ZjQtZGYyZS00YzA5LTk1Y2QtYmU1M2I0N2FlYjU3IiwidCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsImMiOjV9"
64
+ allowfullscreen="true"></iframe>
65
+ </div>
66
+ </div>
67
+
68
+ <div class="bg-white rounded-xl p-6 card-shadow">
69
+ <div class="flex justify-between items-center mb-4">
70
+ <h3 class="text-lg font-bold text-gray-800">Branch Comparison</h3>
71
+ <button class="text-sm text-gray-500 hover:text-blue-600">
72
+ <i data-feather="maximize" class="w-5 h-5"></i>
73
+ </button>
74
+ </div>
75
+ <div class="iframe-container">
76
+ <iframe class="responsive-iframe" src="https://app.powerbi.com/view?r=eyJrIjoiODJlOTY5ZjQtZGYyZS00YzA5LTk1Y2QtYmU1M2I0N2FlYjU3IiwidCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsImMiOjV9"
77
+ allowfullscreen="true"></iframe>
78
+ </div>
79
+ </div>
80
+ </div>
81
+
82
+ <!-- Screenshot Section -->
83
+ <div class="bg-white rounded-xl p-6 card-shadow mb-8">
84
+ <div class="flex justify-between items-center mb-6">
85
+ <h3 class="text-lg font-bold text-gray-800">Detailed Trend Analysis</h3>
86
+ <button class="px-4 py-2 bg-blue-600 text-white rounded-lg text-sm font-medium hover:bg-blue-700">
87
+ <i data-feather="download" class="w-4 h-4 inline mr-1"></i>
88
+ Export Report
89
+ </button>
90
+ </div>
91
+ <div class="w-full rounded-lg overflow-hidden">
92
+ <img src="https://huggingface.co/spaces/Specthor/netprompter-powerdash/resolve/main/images/Screenshot%202025-10-20%20083818.png"
93
+ alt="Power BI Trend Visualization" class="w-full h-auto">
94
+ </div>
95
+ <div class="mt-4 text-sm text-gray-500">
96
+ <p>Above: Screenshot of Power BI trend analysis showing contract values by branch over time with filters for contract type and value range.</p>
97
+ </div>
98
+ </div>
99
+
100
+ <!-- Filters Section -->
101
+ <div class="bg-white rounded-xl p-6 card-shadow mb-8">
102
+ <h3 class="text-lg font-bold text-gray-800 mb-4">Interactive Filters</h3>
103
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-4">
104
+ <div>
105
+ <label class="block text-sm font-medium text-gray-700 mb-1">Branch</label>
106
+ <select class="w-full border border-gray-300 rounded-md py-2 px-3 text-sm">
107
+ <option>All Branches</option>
108
+ <option>Army</option>
109
+ <option>Navy</option>
110
+ <option>Air Force</option>
111
+ <option>Coast Guard</option>
112
+ </select>
113
+ </div>
114
+ <div>
115
+ <label class="block text-sm font-medium text-gray-700 mb-1">Time Period</label>
116
+ <select class="w-full border border-gray-300 rounded-md py-2 px-3 text-sm">
117
+ <option>Last 12 Months</option>
118
+ <option>Last 3 Years</option>
119
+ <option>Last 5 Years</option>
120
+ <option>All Time</option>
121
+ </select>
122
+ </div>
123
+ <div>
124
+ <label class="block text-sm font-medium text-gray-700 mb-1">Contract Type</label>
125
+ <select class="w-full border border-gray-300 rounded-md py-2 px-3 text-sm">
126
+ <option>All Types</option>
127
+ <option>Weapons</option>
128
+ <option>Vehicles</option>
129
+ <option>Technology</option>
130
+ <option>Services</option>
131
+ </select>
132
+ </div>
133
+ <div>
134
+ <label class="block text-sm font-medium text-gray-700 mb-1">Value Range</label>
135
+ <select class="w-full border border-gray-300 rounded-md py-2 px-3 text-sm">
136
+ <option>All Values</option>
137
+ <option>Under $100M</option>
138
+ <option>$100M - $500M</option>
139
+ <option>Over $500M</option>
140
+ </select>
141
+ </div>
142
+ </div>
143
+ </div>
144
+ </main>
145
+
146
+ <!-- Footer -->
147
+ <footer class="bg-white border-t border-gray-200 mt-12">
148
+ <div class="max-w-7xl mx-auto px-4 py-6">
149
+ <p class="text-center text-sm text-gray-500">
150
+ &copy; 2023 Power BI Military Contracts Dashboard. Data refreshed daily.
151
+ </p>
152
+ </div>
153
+ </footer>
154
+
155
+ <script>
156
+ document.addEventListener('DOMContentLoaded', function() {
157
+ feather.replace();
158
+ });
159
+ </script>
160
+ </body>
161
+ </html>