# Visualize

> End-user visualization — diagrams (Mermaid mindmaps/flowcharts/sequence/ER), LaTeX math in chat or UI cards, and Chart.js HTML charts/dashboards from CSV/Excel/JSON. Use when the user wants to visualize, draw a diagram, mind map, flowchart, plot data, chart a spreadsheet, or explain with equations. Triggers on: "시각화", "다이어그램", "마인드맵", "flowchart", "mermaid", "차트 만들어줘", "plot this", "dashboard from CSV", "수식 그려줘", "visualize this". Not for document authoring or format conversion (use the docs skill).

- Skill: `fritzprix/visualize` (Agent Skill, multi-file: 9 files)
- Install (CLI): `npx get-skill add fritzprix/visualize`
- Raw SKILL.md: https://api.skillmd.com/api/skills/fritzprix/visualize/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: fritzprix (https://skillmd.com/u/fritzprix)
- Updated: 2026-11-12
- Page: https://skillmd.com/skills/fritzprix/visualize

---


# Visualize

One skill for **showing** things. Prefer in-chat/UI renderers for diagrams and math; use bundled scripts only for **tabular → HTML charts**.

## Choose a path

| Need | Path | Detail |
| --- | --- | --- |
| Mindmap, flowchart, sequence, ER, state | **Chat / UI markdown** | `` ```mermaid `` fence. See [diagrams.md](references/diagrams.md). |
| Equations | **Chat / UI markdown** | `$inline$` / `$$display$$` (KaTeX). See [diagrams.md](references/diagrams.md). |
| Diagram + user input | **Chat markdown + `ui__askUser`** | Show the Mermaid fence in the reply, then ask the choice with `ui__askUser`. |
| Final report with visuals | **`ui__reportResult`** | Same Mermaid/LaTeX fences in markdown. |
| Charts/dashboards from **tabular** data | **This skill’s scripts** | CSV/Excel/JSON → HTML. See [charts.md](references/charts.md). |

LibrAgent already renders Mermaid and LaTeX in chat, `ui__reportResult`, and PDF export — do not invent a separate renderer.

## Default workflow

1. **Classify** with the table. Mixed asks (architecture + sales CSV) → Mermaid in chat **and** chart HTML via [charts.md](references/charts.md).
2. **Diagrams/math** → emit complete fences in the reply (finish the closing ``` before relying on render). Load [diagrams.md](references/diagrams.md) for examples.
3. **Tabular charts** → read [charts.md](references/charts.md), then run `scripts/visualize.py` (inspect → chart/dashboard).
4. **Avoid** fetching CDN Mermaid in ad-hoc HTML for simple diagrams, dumping Mermaid as ` ```text `, or opening a browser solely to view a diagram that already renders in chat.

## Not this skill

| Skill | Use for |
| --- | --- |
| **docs** | Convert to or from PDF, DOCX, PPTX, Markdown |
| **deep-research** | Narrative research reports |
| **workspace-indexer** | Batch markdown index for a repo |

## References

- [diagrams.md](references/diagrams.md) — Mermaid & LaTeX in chat/UI
- [charts.md](references/charts.md) — tabular → Chart.js HTML
- [charts-request-patterns.md](references/charts-request-patterns.md)
- [charts-dashboard-spec.md](references/charts-dashboard-spec.md)
- [charts-output-format.md](references/charts-output-format.md)
- [charts-error-handling.md](references/charts-error-handling.md)

