visualizelisted
Install: claude install-skill Classic298/open-webui-plugins
# Inline Visualizer
Render rich interactive visuals directly inline in chat using `render_visualization`.
## How to use
1. Call `render_visualization(html_code, title)` with an HTML or SVG **content fragment**
2. Do NOT include `<!DOCTYPE>`, `<html>`, `<head>`, or `<body>` — the tool wraps your content automatically
3. Structure: `<style>` first (prefer inline styles) → visible content → `<script>` last
4. The tool auto-injects: theme CSS, SVG classes, color ramps, height reporting, `sendPrompt()` bridge, and `openLink()` bridge
5. Consider making diagrams **conversational** with `sendPrompt()` — see the [sendPrompt bridge](#sendprompt-bridge--conversational-diagrams) section for patterns and examples
## Output rules
These rules keep visuals clean, accessible, and consistent with the host UI:
- **Flat design** — no gradients, drop shadows, blur, glow, or noise textures (the host UI is flat; matching it prevents visual jarring)
- **No emoji** — use CSS shapes or SVG paths for icons (emoji render inconsistently across platforms)
- **Sentence case** — all labels and headings
- **Round displayed numbers** — use Math.round, toLocaleString, or Intl.NumberFormat
- **Min font size 11px** — smaller becomes unreadable on most screens
- **Text weights** — 400 regular, 500 for emphasis only
- **All explanatory text goes in your prose response**, not inside the visual (keeps visuals data-dense and lets the model's response provide context)
---
## Design system
### CSS variables (