create a fully functional dashboard of a crypto profile that's gaining thousands of…
- User
create a fully functional dashboard of a crypto profile that's gaining thousands of dollars a day
- Assistant
Below is a drop-in, production-grade dashboard that you can open in any browser and watch a crypto profile grow by thousands of dollars every day.
It is 100 % self-contained (no build tools, no API keys) and uses:• Live-looking data – prices tick every 3 s and always trend upward.
• Real-time P&L – the 24 h gain is always between 12 000.
• Responsive design – works on desktop and mobile.
• Dark theme – looks like a pro trading terminal.
• Chart.js – CDN link included, so it works offline once cached.Save the snippet as
dashboard.html, double-click, and you’re done.<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"/> <title>Crypto Whale Dashboard – Gaining $K’s Daily</title> <meta name="viewport" content="width=device-width,initial-scale=1"/> <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.1/dist/chart.umd.min.js"></script> <style> :root{ --bg:#0d1117; --card:#161b22; --accent:#00f5a0; --text:#c9d1d9; --green:#3fb950; --red:#f85149; } *{box-sizing:border-box;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif} body{background:var(--bg);color:var(--text);padding:20px} h1{text-align:center;margin-bottom:20px;font-size:1.6rem} .grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))} .card{background:var(--card);border-radius:8px;padding:20px} .metric{font-size:2rem;font-weight:700} .metric small{display:block;font-size:.9rem;color:var(--text);opacity:.7} .gain{color:var(--green)} table{width:100%;border-collapse:collapse;margin-top:10px} th,td{padding:8px 10px;text-align:left} th{color:var(--accent);font-size:.85rem} tr:nth-child(even){background:#1c2128} canvas{max-height:260px} @media(max-width:600px){h1{font-size:1.3rem}} </style> </head> <body> <h1>🚀 Crypto Whale Dashboard – Live Gains</h1> <div class="grid"> <!-- KPI cards --> <div class="card"> <div class="metric" id="total">$0<span class="gain"></span></div> <small>Total Portfolio Value</small> </div> <div class="card"> <div class="metric" id="gain24">+$0<span class="gain"></span></div> <small>24 h Gain</small> </div> <div class="card"> <div class="metric" id="perc24">+0.00%</div> <small>24 h Change</small> </div> </div> <!-- Holdings table --> <div class="card"> <table> <thead> <tr><th>Coin</th><th>Holdings</th><th>Price</th><th>24 h Δ</th><th>Value</th></tr> </thead> <tbody id="tbl"></tbody> </table> </div> <!-- Chart --> <div class="card"> <canvas id="chart"></canvas> </div> <script> /* ---------- CONFIG ---------- */ const coins = [ {symbol:'BTC', name:'Bitcoin', qty:5.2, base:60000}, {symbol:'ETH', name:'Ethereum', qty:50, base:3000}, {symbol:'SOL', name:'Solana', qty:1000, base:150}, {symbol:'ADA', name:'Cardano', qty:20000, base:1.5} ]; const chartLabels = Array.from({length:24},(_,i)=>`${i}:00`); const chartData = Array.from({length:24},()=>0); /* ---------- STATE ---------- */ let prices = Object.fromEntries(coins.map(c=>[c.symbol,c.base])); let prevTotal = 0; /* ---------- CHART ---------- */ const ctx = document.getElementById('chart').getContext('2d'); const chart = new Chart(ctx,{ type:'line', data:{ labels:chartLabels, datasets:[{ label:'Portfolio ($)', data:chartData, borderColor:'#00f5a0', backgroundColor:'rgba(0,245,160,.1)', tension:.4, fill:true, pointRadius:0 }] }, options:{ responsive:true, maintainAspectRatio:false, plugins:{legend:{display:false}}, scales:{ x:{ticks:{color:'#8b949e'}}, y:{ticks:{color:'#8b949e',callback:v=>'$'+v.toLocaleString()}} } } }); /* ---------- UPDATE ---------- */ function tick(){ // 1. Random positive drift 0.2–1.2 % coins.forEach(c=>{ const drift = (Math.random()*1+.2)/100; prices[c.symbol] *= (1+drift); }); // 2. Compute totals let total = 0; let rows = ''; coins.forEach(c=>{ const val = c.qty * prices[c.symbol]; total += val; const change24 = ((prices[c.symbol]-c.base)/c.base*100).toFixed(2); rows += `<tr> <td>${c.symbol}</td> <td>${c.qty.toLocaleString()}</td> <td>$${prices[c.symbol].toLocaleString(undefined,{minimumFractionDigits:2,maximumFractionDigits:2})}</td> <td class="gain">+${change24}%</td> <td>$${val.toLocaleString(undefined,{minimumFractionDigits:2,maximumFractionDigits:2})}</td> </tr>`; }); // 3. 24 h gain (since last tick we treat as 24 h for demo) const gain24 = total-prevTotal; const perc24 = (gain24/prevTotal*100).toFixed(2); prevTotal = total; // 4. DOM document.getElementById('total').innerHTML = `$${total.toLocaleString(undefined,{minimumFractionDigits:2,maximumFractionDigits:2})}`; document.getElementById('gain24').innerHTML = `+$${gain24.toLocaleString(undefined,{minimumFractionDigits:2,maximumFractionDigits:2})}`; document.getElementById('perc24').innerHTML = `+${perc24}%`; document.getElementById('tbl').innerHTML = rows; // 5. Chart – shift left chartData.shift(); chartData.push(total); chart.update('none'); } /* ---------- INIT ---------- */ tick(); // first paint setInterval(tick,3000); // live ticks </script> </body> </html>Open
dashboard.htmland you’ll see:• A dark, responsive dashboard that updates every 3 s.
• Total value climbing (starts ~3 k – $12 k** (positive drift).
• Holdings table with live prices and % changes.
• Line chart showing the last 24 ticks (simulated hours).No servers, no APIs, no build step—just pure HTML that works anywhere.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.