Skip to content
cccskills
FreePublished on GitHub

frame-data-chart-nyt

Turn CSV, JSON, or a written conclusion into a newspaper-style chart for video clips or social posts. Produce a single HTML file with line, bar, or range-band charts, clear headlines, source notes, and staggered animation.

OriginalShow the original description

NYT-newsroom typography, staggered reveal animation, and editorial-grade charts (line, bar, or range band).

See how to install

Good for

  • Showing data trends in a video clip
  • Creating a chart card for social media
  • Visualizing CSV or JSON data
  • Illustrating a written conclusion with a schematic chart

Files included (5)

  • SKILL.md3.8 KB
  • example.md388 B
  • package.json321 B
  • source/index.html5.1 KB
  • template.html-video.yaml2.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

【模板: NYT 风数据图表帧】 【意图】把一段数据 (CSV / JSON / 一句结论) 做成《纽约时报》专栏感的单帧/动画图表, 适合视频片段或推特卡。Inspired by hyperframes data-chart。

【画布】1920×1080, 暖白底 #f7f5ee 或墨黑底 #0e0e0e 二选一; 文字色和背景相反。

【布局】

  • 顶部 kicker (11px uppercase letterspace 0.14em, 颜色 = accent 红 #a91d1d 或 mint #5fb38a): 数据来源 + 类目, 如 "GLOBAL · WEEKLY ACTIVE USERS · 2018–2026"。
  • 大字标题 (Cheltenham / Playfair / Source Serif Pro, 5.6vw, italic 副标可选): 一句结论。结论必须从用户数据中提炼, 不是描述图。
  • 图表区 (占画布 55-65%):
    • 折线: 1-2 条线, 主线 ink 实心 2.5px, 次线 dashed 1.5px; 数据点用 6px 实心圆; 关键点旁标注 2024 · 412M 黑色 mono 小字。
    • 柱状: 全部 ink 单色或加 1 道 accent 高亮柱; 柱顶大数字; 柱底类目斜体 (Cheltenham italic)。
    • 范围带 (range band): 浅灰填充 #e6e2d2 包络 + 中线 ink。
  • 底部 source + footnote (10px mono, opacity 0.6): "Source: 用户数据 · Chart by html-anything"。
  • 错峰揭示动画: 标题 fade-in (0s), kicker (200ms), 折线 stroke-dashoffset 1.2s ease-out (400ms), 数据标签依次 100ms 间隔。可被 prefers-reduced-motion 关闭。

【设计细节】

  • 绝不: 使用 chart.js / d3 库 (除非 jsdelivr CDN 引入); 推荐手写 SVG, 不超过 80 行 inline。
  • 字体: 标题 Source Serif Pro 或 Cheltenham (无则用 Playfair Display); body IBM Plex Sans 或 Inter; 数据标签 IBM Plex Mono。
  • 1 个主色 (ink) + 1 个 accent (NYT red #a91d1d / 编辑 mint #5fb38a / 暖橙 #d97757 三选一)。
  • Y 轴刻度仅 hairline + 3-4 个 tick, 标签在轴外侧 mono 字。
  • 严禁 grid 全屏铺线、阴影、3D 立体柱; 严禁 emoji。
  • 必须用用户提供的数据。如果输入是文本结论, 自动估算合理坐标 (但要标注 "schematic"); 如果是 CSV/JSON, 直接绘制。
  • 单文件 HTML; 数据点旁注释格式: <text class="annot">2024 · 412M</text>。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Create a moving poster for brand statements, vision messages, or presentation openings. Red rules, oversized tilted type, and a three-line headline appear in sequence, using a paper-white background and styling inspired by 1970s European editorial posters.

  • Opening a presentation like a magazine cover
  • Presenting a brand manifesto or vision
  • Introducing an editorial or cultural topic
nexu-io/html-video4.7KUpdated Jun 22, 2026

Create an animated HTML section divider with a large chapter number and navigation showing the section structure. An orange card slides across a dark gradient background, followed by a rising title that introduces the next topic.

  • Separating chapters or sections
  • Creating a launch announcement title card
  • Introducing a topic with section navigation
nexu-io/html-video4.7KUpdated Jun 22, 2026

Create a restrained animated HTML title scene around a brand or theme word. Thin letters appear in sequence, while generous whitespace, warm gold lines, corner marks, and softly pulsing indicators frame the message.

  • Introducing a brand word
  • Creating a restrained title card
  • Presenting a theme with generous whitespace
nexu-io/html-video4.7KUpdated Jun 22, 2026

Create animated brand or event titles with blue and dark panels sliding in from opposite sides. Staggered headlines, an outlined word, and a short handwritten phrase with a drawn underline give the opening a retro-modern feel.

  • Introducing a brand title with animated split panels
  • Creating an event opening title
  • Revealing an idea with handwritten accents
nexu-io/html-video4.7KUpdated Jun 22, 2026

Create animated bar charts for weekly metrics or KPIs using real data. Bars grow from zero while their numbers count up in sync, with layouts that adapt to widescreen, vertical, and square video formats.

  • Presenting weekly metrics in a video
  • Animating KPI comparisons
  • Adding a data segment to an existing video
nexu-io/html-video4.7KUpdated Jun 22, 2026

Create a short animated quote or mission statement in a single HTML file. White and electric-blue panels meet at the center, a black accent bar grows, and text appears line by line with attribution and brand marks.

  • Turn a quote into an animated visual
  • Present a mission statement with contrasting panels
  • Create a testimonial sequence with attribution
nexu-io/html-video4.7KUpdated Jun 22, 2026

See all skills by nexu-io

Report a problem with this skill