forked from nexu-io/open-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhyperframes-data-bar-chart-race.json
More file actions
19 lines (19 loc) Β· 3.21 KB
/
Copy pathhyperframes-data-bar-chart-race.json
File metadata and controls
19 lines (19 loc) Β· 3.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"id": "hyperframes-data-bar-chart-race",
"surface": "video",
"title": "HyperFrames: Animated Bar-Chart Race (NYT-style)",
"summary": "A 12-second 16:9 data infographic β animated bar + line chart with staggered category reveal, NYT-style serif headline, footnote source, kinetic value labels. Built directly on the HyperFrames `data-chart` catalog block.",
"category": "Data",
"tags": ["hyperframes", "data-viz", "chart", "infographic", "editorial"],
"model": "hyperframes-html",
"aspect": "16:9",
"prompt": "Build a 12-second HyperFrames data composition (1920Γ1080, 30fps) showing a 6-bar animated bar-chart race with a NYT-style headline. Pull the catalog block first: `npx hyperframes add data-chart`. Use it as the render surface and override the data via a small JSON inline.\n\nDataset (provide inline; choose the topic from the user's brief or default to AI labs market share):\nβ’ Anthropic β 28%\nβ’ OpenAI β 31%\nβ’ Google β 18%\nβ’ xAI β 9%\nβ’ Meta β 8%\nβ’ Other β 6%\n\nVisual identity: cream canvas #f5efe4, ink text #161312, single rust accent #b14a2c on the active/leading bar only, hairline rules in #b3a692. Display headline: \"Editorial New\" or \"Tiempos Headline\" 84px; deck face \"Inter\" 22px tracked +1%; mono \"JetBrains Mono\" 16px for value labels with `font-variant-numeric: tabular-nums`.\n\nLayout:\nβ’ Top 18% of canvas β headline (one line, max 64 chars) + a 16px-high deck line below, separated by a hairline rule.\nβ’ Middle 64% β the data-chart block, padded 120px left / 80px right.\nβ’ Bottom 18% β source line (small caps, tracked +6%) like \"source Β· sec filings Β· may 2026\" and a kinetic ticking timestamp counter (0 β \"may 1 2026\" using apple-money-count-style logic on a date string is wrong β instead do a clean fade-in at 11.0s).\n\nAnimation (12s total):\nβ’ 0β0.4s β page hairline rule wipes in from left, ease power3.out.\nβ’ 0.3β1.2s β headline rises from y=40 β 0 over 0.7s ease expo.out, then deck line fades in at 0.9s over 0.4s.\nβ’ 1.2β9.0s β data-chart block runs its built-in stagger: each bar grows from width 0 β final value over 1.4s, ease power2.out, staggered 180ms per bar; value labels count up tabular-nums at the same easing; the leading bar (`#b14a2c`) gets a 4% scale pulse on landing.\nβ’ 9.5β11.5s β annotation callout pointing at the leader: a 360px box with a one-line analysis (\"Anthropic narrowed the gap to 3 points\") fades + slides in from x=40 over 0.5s.\nβ’ 11.5β12s β final hold. Source line fades in. No exit animations (this is the only scene).\n\nNon-negotiables: tabular-nums on every digit; min 16px on data labels; deterministic; entrance-only; all timelines paused:true; root data-duration=12. Run `npx hyperframes inspect --at 1.5,5,9,11.5` to catch any value-label overflow.\n\nOutput: `data-chart-race-12s.mp4`.",
"previewImageUrl": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/data-chart.png",
"previewVideoUrl": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/data-chart.mp4",
"source": {
"repo": "heygen-com/hyperframes",
"license": "Apache-2.0",
"author": "HeyGen",
"url": "https://hyperframes.heygen.com/catalog/data-chart"
}
}