← 返回
未分类

Chart Renderer Open

Render structured data into polished, self-contained HTML pages with heatmaps, trend lines, category cards, styled tables, and more. Screenshot/download read...
Render structured data into polished, self-contained HTML pages with heatmaps, trend lines, category cards, styled tables, and more. Screenshot/download read...
dachunggan dachunggan 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 323
下载
💾 0
安装
1
版本
#latest

概述

Chart Renderer Open

A modular, registry-driven chart generator for AI agents. Produces self-contained HTML pages with styled charts and tables — no backend required.

Design philosophy: Only load the CSS/JS/docs for chart types actually used, minimizing token waste. All information is statically readable with no hover dependency.

Available Chart Types

typeNameDescription
-------------------------
heatmapMatrix Heatmap TableMulti-row x multi-column numeric matrix with color-coded cells, change arrows, and trend badges
layeredTiered Category CardsThree-tier color-coded cards (green/blue/red) for categorizing items by performance level
directionRecommendation CardsDual-column cards with auto-matched icons and color themes
lineMulti-series Line ChartChart.js multi-line chart with optional data labels
dualAxisDual-axis Line ChartChart.js dual Y-axis: primary series (area fill) + secondary series (dashed line)
tableStyled TableClean white-background table with auto-coloring for ↑/↓ prefixed cells
textText BlockColored callout blocks: success (green) / warning (yellow) / danger (red)

Full data format specs are in templates/types/{type}.md — read on demand.

Execution Steps

Step 1: Determine required types

Based on the user's request, select the needed chart types from the table above.

Step 2: Read on demand

  1. Read skills/chart-renderer-open/templates/registry.json for file mappings
  2. Read skills/chart-renderer-open/templates/chart_page.html for the page skeleton
  3. Read skills/chart-renderer-open/templates/types/core.css for shared styles
  4. For each needed type, read its .md file for data format, its .css and .js for rendering code
    • When multiple types share a file (e.g., line and dualAxis share chart.css/chart.js), do not re-read

Step 3: Assemble data

Build the CFG and SECTIONS data structures per the .md format specs.

Data injection uses JSON. The skeleton template loads data via