Architect a story-driven analytics experience combining narrative, highlights, and…
- User
Architect a story-driven analytics experience combining narrative, highlights, and drillable metrics.
Assistant
The user wants a story-driven analytics experience - this is an interesting challenge that combines narrative storytelling with data visualization. Let me think about how to make this engaging and visually impressive.
Key elements I need:
- A compelling narrative flow that guides users through data
- Highlights/key insights that stand out
- Drillable/interactive metrics that reveal more detail
- Dynamic animations and transitions
- A sophisticated visual design (no boring templates!)
Design Concept:
- I'll create a "Journey Through Data" experience - perhaps a company's growth story or a product launch analytics
- Use a scrolling narrative where sections unlock and animate as you progress
- Each chapter reveals new metrics with animated charts
- Clicking on metrics drills down into detailed views with more data
Visual Style:
- Dark theme with high contrast
- Accent colors: perhaps gold/amber and cyan for data points
- Particle effects for atmosphere
- Smooth scroll-triggered animations
- Animated counters and charts
Technical Approach:
- Custom scroll-based storytelling
- Interactive charts rendered with Canvas
- Animated number counters
- Chapter-based navigation
- Modal/detail drill-down panels
- Mouse-following subtle effects
Let me create something that feels like a premium analytics dashboard meets interactive editorial:
Structure:
- Hero with animated title and key headline metric
- Chapter navigation
- Story sections with:
- Narrative text
- Key highlight cards
- Interactive charts
- Drillable metrics
- Animated transitions between sections
- Interactive data exploration panel
Let me write this comprehensively.
Story-Driven Analytics Experience
I'll create an immersive analytics narrative that guides users through data like a story, with chapters, animated reveals, and drillable metrics. The concept: "Atlas Growth Story" - a company's quarterly journey revealed through data.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Atlas Growth Story | Analytics Narrative</title> <script src="https://cdn.tailwindcss.com"></script> <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=DM+Sans:wght@400;500;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap" rel="stylesheet"> <style> :root { --bg: #0a0a0f; --bg-elevated: #12121a; --fg: #f4f4f7; --muted: #6b6b7b; --accent: #00d4aa; --accent-warm: #ff7b54; --card: #16161f; --border: #2a2a3a; --glow: rgba(0, 212, 170, 0.15); } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--fg); overflow-x: hidden; } h1, h2, h3, h4, .font-display { font-family: 'Space Grotesk', sans-serif; } /* Background noise texture */ .noise-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.03; z-index: 1000; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"); } /* Ambient background blobs */ .ambient-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; } .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; animation: float 20s ease-in-out infinite; } .blob-1 { width: 600px; height: 600px; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); top: -200px; right: -200px; animation-delay: 0s; } .blob-2 { width: 500px; height: 500px; background: radial-gradient(circle, var(--accent-warm) 0%, transparent 70%); bottom: -150px; left: -150px; animation-delay: -7s; } .blob-3 { width: 400px; height: 400px; background: radial-gradient(circle, #4a5fff 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -14s; opacity: 0.2; } @keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -30px) scale(1.05); } 66% { transform: translate(-20px, 20px) scale(0.95); } } /* Progress bar */ .story-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-warm)); z-index: 100; transform-origin: left; transform: scaleX(0); transition: transform 0.1s ease-out; } /* Chapter navigation */ .chapter-nav { position: fixed; right: 24px; top: 50%; transform: translateY(-50%); z-index: 50; display: flex; flex-direction: column; gap: 12px; } .chapter-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all 0.3s ease; position: relative; } .chapter-dot::before { content: attr(data-chapter); position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; } .chapter-dot:hover::before { opacity: 1; } .chapter-dot.active { background: var(--accent); box-shadow: 0 0 12px var(--accent); } .chapter-dot:hover { transform: scale(1.3); } /* Hero section */ .hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; padding: 2rem; } .hero-title { font-size: clamp(2.5rem, 8vw, 6rem); font-weight: 700; letter-spacing: -0.03em; text-align: center; opacity: 0; transform: translateY(40px); animation: revealUp 1s ease forwards; } .hero-subtitle { font-size: clamp(1rem, 2vw, 1.5rem); color: var(--muted); margin-top: 1rem; opacity: 0; transform: translateY(30px); animation: revealUp 1s ease 0.3s forwards; } .hero-metric { margin-top: 4rem; opacity: 0; transform: translateY(20px); animation: revealUp 1s ease 0.6s forwards; } .big-number { font-size: clamp(4rem, 12vw, 10rem); font-weight: 300; font-family: 'Space Grotesk', sans-serif; background: linear-gradient(135deg, var(--fg) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; } .big-number-label { font-size: 1rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.5rem; } @keyframes revealUp { to { opacity: 1; transform: translateY(0); } } /* Scroll indicator */ .scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0; animation: revealUp 1s ease 1s forwards; } .scroll-indicator svg { animation: bounce 2s ease infinite; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } } /* Story sections */ .story-section { min-height: 100vh; padding: 6rem 2rem; position: relative; opacity: 0; transform: translateY(60px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); } .story-section.visible { opacity: 1; transform: translateY(0); } .section-container { max-width: 1200px; margin: 0 auto; } .chapter-label { font-size: 0.75rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem; font-weight: 600; } .chapter-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.5rem; line-height: 1.1; } .chapter-narrative { font-size: 1.125rem; line-height: 1.8; color: var(--muted); max-width: 600px; margin-bottom: 3rem; } /* Highlight cards */ .highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; } .highlight-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; cursor: pointer; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden; } .highlight-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-warm)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; } .highlight-card:hover::before { transform: scaleX(1); } .highlight-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px var(--glow); } .highlight-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--accent) 0%, rgba(0, 212, 170, 0.2) 100%); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; } .highlight-value { font-size: 2.5rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; margin-bottom: 0.25rem; } .highlight-label { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; } .highlight-trend { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 600; padding: 0.25rem 0.5rem; border-radius: 4px; } .trend-up { color: var(--accent); background: rgba(0, 212, 170, 0.1); } .trend-down { color: var(--accent-warm); background: rgba(255, 123, 84, 0.1); } /* Chart container */ .chart-container { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; margin-top: 2rem; } .chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; } .chart-title { font-size: 1.25rem; font-weight: 600; } .chart-tabs { display: flex; gap: 0.5rem; } .chart-tab { padding: 0.5rem 1rem; font-size: 0.875rem; background: transparent; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); cursor: pointer; transition: all 0.3s ease; } .chart-tab:hover { border-color: var(--accent); color: var(--fg); } .chart-tab.active { background: var(--accent); border-color: var(--accent); color: var(--bg); } .chart-canvas { width: 100%; height: 300px; position: relative; } #mainChart { width: 100%; height: 100%; } /* Drill-down panel */ .drill-panel { position: fixed; top: 0; right: 0; width: 480px; height: 100vh; background: var(--bg-elevated); border-left: 1px solid var(--border); z-index: 200; transform: translateX(100%); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); overflow-y: auto; padding: 2rem; } .drill-panel.open { transform: translateX(0); } .drill-panel-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 199; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } .drill-panel-overlay.open { opacity: 1; pointer-events: auto; } .drill-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 40px; height: 40px; border-radius: 50%; background: var(--card); border: 1px solid var(--border); color: var(--fg); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; } .drill-close:hover { background: var(--accent); color: var(--bg); } .drill-header { margin-bottom: 2rem; padding-right: 3rem; } .drill-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; } .drill-subtitle { color: var(--muted); } .drill-metric { background: var(--card); border-radius: 12px; padding: 1.5rem; margin-bottom: 1rem; border: 1px solid var(--border); } .drill-metric-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; } .drill-metric-value { font-size: 2rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; } .drill-breakdown { margin-top: 2rem; } .drill-breakdown-title { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; } .breakdown-item { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: var(--card); border-radius: 8px; margin-bottom: 0.5rem; border: 1px solid var(--border); transition: all 0.3s ease; } .breakdown-item:hover { border-color: var(--accent); } .breakdown-bar { width: 100%; height: 4px; background: var(--border); border-radius: 2px; margin-top: 0.75rem; overflow: hidden; } .breakdown-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-warm)); border-radius: 2px; transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1); } /* Timeline */ .timeline { position: relative; padding-left: 2rem; margin-top: 3rem; } .timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--accent), var(--accent-warm), var(--border)); } .timeline-item { position: relative; padding-bottom: 2rem; padding-left: 2rem; opacity: 0; transform: translateX(-20px); transition: all 0.6s ease; } .timeline-item.visible { opacity: 1; transform: translateX(0); } .timeline-item::before { content: ''; position: absolute; left: -2rem; top: 0.5rem; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); box-shadow: 0 0 0 3px var(--accent); } .timeline-date { font-size: 0.75rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; } .timeline-title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; } .timeline-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.6; } /* KPI rings */ .kpi-rings { display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap; margin: 3rem 0; } .kpi-ring { text-align: center; position: relative; } .kpi-ring svg { width: 140px; height: 140px; transform: rotate(-90deg); } .kpi-ring-bg { fill: none; stroke: var(--border); stroke-width: 8; } .kpi-ring-fill { fill: none; stroke: url(#ringGradient); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 377; stroke-dashoffset: 377; transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1); } .kpi-ring.animated .kpi-ring-fill { stroke-dashoffset: var(--offset); } .kpi-ring-value { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 1.75rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; } .kpi-ring-label { margin-top: 1rem; font-size: 0.875rem; color: var(--muted); } /* Footer */ .story-footer { padding: 4rem 2rem; text-align: center; border-top: 1px solid var(--border); margin-top: 4rem; } .footer-logo { font-size: 1.5rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; margin-bottom: 1rem; } .footer-text { color: var(--muted); font-size: 0.875rem; } /* Reduced motion */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } } /* Mobile responsive */ @media (max-width: 768px) { .chapter-nav { display: none; } .drill-panel { width: 100%; } .kpi-rings { gap: 2rem; } .kpi-ring svg { width: 100px; height: 100px; } .kpi-ring-value { font-size: 1.25rem; } .chart-header { flex-direction: column; align-items: flex-start; gap: 1rem; } .chart-tabs { width: 100%; overflow-x: auto; } } </style> </head> <body> <div class="noise-overlay"></div> <div class="ambient-bg"> <div class="blob blob-1"></div> <div class="blob blob-2"></div> <div class="blob blob-3"></div> </div> <div class="story-progress" id="storyProgress"></div> <nav class="chapter-nav" id="chapterNav" aria-label="Chapter navigation"> <button class="chapter-dot active" data-chapter="Intro" data-section="hero" aria-label="Navigate to Introduction"></button> <button class="chapter-dot" data-chapter="Origins" data-section="chapter1" aria-label="Navigate to Origins"></button> <button class="chapter-dot" data-chapter="Growth" data-section="chapter2" aria-label="Navigate to Growth"></button> <button class="chapter-dot" data-chapter="Impact" data-section="chapter3" aria-label="Navigate to Impact"></button> <button class="chapter-dot" data-chapter="Future" data-section="chapter4" aria-label="Navigate to Future"></button> </nav> <!-- Hero Section --> <section class="hero" id="hero"> <h1 class="hero-title">The Atlas Growth Story</h1> <p class="hero-subtitle">Q1-Q4 2024 Performance Narrative</p> <div class="hero-metric"> <div class="big-number" id="heroBigNumber">0</div> <div class="big-number-label">Year-over-Year Revenue Growth</div> </div> <div class="scroll-indicator"> <span>Scroll to explore</span> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M12 5v14M5 12l7 7 7-7"/> </svg> </div> </section> <!-- Chapter 1: Origins --> <section class="story-section" id="chapter1"> <div class="section-container"> <div class="chapter-label">Chapter 01</div> <h2 class="chapter-title">Where It All Began</h2> <p class="chapter-narrative"> In January 2024, Atlas launched with a simple mission: democratize access to enterprise analytics. What started as a team of 12 in a converted warehouse would become the fastest-growing B2B startup of the year. </p> <div class="highlight-grid"> <div class="highlight-card" data-metric="users" tabindex="0" role="button" aria-label="View user details"> <div class="highlight-icon"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#0a0a0f" stroke-width="2"> <path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/> <circle cx="9" cy="7" r="4"/> <path d="M23 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75"/> </svg> </div> <div class="highlight-value">847K</div> <div class="highlight-label">Active Users</div> <span class="highlight-trend trend-up"> <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M18 15l-6-6-6 6"/> </svg> +312% </span> </div> <div class="highlight-card" data-metric="revenue" tabindex="0" role="button" aria-label="View revenue details"> <div class="highlight-icon"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#0a0a0f" stroke-width="2"> <line x1="12" y1="1" x2="12" y2="23"/> <path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"/> </svg> </div> <div class="highlight-value">$24.7M</div> <div class="highlight-label">Annual Recurring Revenue</div> <span class="highlight-trend trend-up"> <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M18 15l-6-6-6 6"/> </svg> +847% </span> </div> <div class="highlight-card" data-metric="nps" tabindex="0" role="button" aria-label="View NPS details"> <div class="highlight-icon"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#0a0a0f" stroke-width="2"> <path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/> <polyline points="22 4 12 14.01 9 11.01"/> </svg> </div> <div class="highlight-value">78</div> <div class="highlight-label">Net Promoter Score</div> <span class="highlight-trend trend-up"> <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M18 15l-6-6-6 6"/> </svg> +34 pts </span> </div> </div> <div class="timeline"> <div class="timeline-item"> <div class="timeline-date">January 2024</div> <div class="timeline-title">Platform Launch</div> <div class="timeline-desc">Atlas v1.0 goes live with 3 core analytics modules and 47 beta customers.</div> </div> <div class="timeline-item"> <div class="timeline-date">February 2024</div> <div class="timeline-title">First 1,000 Users</div> <div class="timeline-desc">Word-of-mouth drives organic growth. Customer acquisition cost drops to $12.</div> </div> <div class="timeline-item"> <div class="timeline-date">March 2024</div> <div class="timeline-title">Series A Closed</div> <div class="timeline-desc">$18M round led by Horizon Ventures to accelerate product development.</div> </div> </div> </div> </section> <!-- Chapter 2: Growth --> <section class="story-section" id="chapter2"> <div class="section-container"> <div class="chapter-label">Chapter 02</div> <h2 class="chapter-title">The Growth Engine</h2> <p class="chapter-narrative"> By Q2, our product-led growth strategy proved itself. Viral loops, embedded analytics, and seamless onboarding created a self-reinforcing cycle of adoption and expansion. </p> <div class="kpi-rings"> <svg width="0" height="0" style="position:absolute;"> <defs> <linearGradient id="ringGradient" x1="0%" y1="0%" x2="100%" y2="100%"> <stop offset="0%" stop-color="#00d4aa"/> <stop offset="100%" stop-color="#ff7b54"/> </linearGradient> </defs> </svg> <div class="kpi-ring" data-value="94"> <svg viewBox="0 0 128 128"> <circle class="kpi-ring-bg" cx="64" cy="64" r="60"/> <circle class="kpi-ring-fill" cx="64" cy="64" r="60"/> </svg> <div class="kpi-ring-value">94%</div> <div class="kpi-ring-label">Retention Rate</div> </div> <div class="kpi-ring" data-value="87"> <svg viewBox="0 0 128 128"> <circle class="kpi-ring-bg" cx="64" cy="64" r="60"/> <circle class="kpi-ring-fill" cx="64" cy="64" r="60"/> </svg> <div class="kpi-ring-value">87%</div> <div class="kpi-ring-label">Feature Adoption</div> </div> <div class="kpi-ring" data-value="72"> <svg viewBox="0 0 128 128"> <circle class="kpi-ring-bg" cx="64" cy="64" r="60"/> <circle class="kpi-ring-fill" cx="64" cy="64" r="60"/> </svg> <div class="kpi-ring-value">72%</div> <div class="kpi-ring-label">Expansion Revenue</div> </div> </div> <div class="chart-container"> <div class="chart-header"> <h3 class="chart-title">Monthly Growth Trajectory</h3> <div class="chart-tabs"> <button class="chart-tab active" data-view="users">Users</button> <button class="chart-tab" data-view="revenue">Revenue</button> <button class="chart-tab" data-view="engagement">Engagement</button> </div> </div> <div class="chart-canvas"> <canvas id="mainChart"></canvas> </div> </div> </div> </section> <!-- Chapter 3: Impact --> <section class="story-section" id="chapter3"> <div class="section-container"> <div class="chapter-label">Chapter 03</div> <h2 class="chapter-title">Measurable Impact</h2> <p class="chapter-narrative"> Numbers tell stories. Behind every data point is a customer who saved time, discovered an insight, or made a better decision. Here's what Atlas enabled. </p> <div class="highlight-grid"> <div class="highlight-card" data-metric="time" tabindex="0" role="button" aria-label="View time saved details"> <div class="highlight-icon" style="background: linear-gradient(135deg, #4a5fff 0%, rgba(74, 95, 255, 0.2) 100%);"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#0a0a0f" stroke-width="2"> <circle cx="12" cy="12" r="10"/> <polyline points="12 6 12 12 16 14"/> </svg> </div> <div class="highlight-value">2.4M</div> <div class="highlight-label">Hours Saved Monthly</div> <span class="highlight-trend trend-up"> <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M18 15l-6-6-6 6"/> </svg> +156% </span> </div> <div class="highlight-card" data-metric="insights" tabindex="0" role="button" aria-label="View insights details"> <div class="highlight-icon" style="background: linear-gradient(135deg, var(--accent-warm) 0%, rgba(255, 123, 84, 0.2) 100%);"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#0a0a0f" stroke-width="2"> <path d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"/> </svg> </div> <div class="highlight-value">14.2M</div> <div class="highlight-label">Insights Generated</div> <span class="highlight-trend trend-up"> <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M18 15l-6-6-6 6"/> </svg> +423% </span> </div> <div class="highlight-card" data-metric="roi" tabindex="0" role="button" aria-label="View ROI details"> <div class="highlight-icon"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#0a0a0f" stroke-width="2"> <path d="M12 2v20M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"/> </svg> </div> <div class="highlight-value">647%</div> <div class="highlight-label">Average Customer ROI</div> <span class="highlight-trend trend-up"> <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M18 15l-6-6-6 6"/> </svg> +89% </span> </div> </div> </div> </section> <!-- Chapter 4: Future --> <section class="story-section" id="chapter4"> <div class="section-container"> <div class="chapter-label">Chapter 04</div> <h2 class="chapter-title">The Road Ahead</h2> <p class="chapter-narrative"> 2025 will be transformative. AI-native analytics, real-time collaboration, and predictive insights are just the beginning. Here's what we're building toward. </p> <div class="highlight-grid"> <div class="highlight-card" data-metric="projection" tabindex="0" role="button" aria-label="View projection details"> <div class="highlight-icon" style="background: linear-gradient(135deg, #ff7b54 0%, rgba(255, 123, 84, 0.2) 100%);"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#0a0a0f" stroke-width="2"> <path d="M22 12h-4l-3 9L9 3l-3 9H2"/> </svg> </div> <div class="highlight-value">$84M</div> <div class="highlight-label">2025 ARR Projection</div> <span class="highlight-trend trend-up"> <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M18 15l-6-6-6 6"/> </svg> 240% growth </span> </div> <div class="highlight-card" data-metric="market" tabindex="0" role="button" aria-label="View market details"> <div class="highlight-icon" style="background: linear-gradient(135deg, #4a5fff 0%, rgba(74, 95, 255, 0.2) 100%);"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#0a0a0f" stroke-width="2"> <circle cx="12" cy="12" r="10"/> <line x1="2" y1="12" x2="22" y2="12"/> <path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/> </svg> </div> <div class="highlight-value">12</div> <div class="highlight-label">New Markets</div> <span class="highlight-trend trend-up"> <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M18 15l-6-6-6 6"/> </svg> Global expansion </span> </div> <div class="highlight-card" data-metric="team" tabindex="0" role="button" aria-label="View team details"> <div class="highlight-icon"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#0a0a0f" stroke-width="2"> <path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/> <circle cx="9" cy="7" r="4"/> <path d="M23 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75"/> </svg> </div> <div class="highlight-value">340</div> <div class="highlight-label">Team Members by Q4</div> <span class="highlight-trend trend-up"> <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <path d="M18 15l-6-6-6 6"/> </svg> Hiring now </span> </div> </div> <div class="timeline" style="margin-top: 4rem;"> <div class="timeline-item"> <div class="timeline-date">Q1 2025</div> <div class="timeline-title">AI Copilot Launch</div> <div class="timeline-desc">Natural language queries meet predictive analytics. Ask anything, get instant insights.</div> </div> <div class="timeline-item"> <div class="timeline-date">Q2 2025</div> <div class="timeline-title">Real-time Collaboration</div> <div class="timeline-desc">Live cursors, shared dashboards, and collaborative exploration for distributed teams.</div> </div> <div class="timeline-item"> <div class="timeline-date">Q3 2025</div> <div class="timeline-title">Enterprise Scale</div> <div class="timeline-desc">SOC 2 Type II, HIPAA compliance, and dedicated infrastructure for enterprise customers.</div> </div> <div class="timeline-item"> <div class="timeline-date">Q4 2025</div> <div class="timeline-title">Global Presence</div> <div class="timeline-desc">Data centers in EU, APAC, and LATAM. Local support in 8 languages.</div> </div> </div> </div> </section> <!-- Footer --> <footer class="story-footer"> <div class="footer-logo">Atlas Analytics</div> <p class="footer-text">The story continues. Join us.</p> </footer> <!-- Drill-down Panel --> <div class="drill-panel-overlay" id="drillOverlay"></div> <div class="drill-panel" id="drillPanel" role="dialog" aria-modal="true" aria-labelledby="drillTitle"> <button class="drill-close" id="drillClose" aria-label="Close panel"> <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <line x1="18" y1="6" x2="6" y2="18"/> <line x1="6" y1="6" x2="18" y2="18"/> </svg> </button> <div class="drill-header"> <h3 class="drill-title" id="drillTitle">Metric Details</h3> <p class="drill-subtitle" id="drillSubtitle">Deep dive into the numbers</p> </div> <div id="drillContent"> <!-- Dynamic content --> </div> </div> <script> // Data const analyticsData = { users: { title: 'User Growth Analysis', subtitle: 'Detailed breakdown of user acquisition and retention', metrics: [ { label: 'Total Users', value: '847,234' }, { label: 'Daily Active', value: '312,456' }, { label: 'Weekly Active', value: '567,890' }, { label: 'Avg. Session', value: '24m 32s' } ], breakdown: [ { name: 'Organic Search', value: 42 }, { name: 'Referrals', value: 28 }, { name: 'Social', value: 18 }, { name: 'Direct', value: 12 } ] }, revenue: { title: 'Revenue Breakdown', subtitle: 'Financial performance across segments', metrics: [ { label: 'ARR', value: '$24.7M' }, { label: 'MRR', value: '$2.06M' }, { label: 'ARPU', value: '$2,412' }, { label: 'LTV', value: '$28,840' } ], breakdown: [ { name: 'Enterprise', value: 48 }, { name: 'Mid-Market', value: 32 }, { name: 'SMB', value: 15 }, { name: 'Startup', value: 5 } ] }, nps: { title: 'Customer Satisfaction', subtitle: 'Net Promoter Score deep dive', metrics: [ { label: 'NPS Score', value: '78' }, { label: 'Promoters', value: '72%' }, { label: 'Passives', value: '22%' }, { label: 'Detractors', value: '6%' } ], breakdown: [ { name: 'Product Quality', value: 89 }, { name: 'Support Experience', value: 84 }, { name: 'Value for Money', value: 76 }, { name: 'Ease of Use', value: 92 } ] }, time: { title: 'Time Savings Impact', subtitle: 'How much time Atlas saves customers', metrics: [ { label: 'Hours/Month', value: '2.4M' }, { label: 'Avg. per User', value: '2.8 hrs' }, { label: 'Value Created', value: '$48M/mo' }, { label: 'Tasks Automated', value: '14.2M' } ], breakdown: [ { name: 'Report Generation', value: 45 }, { name: 'Data Cleaning', value: 28 }, { name: 'Dashboard Updates', value: 17 }, { name: 'Query Building', value: 10 } ] }, insights: { title: 'Insights Generated', subtitle: 'AI-powered discoveries', metrics: [ { label: 'Total Insights', value: '14.2M' }, { label: 'Actionable', value: '8.7M' }, { label: 'Predictive', value: '2.1M' }, { label: 'Anomalies', value: '324K' } ], breakdown: [ { name: 'Trend Detection', value: 38 }, { name: 'Anomaly Alerts', value: 27 }, { name: 'Recommendations', value: 22 }, { name: 'Forecasts', value: 13 } ] }, roi: { title: 'Customer ROI Analysis', subtitle: 'Return on investment metrics', metrics: [ { label: 'Avg. ROI', value: '647%' }, { label: 'Payback Period', value: '2.3 mo' }, { label: 'Cost Savings', value: '$3.2M/mo' }, { label: 'Revenue Impact', value: '$12.4M/mo' } ], breakdown: [ { name: 'Time Savings', value: 42 }, { name: 'Better Decisions', value: 31 }, { name: 'Reduced Tools', value: 18 }, { name: 'Team Efficiency', value: 9 } ] }, projection: { title: '2025 Projections', subtitle: 'Forward-looking estimates', metrics: [ { label: 'Target ARR', value: '$84M' }, { label: 'User Goal', value: '2.4M' }, { label: 'Market Share', value: '8.2%' }, { label: 'Growth Rate', value: '240%' } ], breakdown: [ { name: 'North America', value: 45 }, { name: 'Europe', value: 28 }, { name: 'Asia Pacific', value: 19 }, { name: 'Other', value: 8 } ] }, market: { title: 'Market Expansion', subtitle: 'Geographic growth strategy', metrics: [ { label: 'Current Markets', value: '4' }, { label: '2025 Target', value: '16' }, { label: 'Languages', value: '8' }, { label: 'Data Centers', value: '6' } ], breakdown: [ { name: 'Europe', value: 35 }, { name: 'Asia Pacific', value: 30 }, { name: 'Latin America', value: 20 }, { name: 'Middle East', value: 15 } ] }, team: { title: 'Team Growth', subtitle: 'Building world-class talent', metrics: [ { label: 'Current', value: '142' }, { label: 'Q4 2025', value: '340' }, { label: 'Open Roles', value: '47' }, { label: 'Avg. Tenure', value: '1.2 yrs' } ], breakdown: [ { name: 'Engineering', value: 40 }, { name: 'Product', value: 22 }, { name: 'Go-to-Market', value: 28 }, { name: 'Operations', value: 10 } ] } }; const chartData = { users: [12000, 28000, 67000, 145000, 280000, 420000, 580000, 720000, 847000], revenue: [0.8, 1.4, 3.2, 6.8, 11.2, 15.4, 19.8, 22.4, 24.7], engagement: [45, 52, 61, 68, 74, 79, 82, 85, 87] }; const months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep']; // Initialize variables let currentChartView = 'users'; let chart = null; // DOM elements const storyProgress = document.getElementById('storyProgress'); const chapterNav = document.getElementById('chapterNav'); const drillPanel = document.getElementById('drillPanel'); const drillOverlay = document.getElementById('drillOverlay'); const drillClose = document.getElementById('drillClose'); const drillTitle = document.getElementById('drillTitle'); const drillSubtitle = document.getElementById('drillSubtitle'); const drillContent = document.getElementById('drillContent'); // Animate hero number function animateNumber(element, target, suffix = '%', prefix = '') { let current = 0; const increment = target / 60; const timer = setInterval(() => { current += increment; if (current >= target) { current = target; clearInterval(timer); } element.textContent = prefix + Math.round(current).toLocaleString() + suffix; }, 16); } // Initialize hero animation setTimeout(() => { animateNumber(document.getElementById('heroBigNumber'), 847, '%'); }, 1200); // Scroll progress function updateProgress() { const scrollTop = window.scrollY; const docHeight = document.documentElement.scrollHeight - window.innerHeight; const progress = Math.min(scrollTop / docHeight, 1); storyProgress.style.transform = `scaleX(${progress})`; } // Intersection Observer for sections const observerOptions = { root: null, rootMargin: '-20% 0px -20% 0px', threshold: 0.1 }; const sectionObserver = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting) { entry.target.classList.add('visible'); // Update chapter nav const sectionId = entry.target.id; document.querySelectorAll('.chapter-dot').forEach(dot => { dot.classList.toggle('active', dot.dataset.section === sectionId); }); // Animate timeline items const timelineItems = entry.target.querySelectorAll('.timeline-item'); timelineItems.forEach((item, index) => { setTimeout(() => { item.classList.add('visible'); }, index * 200); }); // Animate KPI rings const kpiRings = entry.target.querySelectorAll('.kpi-ring'); kpiRings.forEach((ring, index) => { setTimeout(() => { const value = parseInt(ring.dataset.value); const circumference = 2 * Math.PI * 60; const offset = circumference - (value / 100) * circumference; ring.querySelector('.kpi-ring-fill').style.setProperty('--offset', offset); ring.classList.add('animated'); }, index * 150); }); } }); }, observerOptions); document.querySelectorAll('.story-section').forEach(section => { sectionObserver.observe(section); }); // Chapter navigation document.querySelectorAll('.chapter-dot').forEach(dot => { dot.addEventListener('click', () => { const targetSection = document.getElementById(dot.dataset.section); if (targetSection) { targetSection.scrollIntoView({ behavior: 'smooth' }); } }); }); // Chart drawing function drawChart(view) { const canvas = document.getElementById('mainChart'); const ctx = canvas.getContext('2d'); // Set canvas size const rect = canvas.parentElement.getBoundingClientRect(); canvas.width = rect.width * window.devicePixelRatio; canvas.height = rect.height * window.devicePixelRatio; canvas.style.width = rect.width + 'px'; canvas.style.height = rect.height + 'px'; ctx.scale(window.devicePixelRatio, window.devicePixelRatio); const data = chartData[view]; const width = rect.width; const height = rect.height; const padding = { top: 20, right: 20, bottom: 40, left: 60 }; const chartWidth = width - padding.left - padding.right; const chartHeight = height - padding.top - padding.bottom; // Clear canvas ctx.clearRect(0, 0, width, height); // Find max value const maxVal = Math.max(...data) * 1.1; // Draw grid lines ctx.strokeStyle = '#2a2a3a'; ctx.lineWidth = 1; for (let i = 0; i <= 5; i++) { const y = padding.top + (chartHeight / 5) * i; ctx.beginPath(); ctx.moveTo(padding.left, y); ctx.lineTo(width - padding.right, y); ctx.stroke(); // Y-axis labels const value = maxVal - (maxVal / 5) * i; ctx.fillStyle = '#6b6b7b'; ctx.font = '12px DM Sans'; ctx.textAlign = 'right'; const label = view === 'revenue' ? `$${value.toFixed(1)}M` : view === 'engagement' ? `${Math.round(value)}%` : formatNumber(value); ctx.fillText(label, padding.left - 10, y + 4); } // Draw X-axis labels ctx.fillStyle = '#6b6b7b'; ctx.textAlign = 'center'; const stepX = chartWidth / (data.length - 1); months.forEach((month, i) => { const x = padding.left + stepX * i; ctx.fillText(month, x, height - padding.bottom + 25); }); // Create gradient for area const gradient = ctx.createLinearGradient(0, padding.top, 0, height - padding.bottom); gradient.addColorStop(0, 'rgba(0, 212, 170, 0.3)'); gradient.addColorStop(1, 'rgba(0, 212, 170, 0)'); // Draw area ctx.beginPath(); ctx.moveTo(padding.left, height - padding.bottom); data.forEach((value, i) => { const x = padding.left + stepX * i; const y = padding.top + chartHeight - (value / maxVal) * chartHeight; if (i === 0) { ctx.lineTo(x, y); } else { ctx.lineTo(x, y); } }); ctx.lineTo(padding.left + stepX * (data.length - 1), height - padding.bottom); ctx.closePath(); ctx.fillStyle = gradient; ctx.fill(); // Draw line ctx.beginPath(); ctx.strokeStyle = '#00d4aa'; ctx.lineWidth = 3; ctx.lineCap = 'round'; ctx.lineJoin = 'round'; data.forEach((value, i) => { const x = padding.left + stepX * i; const y = padding.top + chartHeight - (value / maxVal) * chartHeight; if (i === 0) { ctx.moveTo(x, y); } else { ctx.lineTo(x, y); } }); ctx.stroke(); // Draw points data.forEach((value, i) => { const x = padding.left + stepX * i; const y = padding.top + chartHeight - (value / maxVal) * chartHeight; // Glow ctx.beginPath(); ctx.arc(x, y, 8, 0, Math.PI * 2); ctx.fillStyle = 'rgba(0, 212, 170, 0.2)'; ctx.fill(); // Point ctx.beginPath(); ctx.arc(x, y, 5, 0, Math.PI * 2); ctx.fillStyle = '#00d4aa'; ctx.fill(); // Inner ctx.beginPath(); ctx.arc(x, y, 2, 0, Math.PI * 2); ctx.fillStyle = '#0a0a0f'; ctx.fill(); }); } function formatNumber(num) { if (num >= 1000000) return (num / 1000000).toFixed(1) + 'M'; if (num >= 1000) return (num / 1000).toFixed(0) + 'K'; return Math.round(num).toString(); } // Chart tabs document.querySelectorAll('.chart-tab').forEach(tab => { tab.addEventListener('click', () => { document.querySelectorAll('.chart-tab').forEach(t => t.classList.remove('active')); tab.classList.add('active'); currentChartView = tab.dataset.view; drawChart(currentChartView); }); }); // Initial chart draw (delayed to ensure canvas is sized) setTimeout(() => { drawChart('users'); }, 100); // Resize handler window.addEventListener('resize', () => { drawChart(currentChartView); }); // Drill-down panel function openDrillPanel(metricKey) { const data = analyticsData[metricKey]; if (!data) return; drillTitle.textContent = data.title; drillSubtitle.textContent = data.subtitle; let html = '<div class="drill-metrics-grid">'; data.metrics.forEach(metric => { html += ` <div class="drill-metric"> <div class="drill-metric-label">${metric.label}</div> <div class="drill-metric-value">${metric.value}</div> </div> `; }); html += '</div>'; html += '<div class="drill-breakdown">'; html += '<div class="drill-breakdown-title">Breakdown</div>'; data.breakdown.forEach(item => { html += ` <div class="breakdown-item"> <div style="flex:1"> <div style="display:flex;justify-content:space-between;margin-bottom:0.25rem;"> <span>${item.name}</span> <span style="color:var(--accent)">${item.value}%</span> </div> <div class="breakdown-bar"> <div class="breakdown-bar-fill" style="width:${item.value}%"></div> </div> </div> </div> `; }); html += '</div>'; drillContent.innerHTML = html; drillPanel.classList.add('open'); drillOverlay.classList.add('open'); document.body.style.overflow = 'hidden'; } function closeDrillPanel() { drillPanel.classList.remove('open'); drillOverlay.classList.remove('open'); document.body.style.overflow = ''; } // Highlight card clicks document.querySelectorAll('.highlight-card').forEach(card => { card.addEventListener('click', () => { openDrillPanel(card.dataset.metric); }); card.addEventListener('keydown', (e) => { if (e.key === 'Enter' || e.key === ' ') { e.preventDefault(); openDrillPanel(card.dataset.metric); } }); }); // Close panel drillClose.addEventListener('click', closeDrillPanel); drillOverlay.addEventListener('click', closeDrillPanel); document.addEventListener('keydown', (e) => { if (e.key === 'Escape') closeDrillPanel(); }); // Scroll events window.addEventListener('scroll', updateProgress, { passive: true }); // Initial state updateProgress(); </script> </body> </html>Key Features
Narrative Structure
- Hero Section: Animated big number with scroll prompt
- 4 Chapters: Origins, Growth, Impact, Future - each with narrative text, metrics, and timelines
- Progress indicator: Top bar shows reading progress
- Chapter navigation: Side dots for quick jumping
Interactive Elements
-
Drillable Metrics: Click any highlight card to open a detailed slide-out panel with:
- Key metrics breakdown
- Percentage bars for composition analysis
- Smooth animations
-
Interactive Chart:
- Toggle between Users/Revenue/Engagement views
- Canvas-rendered area chart with gradient fill
- Animated points with glow effects
-
KPI Rings: Animated circular progress indicators that fill on scroll
-
Timeline Animations: Staggered reveal of milestone items
Visual Design
- Dark theme with teal (#00d4aa) and coral (#ff7b54) accents
- Ambient background blobs with blur for depth
- Noise texture overlay for premium feel
- Gradient accents throughout
Technical Highlights
- CSS-first animations with IntersectionObserver triggers
- Canvas-based charting (no external libs)
- Responsive design (mobile-friendly)
- Keyboard accessible with proper ARIA labels
- Respects prefers-reduced-motion
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.