Agent skill

Data Viz Renderer

by zebbern in zebbern/claude-code-guide

Generate self-contained HTML/SVG infographics from JSON data, including stat cards, bar charts, flow diagrams, and mixed dashboards.

MITAuto-check passedMedia & Creative

Install Data Viz Renderer

skills CLI
$ npx skills add zebbern/claude-code-guide --skill data-viz-renderer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install zebbern/claude-code-guide data-viz-renderer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/zebbern/claude-code-guide.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/data-viz-renderer .claude/skills/data-viz-renderer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
data-viz-renderer
GitHub stars
4.6k
Token cost
~1.3k tokens
SKILL.md length
330 words
Files
3 (incl. scripts)
Skills in repo
46
Repo updated
First seen
Licence
MIT

At a glance

Generate self-contained HTML/SVG infographics from JSON data, including stat cards, bar charts, flow diagrams, and mixed dashboards.

  • Works in 4 steps: stats — Stat Cards → comparison — Bar Chart Comparison → flow — Flow Diagram → …
  • Tasks that involve Infographics
  • SKILL.md covers Usage, Output Format, Design Highlights and Use Cases, plus 1 more section
  • Runs Python scripts from its folder; calls python3

What it does

Data Viz Renderer is an agent skill from zebbern/claude-code-guide. Generate self-contained HTML/SVG infographics from JSON data, including stat cards, bar charts, flow diagrams, and mixed dashboards. Offers 8 color palettes and built-in icons with no external dependencies. Triggered when users request data visualization, infographics, charts, or dashboards.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/build_infographic.py`).

It sits in Media & Creative, covering Infographics, Data visualization and Theming and dark mode. The repository describes itself as: Claude Code Guide - Setup, Commands, workflows, agents, skills & tips-n-tricks from beginner to power user! The licence is MIT.

When your agent uses it

  • Tasks that involve Infographics
  • Tasks that involve Data visualization
  • Tasks that involve Theming and dark mode

Example prompts

  • “/data-viz-renderer”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. stats — Stat Cards
  2. comparison — Bar Chart Comparison
  3. flow — Flow Diagram
  4. dashboard — Mixed Dashboard

What it can do on your machine

Read from SKILL.md and the folder at commit 4698e3b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Data Viz Renderer loads about 1.3k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 330 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~78
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from zebbern/claude-code-guide at commit 4698e3b, republished under its MIT licence (© zebbern). 330 words, ~1,339 tokens.

Download SKILL.mdSave it as .claude/skills/data-viz-renderer/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
data-viz-renderer
description
Generate self-contained HTML/SVG infographics from JSON data, including stat cards, bar charts, flow diagrams, and mixed dashboards. Offers 8 color palettes and built-in icons with no external dependencies. Triggered when users request data visualization, infographics, charts, or dashboards.
license
MIT
type
tool
tags
infographic, visualization, svg, html, chart, dashboard

Data Viz Renderer

Generate self-contained HTML/SVG infographics from JSON data. Four supported types:

  1. Stats Cards — KPI big numbers + trend arrows + icons
  2. Comparison Chart — Grouped bar chart with multiple series
  3. Flow Diagram — Step-by-step process with numbering, icons, and connecting arrows
  4. Dashboard — Mixed layout: stat cards + bar chart + donut chart + flow

Output is a fully self-contained HTML file (all CSS/SVG inline, no external dependencies), ready to open directly in a browser.

Usage

Basic Usage
bash
python3 scripts/build_infographic.py config.json

Also supports reading from stdin:

bash
cat config.json | python3 scripts/build_infographic.py

The script outputs a JSON status to stdout and writes the generated HTML to the path specified in the output field.

JSON Configuration Format

Common fields:

FieldTypeRequiredDescription
titlestringNoInfographic title
subtitlestringNoSubtitle
typestringYesstats / comparison / flow / dashboard
palettestringNoColor palette (default: auto)
dataobject/arrayYesData content (format depends on type)
outputstringNoOutput file path (default: infographic.html)
footerstringNoFooter text
Color Palettes

Available values: auto (automatically chosen based on data), ocean, sunset, forest, berry, vibrant, corporate, pastel, earth

Data Format by Type
1. stats — Stat Cards
json
{
  "type": "stats",
  "data": [
    {
      "label": "Total Revenue",
      "value": "$1.2M",
      "icon": "money",
      "trend": "+12.5%",
      "trend_dir": "up"
    },
    {
      "label": "Users",
      "value": "45,230",
      "icon": "users",
      "trend": "+8.2%",
      "trend_dir": "up"
    }
  ]
}

icon options: users, user, money, percent, globe, clock, check, star, target, zap, chart-bar, chart-pie, database, rocket, shield, heart, light, search, mail, settings, flag, trending-up, trending-down

trend_dir: up (green upward arrow) or down (red downward arrow)

2. comparison — Bar Chart Comparison
json
{
  "type": "comparison",
  "data": {
    "chart_title": "Quarterly Revenue Comparison",
    "categories": ["Q1", "Q2", "Q3", "Q4"],
    "series": [
      {"name": "2024", "values": [320, 410, 380, 520]},
      {"name": "2025", "values": [380, 490, 450, 610]}
    ]
  }
}
3. flow — Flow Diagram
json
{
  "type": "flow",
  "data": [
    {"step": 1, "title": "Requirements", "description": "Gather user needs", "icon": "search"},
    {"step": 2, "title": "Design", "description": "Create technical plan", "icon": "light"},
    {"step": 3, "title": "Development", "description": "Code and test", "icon": "settings"},
    {"step": 4, "title": "Launch", "description": "Deploy to production", "icon": "rocket"}
  ]
}
4. dashboard — Mixed Dashboard
json
{
  "type": "dashboard",
  "data": {
    "stats": [
      {"label": "DAU", "value": "12.3K", "icon": "users", "trend": "+5%", "trend_dir": "up"},
      {"label": "Conversion Rate", "value": "3.8%", "icon": "target", "trend": "-0.2%", "trend_dir": "down"}
    ],
    "chart": {
      "chart_title": "Monthly Trend",
      "categories": ["Jan", "Feb", "Mar", "Apr"],
      "series": [{"name": "DAU", "values": [10200, 11500, 11800, 12300]}]
    },
    "breakdown": [
      {"label": "iOS", "value": 45},
      {"label": "Android", "value": 38},
      {"label": "Web", "value": 17}
    ],
    "flow": [
      {"step": 1, "title": "Sign Up", "description": ""},
      {"step": 2, "title": "Activate", "description": ""},
      {"step": 3, "title": "Retain", "description": ""}
    ]
  }
}

Output Format

The script outputs a JSON result to stdout:

json
{
  "status": "success",
  "output": "/absolute/path/to/infographic.html",
  "type": "stats",
  "title": "My Infographic",
  "palette": "auto",
  "size_bytes": 8432
}

On error:

json
{
  "status": "error",
  "errors": ["Missing required field: data"]
}

Design Highlights

  • Zero external dependencies: Pure Python standard library, no pip install needed
  • Self-contained output: HTML with all CSS and SVG inline, no network required
  • Responsive layout: Works on both desktop and mobile browsers
  • Professional palettes: 8 preset color schemes + automatic selection
  • 24+ built-in icons: Common SVG icons, no font files needed
  • CJK-friendly: Font stack includes Noto Sans SC, PingFang SC, Microsoft YaHei

Use Cases

  • Visualization modules in data reports
  • Product data dashboards
  • Business process illustrations
  • Quarterly/monthly data comparisons
  • Team KPI displays

Dependencies

  • Python 3.7+ (standard library only)

© zebbern, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in skills/data-viz-renderer of zebbern/claude-code-guide.

  • SKILL.md
  • LICENSE
  • scripts/build_infographic.py

Open the folder on GitHubat commit 4698e3b

Compare with similar skills

Data Viz Renderer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Data Viz Renderer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Data Viz Renderer this skillzebbern/claude-code-guide4.6k—~1.3kAutomated safety check: PassMIT
Alt Text DesignOwl-Listener/inclusive-design-skills103—~946Automated safety check: PassMIT
Visual Designaws-samples/sample-strands-agent-with-agentcore194—~1.5kAutomated safety check: PassMIT
Strategy Consulting Visualizationkgraph57/mckinsey-style-visualization-skill127—~3.2kAutomated safety check: PassMIT
Tufte Reportglebis/claude-skills388—~2.4kAutomated safety check: PassMIT
Microsim Generatordmccreary/ibook-skills105—~11kAutomated safety check: PassNone

Similar skills

  • Alt Text Design

    Owl-Listener/inclusive-design-skills

    Write meaningful alternative text for images, charts, diagrams, and visual content.

    103 GitHub stars~946 tokensUpdated 3 mo ago
    Media & CreativeAuto-check passed
  • Visual Design

    aws-samples/sample-strands-agent-with-agentcore

    Official

    Use this skill any time the user needs a visual output as an image or PDF — charts, diagrams, posters, infographics, abstract artwork, or any visual design.

    194 GitHub stars~1.5k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Strategy Consulting Visualization

    kgraph57/mckinsey-style-visualization-skill

    A skill your agent uses when turning any content into clear, professional visualizations - board slides, reports, proposals, research summaries, training materials, technical diagrams, infographics…

    127 GitHub stars~3.2k tokensUpdated 28 days ago
    Media & CreativeAuto-check passed
  • Tufte Report

    glebis/claude-skills

    Create Tufte-inspired data reports and infographic dashboards as standalone HTML files.

    388 GitHub stars~2.4k tokensUpdated 11 days ago
    Media & CreativeAuto-check passed
  • Microsim Generator

    dmccreary/ibook-skills

    Creates interactive educational MicroSims, routing to the best-matched generator - p5.js, Chart.js, Plotly, Mermaid, vis-network, timelines, maps, Venn, causal-loop/feedback-loop diagrams (CLD)…

    105 GitHub stars~11k tokensUpdated 2 days ago
    Data & AnalyticsAuto-check passed
  • Openchart

    tryopendata/skills

    Generates OpenChart (https://github.com/tryopendata/openchart) chart, table, graph, sankey, tilemap, and geo map specs from data, and guides editorial design decisions.

    141 GitHub stars~11k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed

More from zebbern/claude-code-guide

All 46 skills in this repo
  • Localization Toolkit

    zebbern/claude-code-guide

    This skill should be used when setting up, auditing, or enforcing internationalization/localization in UI codebases (React/TS, i18next or similar, JSON locales), including installing/configuring the…

    4.6k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • Audit Flow

    zebbern/claude-code-guide

    Interactive system flow tracing across CODE, API, AUTH, DATA, NETWORK layers with SQLite persistence and Mermaid export.

    4.6k GitHub stars~4.2k tokensUpdated today
    Auto-check passed
  • Chart Image

    zebbern/claude-code-guide

    Generate publication-quality PNG chart images from data, supporting line, bar, area, candlestick, pie, and heatmap charts.

    4.6k GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Code To Diagram

    zebbern/claude-code-guide

    Analyze codebases and automatically generate architecture diagrams, flowcharts, and org charts.

    4.6k GitHub stars~972 tokensUpdated today
    Auto-check passed
  • Code Vuln Audit

    zebbern/claude-code-guide

    Scan code for security issues: dependency vulnerabilities (npm/pip audit), secret leaks (regex and entropy analysis), and OWASP anti-patterns like SQL injection, XSS, or command injection.

    4.6k GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Idor Testing

    zebbern/claude-code-guide

    This skill should be used when the user asks to "test for insecure direct object references," "find IDOR vulnerabilities," "exploit broken access control," "enumerate user IDs or object references,"…

    4.6k GitHub starsUsed in 7 repos~3.1k tokens
    Auto-check passed

Questions about Data Viz Renderer

What does Data Viz Renderer do?

Generate self-contained HTML/SVG infographics from JSON data, including stat cards, bar charts, flow diagrams, and mixed dashboards. Data Viz Renderer is an agent skill from zebbern/claude-code-guide. Generate self-contained HTML/SVG infographics from JSON data, including stat cards, bar charts, flow diagrams, and mixed dashboards.

When should I use Data Viz Renderer?

Data Viz Renderer fits situations like: tasks that involve Infographics; tasks that involve Data visualization; tasks that involve Theming and dark mode.

How do I install Data Viz Renderer in Claude Code?

Run `npx skills add zebbern/claude-code-guide --skill data-viz-renderer -a claude-code`. Or copy the skill folder (skills/data-viz-renderer in zebbern/claude-code-guide) into .claude/skills/data-viz-renderer in your project. Claude Code loads it when a task matches its description.

How do I install Data Viz Renderer in Codex?

Run `npx skills add zebbern/claude-code-guide --skill data-viz-renderer -a codex`. Or copy the skill folder (skills/data-viz-renderer in zebbern/claude-code-guide) into .agents/skills/data-viz-renderer in your project. Codex loads it when a task matches its description.

Can I use Data Viz Renderer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zebbern/claude-code-guide --skill data-viz-renderer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/data-viz-renderer, .gemini/skills/data-viz-renderer, .github/skills/data-viz-renderer and .opencode/skills/data-viz-renderer in your project.

What does Data Viz Renderer need to run?

Going by SKILL.md and its folder, Data Viz Renderer needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Data Viz Renderer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Data Viz Renderer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Data Viz Renderer use?

Data Viz Renderer is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Data Viz Renderer use?

About 1.3k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Data Viz Renderer?

Skills that share tags, products or a category with Data Viz Renderer: Alt Text Design (Owl-Listener/inclusive-design-skills, 103 stars), Visual Design (aws-samples/sample-strands-agent-with-agentcore, 194 stars), Strategy Consulting Visualization (kgraph57/mckinsey-style-visualization-skill, 127 stars) and Tufte Report (glebis/claude-skills, 388 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Data Viz Renderer?

zebbern (a GitHub user) maintains it in zebbern/claude-code-guide, which has 4,648 GitHub stars. The repository holds 46 skills in this directory. The repository was last updated on October 7, 2026.

Source: zebbern/claude-code-guide on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.