Skip to content
OpenSmartRoute
Skillv1.0.0

frame-data-chart-nyt

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

by nexu-io(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from nexu-io/open-design (skills/frame-data-chart-nyt/SKILL.md) via skills.sh. Install upstream with npx skills add nexu-io/open-design --skill frame-data-chart-nyt. Copyright stays with the author.

【模板: 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 ProCheltenham (无则用 Playfair Display); body IBM Plex SansInter; 数据标签 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>

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/nexu-io-open-design-frame-data-chart-nyt/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

nexu-io-open-design-frame-data-chart-nyt.ocm.jsonjson
{
  "ocm": "1",
  "id": "nexu-io-open-design-frame-data-chart-nyt",
  "kind": "skill",
  "name": "frame-data-chart-nyt",
  "description": "NYT-newsroom typography, staggered reveal animation, and editorial-grade charts (line, bar, or range band).",
  "publisher": "nexu-io",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "data_analysis"
    ],
    "tags": [
      "skill-md",
      "data",
      "chart",
      "nyt",
      "editorial",
      "frame",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "NYT-newsroom typography, staggered reveal animation, and editorial-grade charts (line, bar, or range band)."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/nexu-io/open-design",
      "path": "skills/frame-data-chart-nyt/SKILL.md",
      "ref": "HEAD",
      "url": "https://www.skills.sh/nexu-io/open-design/frame-data-chart-nyt",
      "key": "nexu-io/open-design/skills/frame-data-chart-nyt/SKILL.md"
    }
  },
  "instructions": "【模板: NYT 风数据图表帧】\n【意图】把一段数据 (CSV / JSON / 一句结论) 做成《纽约时报》专栏感的单帧/动画图表, 适合视频片段或推特卡。Inspired by hyperframes data-chart。\n\n【画布】1920×1080, 暖白底 `#f7f5ee` 或墨黑底 `#0e0e0e` 二选一; 文字色和背景相反。\n\n【布局】\n- **顶部 kicker** (11px uppercase letterspace 0.14em, 颜色 = accent 红 `#a91d1d` 或 mint `#5fb38a`): 数据来源 + 类目, 如 \"GLOBAL · WEEKLY ACTIVE USERS · 2018–2026\"。\n- **大字标题** (Cheltenham / Playfair / Source Serif Pro, 5.6vw, italic 副标可选): 一句结论。**结论必须从用户数据中提炼**, 不是描述图。\n- **图表区** (占画布 55-65%):\n  - 折线: 1-2 条线, 主线 ink 实心 2.5px, 次线 dashed 1.5px; 数据点用 6px 实心圆; 关键点旁标注 `2024 · 412M` 黑色 mono 小字。\n  - 柱状: 全部 ink 单色或加 1 道 accent 高亮柱; 柱顶大数字",
  "cost": {
    "context_tokens": 357
  }
}

Fetch it by URL: GET /api/v1/registry/nexu-io-open-design-frame-data-chart-nyt/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.