data-viz-renderer
Skill4.6k starsChanged 10 months agoMITView on GitHub
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.
- Installs packages
Trending
Steady talk.thin dataabout the whole repository
Who's talking about zebbern/claude-code-guide
- @tom-doerr.bsky.social“https://github.com/zebbern/claude-code-guide”Bluesky · Jun 10, 2026 · 2 likes
- A Hacker News story“Claude Code Guide”Hacker News · Jul 1, 2025 · 2 points
- @tom-doerr.bsky.social“https://github.com/zebbern/claude-code-guide”Bluesky · Apr 4, 2026 · 1 likes
- coderPerseus/blog“使用两个月的 Claude Code ,总结下我的最佳实践”GitHub · Jul 20, 2025 · 1 reactions
- sudosubin/agents.nix“agent-skills.github.zebbern.claude-code-guide: init at 0-unstable-2026-05-31”GitHub · Oct 3, 2026
The biggest 5 of 8 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 8
Talked about on GitHub, Bluesky and Hacker News (8 times).
On GitHub · 5
- Jul 20, 2025使用两个月的 Claude Code ,总结下我的最佳实践 — coderPerseus/blog1 reaction · 1 comment
- Oct 3, 2026agent-skills.github.zebbern.claude-code-guide: init at 0-unstable-2026-05-31 — sudosubin/agents.nix0 reactions
- Apr 13, 2026Audit candidate: zebbern/claude-code-guide — xiaolai/nlpm0 reactions · 3 comments
- Apr 6, 2026Audit candidate: zebbern/claude-code-guide — xiaolai/nlpm0 reactions · 1 comment
- Nov 23, 2025AI 相关调研 — wenxueliu/cognitive_center0 reactions · 5 comments
On Bluesky · 2
- Jun 10, 2026https://github.com/zebbern/claude-code-guide — @tom-doerr.bsky.social2 likes and reposts
- Apr 4, 2026https://github.com/zebbern/claude-code-guide — @tom-doerr.bsky.social1 likes and repost
On Hacker News · 1
- Jul 1, 2025Claude Code Guide2 points
In this repository80 other files it gives its agents.
- skills/composition-patterns/AGENTS.mdAGENTS.md
- skills/react-best-practices/AGENTS.mdAGENTS.md
- academic-paper-reviewerSkill
- active-directory-attacksSkill
- api-fuzzing-bug-bountySkill
- api-shape-explorerSkill
- audit-flowSkill
- authentication-patternsSkill
- aws-penetration-testingSkill
- broken-authenticationSkill
- burp-suite-testingSkill
- cachingSkill
- chart-imageSkill
- cloud-penetration-testingSkill
- code-documenterSkill
- code-to-diagramSkill
- code-vuln-auditSkill
- vercel-composition-patternsSkill
- cross-examineSkill
- cv-tailorSkill
- database-optimizerSkill
- database-scoutSkill
- dataset-quality-auditSkill
- deep-module-refactorSkill
- design-system-builderSkill
- dev-guide-generatorSkill
- ethical-hacking-methodologySkill
- file-path-traversalSkill
- html-injection-testingSkill
- http-load-profilerSkill
- idor-testingSkill
- linux-privilege-escalationSkill
- linux-shell-scriptingSkill
- localization-toolkitSkill
- log-error-digestSkill
- metasploit-frameworkSkill
- network-101Skill
- nextjs-developerSkill
- pdfSkill
- pentest-checklistSkill
- pentest-commandsSkill
- pipeline-blueprintSkill
- playwright-ciSkill
- playwright-coreSkill
- playwright-migrationSkill
- playwright-cliSkill
- playwright-pomSkill
- playwright-skillSkill
- privilege-escalation-methodsSkill
- project-sizing-guideSkill
- r2-uploadSkill
- r3f-animationSkill
- r3f-best-practicesSkill
- vercel-react-best-practicesSkill
- red-team-toolsSkill
- regression-modelerSkill
- regulatory-audit-generatorSkill
- repo-auditSkill
- route-to-openapiSkill
- scanning-toolsSkill
- The first 60 shown.
The file
Files
Data Viz Renderer
Generate self-contained HTML/SVG infographics from JSON data. Four supported types:
- Stats Cards — KPI big numbers + trend arrows + icons
- Comparison Chart — Grouped bar chart with multiple series
- Flow Diagram — Step-by-step process with numbering, icons, and connecting arrows
- 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
python3 scripts/build_infographic.py config.jsonAlso supports reading from stdin:
cat config.json | python3 scripts/build_infographic.pyThe 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:
| Field | Type | Required | Description |
title | string | No | Infographic title |
subtitle | string | No | Subtitle |
type | string | Yes | stats / comparison / flow / dashboard |
palette | string | No | Color palette (default: auto) |
data | object/array | Yes | Data content (format depends on type) |
output | string | No | Output file path (default: infographic.html) |
footer | string | No | Footer 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
{
"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
{
"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
{
"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
{
"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:
{
"status": "success",
"output": "/absolute/path/to/infographic.html",
"type": "stats",
"title": "My Infographic",
"palette": "auto",
"size_bytes": 8432
}On error:
{
"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)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

