← ClaudeAtlas

render-data-vizlisted

Generate an animated chart B-roll from a CSV using a Hyperframes template. Use when a script cue calls for numbers, comparisons, or trends.
huodebing-alt/Agentic-Headshot-Video-Studio · ★ 0 · Data & Documents · score 71
Install: claude install-skill huodebing-alt/Agentic-Headshot-Video-Studio
# Render Data Viz / 数据可视化 ## When to use / 何时使用 B-roll cues containing data (`[BROLL: chart of X over Y]`). CSV-driven. B-roll 命中数据需求(如折线、柱状)。由 CSV 驱动。 ## Inputs / 输入 - `inputs/data/<file>.csv`. - `--chart` line | bar | area | pie. - `templates/broll/chart/*.html` (D3 / Chart.js). ## Output / 输出 - `workspace/broll/broll_<id>.mp4`. ## Steps / 步骤 1. Parse CSV; pick chart template; embed data via template substitution. 2. Apply brand palette from `config/brand.yaml`. 3. Render with Hyperframes; verify frame count = duration × fps. ## Examples / 示例 ``` claude run render-data-viz --id 06 --csv inputs/data/revenue.csv --chart line ``` ## Failure recovery / 失败回退 - If CSV malformed, surface line number and stop. - If chart type unsupported, default to bar.