Skip to content
goodprompts

Planning and building a data animation explainer as a canvas HTML file

Has the model gather a dataset or topic, format and voiceover script, plan beats and camera, then build a canvas HTML animation with on-screen sources.

CodingSuggested models Claudeby @cliffscalez on X

The prompt

1,660 characters
<inputs> Ask me for: (1) my topic or dataset (a CSV, a table, or a «why is X broken» question), (2) format: 9:16 Short or 16:9 video, (3) my voiceover (mp3 or wav) and its exact script as text. If I don’t have a topic, pitch 3 data stories about the real world (oceans, flights, populations, prices, AI progress), each with one surprising TRUE fact I can verify. Then write a 30-60 s script for me to record, one short sentence per beat. Mark any number you are not certain about as [VERIFY]. Show me the beat list, the chart plan and the camera plan BEFORE you build anything. </inputs> <direction> Build a data-animation explainer as ONE self-contained HTML file with a canvas and a Play button, driven by a single function seek(t) so every frame depends only on time. - Look: near-black background #050B1A, glow cyan #7FE3F5, ONE warm accent #F5A623 for the key number, white captions. No other colours, ever. - Visual language: either a glowing globe with thin data lines that draw themselves in, or bubbles, curves and bars that grow, split and morph between states. Empty areas are part of the story. - Camera: slow continuous motion, push-ins on the key datapoint, a new reveal every 2-3 seconds. - Captions: large lowercase sans-serif, 1-3 words at a time, synced to the voiceover. - Show a counter or timestamp on screen whenever a number changes. - Use ONLY the data I provide or facts marked [VERIFY]. Show the source on screen at the end. Never invent statistics. - All visuals, wording and story must be original. Recreate the style, not any existing video. - Do not render until I approve the beat list, chart plan and camera plan. </direction>
1,660 characters