Make an Animated Chart for a Board Presentation in HTML

You get one HTML slide where a line chart draws itself, the headline KPI counts up and one annotation lands on the key month, with a replay key for presenting.

Text prompt for ChatGPT and Claude

The prompt

Prompt
Act as a senior front-end developer and presentation designer.

Build "Larkspur Analytics ARR Slide", a single 16:9 slide that tells one KPI story. Preload fictional data: KPI "Annual recurring revenue", 12 monthly values in $M from Jan to Dec (8.7, 8.9, 9.2, 9.4, 9.6, 9.9, 10.1, 10.9, 11.2, 11.4, 11.7, 12.0), a target of $11.5M, a headline computed from the data such as "Annual recurring revenue up 38% over 12 months", and a one-line takeaway.

Rules:
1. Layout: a 1280x720 slide scaled to fit the window, white in light mode and deep navy in dark mode, one accent colour, system fonts, big number left, line chart right, current year computed at runtime.
2. Sequence on load: gridlines fade in, the line draws left to right via SVG stroke-dasharray, the big number counts up from 0 in sync, the area fades in, one callout pops in on the month with the biggest jump, then the takeaway appears.
3. Controls: Replay button plus R or Space, and a Presenting toggle on F that hides all controls and uses requestFullscreen with a CSS full-window fallback.
4. An Edit data panel with KPI name, unit prefix and suffix, target, takeaway, month labels and 12 comma-separated values; Apply redraws and replays, with clear validation messages.
5. Under prefers-reduced-motion show the finished slide with a short fade; visible focus states; no network, storage or external assets.

Output format: one complete HTML file in a single code block, then 3 short ideas to extend it.

Example output

One HTML file. Save it and open it in any browser.Open full screen (opens in a new tab)

Example: Larkspur Analytics ARR slide, a 16:9 board-deck chart that animates itself.

On load the gridlines fade in, the line draws across 12 months while $12.0M counts up, the area fills and a callout lands on August's +$0.8M jump. Press R or Space (or click the slide) to replay, F to present full screen, and open Edit data to paste your own values. For a deck, screen-record one replay or present straight from a browser tab.

Written by AI from this prompt. Your results will vary.

Tips and common edits

Why this works

  • A fixed 1280x720 slide scaled with one transform keeps the layout pixel-identical from a phone preview to a full-screen projector.
  • Driving the line's dash offset and the count-up from one eased timer keeps the number and the drawing perfectly in sync.
  • The headline, badge and callout are computed from the data, so edited numbers never leave a stale claim on the slide.

Paste into Claude and open the result as an artifact, or use ChatGPT canvas or Gemini Canvas, or save the code as an .html file. Present it full screen from a browser tab, or screen-record a replay for PowerPoint, Keynote or Google Slides.

Common edits

  • Swap in churn or gross margin as the KPI: change the name, use a % suffix and paste 12 new values; the callout finds the key month itself.
  • Add a second, muted comparison line for last year that draws just before this year's line, with a small legend under the headline.

Reuse it: Use in a workflowTurn into a skillAdapt in the builder

Presentations & Public Speaking

Turn product roadmap updates into board meeting slides

Condense detailed engineering and product sprints into clear, high-level governance slides. Use this when updating investors or board directors on strategy and delivery.

Presentations & Public Speaking

Turn dry data points into a persuasive narrative

Transform raw business metrics into a clear human problem-and-resolution story arc that keeps leadership engaged and drives action.

Presentations & Public Speaking

Build a sourced statistics bank for a presentation claim set

Plan source discovery and create a citation table for the claims in your talk, with verification status and usage limits. Does not pretend to browse; it tells you what to search and how to verify before putting numbers on slides.

Presentations & Public Speaking

Write slide-by-slide speaker notes with timing and transitions

Turn a slide list into usable speaker notes with a key line, talking points, transition, and time budget per slide. Built for talks where you need notes you can glance at, not read.

Presentations & Public Speaking

Consolidate sprawling presentation slides into one focused thesis

Eliminate audience cognitive overload by distilling complex multi-topic decks into a clear, unified presentation. Perfect for strict conference time limits.

Presentations & Public Speaking

Prepare polite deflection lines for unknown Q&A questions

Handle tough or out-of-scope presentation questions with professional phrases that protect credibility without faking knowledge.