Token导航 LogoToken导航

Agent Skill · 研究检索

mviz(mviz 搜索)

mviz 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

mviz 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 22,834。

总安装 4,443周安装 187GitHub Stars 211下载 1,556核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mviz(mviz 搜索)
来源仓库:https://github.com/matsonj/mviz
仓库路径:skills/mviz
安装命令:
npx skills add https://github.com/matsonj/mviz --skill mviz
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/matsonj/mviz --skill mviz

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。mviz 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适合根据关键词、任务场景或来源线索快速定位候选结果。可结合来源仓库和原始 README 继续核验具体用法。安装前建议确认权限范围和维护状态,避免误操作。注意是否会触发联网、命令执行或文件读写。

来源仓库内路径:skills/mviz

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/matsonj/mviz --skill mviz;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

mviz 怎么安装?

在终端执行 npx skills add https://github.com/matsonj/mviz --skill mviz。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

mviz 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

mviz 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

mviz 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

mviz 用的人多吗?

公开数据是累计安装 4,443 次,近一周安装 187 次,下载 1,556 次,GitHub 211 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

mviz 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
mviz

mviz 搜索 · 本页

4,443211需要联网MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

mviz v1.6.7

mviz

Generate clean, data-focused charts and dashboards from compact JSON specs or markdown. Maximizes data-ink ratio with minimal chartjunk, gridlines, and decorative elements. Uses a 16-column grid layout system.

Setup

No installation required. Use npx -y -q mviz which auto-downloads from npm. The -q flag reduces npm output while still showing lint errors.

For faster repeated use, install globally: npm install -g mviz

What This Skill Does

Converts minimal JSON specifications into standalone HTML visualizations using ECharts. Instead of writing 50-100 lines of chart code, write a compact spec that gets expanded into a full HTML artifact with professional styling.

Visual Style (mdsinabox theme)

  • Font: Helvetica Neue, Arial (clean sans-serif)
  • Signature: Orange accent line at top of dashboards
  • Palette: Blue primary, orange secondary, semantic colors (green=positive, amber=warning, red=error)
  • Background: Paper (#f8f8f8 light) / Dark (#231f20 dark)
  • Principles: High data-ink ratio, no chartjunk, minimal gridlines, data speaks for itself

How to Use

Single Chart (JSON)

echo '<json_spec>' | npx -y -q mviz -o chart.html

Dashboard from Markdown

npx -y -q mviz dashboard.md -o dashboard.html

Dashboard from Folder

npx -y -q mviz my-dashboard/ -o dashboard.html

16-Column Grid System

Components are sized using size=[cols,rows] syntax:

{"value": 1250000, "label": "Revenue", "format": "currency0m"}

{"title": "Sales", "x": "month", "y": "sales", "file": "data/sales.json"}

  • 16 columns total width (both portrait and landscape)
  • Row height: ~32px per row unit (approximate - charts have padding)
  • Page capacity: Portrait [16c × 30r], Landscape [16c × 22r]
  • Components on same line share the row
  • Empty line = new row

Height Guidelines:

Row UnitsApproximate HeightGood For
2~64pxKPIs, single-line notes
4~128pxSmall tables, text blocks
5-6~160-192pxStandard charts
8+~256px+Dense tables, detailed charts

For charts with many categories (10+ bars, 10+ rows in dumbbell), increase row units to prevent compression.

Side-by-Side Layout

Critical: To place components side-by-side, their code blocks must have NO blank lines between them:

{"title": "Chart A", ...}

{"title": "Chart B", ...}

This renders Chart A and Chart B on the same row. Adding a blank line between them would put them on separate rows.

Headings and Section Breaks

SyntaxEffect
# H1Page title
## H2Section title
### H3Light inline header (subtle, smaller text)
---Visual divider line
===Page break for printing
empty_spaceInvisible grid cell spacer (default 4 cols × 2 rows)

Heading Guidelines:

  • Set the page title with either the frontmatter title: *or* a leading # H1, not both.
  • Use ## H2 for section titles within a page (most common).
  • Use ### H3 for lightweight subheadings that don't interrupt flow.

Section vs Page Breaks:

  • Use --- to separate logical sections visually. Content flows naturally to the next page when needed.
  • Use === only when you explicitly want to force a new page (e.g., separating chapters or major report sections for PDF output).
  • Never use === by default. Only add page breaks when the user specifically requests them.

Default Sizes

ComponentDefault SizeNotes
big_value[4, 2]Fits 4 per row
delta[4, 2]Fits 4 per row
sparkline[4, 2]Compact inline chart
bar, line, area[8, 5]Half width
pie, scatter, bubble[8, 5]Half width
funnel, sankey, heatmap[8, 5]Half width
histogram, boxplot, waterfall[8, 5]Half width
combo[8, 5]Half width
dumbbell[12, 6]3/4 width
table[16, 4]Full width
textarea[16, 4]Full width
calendar[16, 3]Full width
xmr[16, 6]Full width, tall
mermaid[8, 5]Half width (use ascii: true for text art)
alert, note, text[16, 1]Full width, single row
empty_space[4, 2]Invisible spacer

Recommended Size Pairings

Layout GoalComponentsSizes
4 KPIs in a row4× big_value[4,2] each
5 KPIs in a row4× big_value + 1 wider[3,2] + [4,2]
KPI + contextbig_value + textarea[3,2] + [13,2]
KPI + chartbig_value + bar[4,2] + [12,5]

Example: Dense KPI Row

{"value": 1250000, "label": "Revenue", "format": "currency0m"}

{"value": 8450, "label": "Orders", "format": "num0k"}

{"value": 2400000000, "label": "Queries", "format": "num0b"}

{"value": 0.15, "label": "MoM", "format": "pct0"}

{"value": 0.08, "label": "vs Target", "format": "pct0"}

This creates a row with 5 KPIs (3+3+3+3+4 = 16 columns).

Example: Two Charts Side by Side

Supported Types

Charts: bar, line, area, pie, scatter, bubble, boxplot, histogram, waterfall, xmr, sankey, funnel, heatmap, calendar, sparkline, combo, dumbbell, mermaid

UI Components: big_value, delta, alert, note, text, textarea, empty_space, table

Table Formatting

Tables support column-level and cell-level formatting:

Column options: bold, italic, type ("sparkline" or "heatmap")

{
  "type": "table",
  "columns": [
    {"id": "product", "title": "Product", "bold": true},
    {"id": "category", "title": "Category", "italic": true},
    {"id": "sales", "title": "Sales", "fmt": "currency"},
    {"id": "margin", "title": "Margin", "type": "heatmap", "fmt": "pct"},
    {"id": "trend", "title": "Trend", "type": "sparkline", "sparkType": "line"}
  ],
  "data": [
    {"product": "Widget", "category": "Electronics", "sales": 125000, "margin": 0.85, "trend": [85, 92, 88, 95, 102, 125]}
  ]
}

Cell-level overrides: Use {"value": "text", "bold": true} to override column defaults.

Heatmap: Applies color gradient from low to high values. Text auto-switches to white on dark backgrounds.

Sparkline types: line, bar, area, pct_bar (progress bar), dumbbell (before/after comparison)

Sort & filter:

FieldValuesDefaultEffect
sortabletrue / falsetrueClick a column header to sort. Cycles asc → desc → off. Numeric columns sort by raw value.
filtertrue / falsefalseWhen true, render a "Filter by any value…" search input above the table. Rows filter live on case-insensitive contains match across all cells.

Example: {"type": "table", "filter": true, "columns": [...], "data": [...]}

Note Types

Notes support three severity levels via noteType:

TypeBorder ColorUse For
defaultRedImportant notices (default)
warningYellowCautions, preliminary data
tipGreenBest practices, pro tips

Notes also support an optional label for bold prefix text:

{"type": "note", "label": "Pro Tip:", "content": "Use keyboard shortcuts for faster navigation.", "noteType": "tip"}

Specialized Chart Examples

big_value - Hero metrics with large display:

{"type": "big_value", "value": 1250000, "label": "Revenue", "format": "currency0m"}
  • Optional comparison object: {"value": 10300, "format": "currency", "label": "vs last month"} shows change with arrow

dumbbell - Before/after comparisons with directional coloring:

{
  "type": "dumbbell",
  "title": "ELO Changes",
  "category": "team",
  "start": "before",
  "end": "after",
  "startLabel": "Week 1",
  "endLabel": "Week 2",
  "higherIsBetter": true,
  "data": [
    {"team": "Chiefs", "before": 1650, "after": 1720},
    {"team": "Bills", "before": 1600, "after": 1550}
  ]
}
  • Green = improvement, Red = decline, Grey = no change
  • higherIsBetter: false for rankings (lower = better)
  • Labels auto-abbreviate large numbers (7450 → "7k")

delta - Change metrics with directional coloring:

{"type": "delta", "value": 0.15, "label": "MoM Growth", "format": "pct0"}
  • Positive values show green with ▲, negative show red with ▼
  • Optional comparison object: {"value": 0.05, "label": "vs Target"}

area - Filled line chart for cumulative/volume data:

{
  "type": "area",
  "title": "Daily Active Users",
  "x": "date",
  "y": "users",
  "data": [{"date": "Mon", "users": 1200}, {"date": "Tue", "users": 1450}]
}

combo - Bar + line with dual Y-axis:

{
  "type": "combo",
  "title": "Revenue vs Growth Rate",
  "x": "quarter",
  "y": ["revenue", "growth_rate"],
  "data": [
    {"quarter": "Q1", "revenue": 1000000, "growth_rate": 0.15},
    {"quarter": "Q2", "revenue": 1200000, "growth_rate": 0.20}
  ]
}
  • First y-field renders as bars, second as line
  • Dual Y-axes with independent scales

heatmap - 2D matrix visualization:

{
  "type": "heatmap",
  "title": "Activity by Hour",
  "xCategories": ["Mon", "Tue", "Wed", "Thu", "Fri"],
  "yCategories": ["9am", "12pm", "3pm", "6pm"],
  "format": "num0",
  "data": [[0, 0, 85], [1, 0, 90], [2, 0, 72]]
}
  • format option applies to cell labels (e.g., num0k, currency0k, pct)

funnel - Conversion or elimination flows:

{
  "type": "funnel",
  "title": "Sales Pipeline",
  "format": "num0",
  "data": [
    {"stage": "Leads", "value": 1000},
    {"stage": "Qualified", "value": 600},
    {"stage": "Proposal", "value": 300},
    {"stage": "Closed", "value": 100}
  ]
}
  • format option applies to labels/tooltips (e.g., currency_auto, pct, num0)

waterfall - Cumulative change visualization:

{
  "type": "waterfall",
  "title": "Revenue Bridge",
  "x": "item",
  "y": "value",
  "data": [
    {"item": "Start", "value": 1000, "isTotal": true},
    {"item": "Growth", "value": 200},
    {"item": "Churn", "value": -50},
    {"item": "End", "value": 1150, "isTotal": true}
  ]
}

bubble - Scatter with size dimension. Supports series for color grouping and showLabels for persistent labels:

{
  "type": "bubble",
  "title": "Market Analysis",
  "x": "growth",
  "y": "profit",
  "size": "revenue",
  "series": "region",
  "label": "company",
  "data": [
    {"growth": 5, "profit": 20, "revenue": 100, "region": "US", "company": "Acme"},
    {"growth": 10, "profit": 15, "revenue": 200, "region": "EU", "company": "Beta"}
  ]
}

sankey - Flow diagrams showing relationships:

{
  "type": "sankey",
  "title": "Traffic Sources",
  "data": [
    {"source": "Organic", "target": "Landing", "value": 500},
    {"source": "Paid", "target": "Landing", "value": 300},
    {"source": "Landing", "target": "Signup", "value": 400}
  ]
}

mermaid - Diagrams from Mermaid syntax (flowcharts, sequence, state, class, ER). Use array for multi-line code:

{
  "type": "mermaid",
  "title": "User Flow",
  "code": [
    "graph TD",
    "  A[Start] --> B{Decision}",
    "  B -->|Yes| C[Action]",
    "  B -->|No| D[End]"
  ]
}

mermaid (ASCII) - ASCII/Unicode text-based diagrams (set ascii: true):

{
  "type": "mermaid",
  "title": "Process Flow",
  "code": ["graph LR", "  A[Input] --> B[Process] --> C[Output]"],
  "ascii": true
}

Mermaid lint rules (errors that will fail validation):

  • No <br/> tags in labels (render as literal text, not line breaks)
  • No quoted labels like A["text"] in flowcharts (quotes appear in output)

Number Format Options

FormatExampleUse For
auto1.000m, 10.00kSmart auto-format (recommended)
currency_auto$1.000m, $10.00kSmart auto-format with $ prefix
currency0m$1.2mMillions
currency0b$1.2bBillions
currency0k$125kThousands
currency$1,250,000Detailed amounts
num0m1.2mMillions
num0b1.2bBillions
num0k125kThousands
num01,250,000Detailed counts
pct15.0%Percentage with decimal
pct015%Percentage integer
pct115.0%Percentage with 1 decimal
date2026-02-24Date column — string values pass through; numeric epoch ms render as YYYY-MM-DD. Tables sort by epoch ms.
duration1m7sDuration column — numeric seconds render as 1m7s / 25m39s; strings pass through. Tables sort by total seconds.

Percentage formats: pct, pct0, pct1 always multiply by 100 for scalar components (big_value, delta) — pass 0.15 for 15%. Charts and tables are series-aware: they inspect the column/series and skip the multiply when any value exceeds 1, so [15, 22, 18] renders as 15.0%, 22.0%, 18.0% (not 1500%+) while [0.15, 0.22, 0.18] still renders as 15.0%, 22.0%, 18.0%. Pass [0.8, 1.2] for a growth-rate series and it'll render as 80%, 120%. If big_value / delta get a pct value > 1, the linter warns "did you mean value/100?".

Smart formatting (auto/currency_auto) is recommended. The format option applies to both axis labels and data labels on bar charts. It automatically picks the right suffix (k, m, b) based on magnitude and always shows 4 significant digits. Negative values are wrapped in parentheses: (1.000m).

When no format is specified, smart formatting is used by default.

Auto-Detected Axis Formatting

Chart axes automatically detect the appropriate format based on field names:

Field PatternAuto FormatExample
revenue, sales, price, cost, profit, amountcurrency_auto$1.250m
pct, percent, rate, ratiopct15.0%
All other numeric fieldsauto1.250m

Override with an explicit format field in the chart spec.

Columnar Data Format

The chart generator auto-detects columnar query results. Instead of manually converting columns/rows to data, pass the result directly:

{
  "type": "bar",
  "title": "Sales by Region",
  "x": "region",
  "y": "sales",
  "columns": ["region", "sales"],
  "rows": [["North", 45000], ["South", 32000], ["East", 28000]]
}

This is automatically converted internally. No manual JSON reconstruction needed.

Axis Bounds (yMin/yMax)

For line, area, bar, and combo charts, control y-axis range with yMin and yMax:

{
  "type": "line",
  "title": "Elo Rating Trend",
  "x": "date",
  "y": "elo",
  "yMin": 1400,
  "data": [{"date": "Oct", "elo": 1511}, {"date": "Jan", "elo": 1636}]
}

Use yMin when:

  • Data doesn't start at 0 (ratings, stock prices, temperatures)
  • You want to emphasize relative changes over absolute values

Use yMax when:

  • Labels are being cut off at the top of the chart
  • You need headroom above the highest data point

Validation & Lint Rules

The CLI validates specs automatically using built-in lint rules. Use --lint flag for validation-only mode:

npx -y -q mviz --lint dashboard.md  # Validate without generating HTML

Lint Rules

RuleSeverityTrigger
required-fieldswarningMissing required fields like x, y, or data
unknown-fieldwarningField not recognized for the chart type
time-series-sortederrorTime series data not in chronological order
sankey-wrong-keyserrorUsing from/to instead of source/target
big-value-stringerrorPassing "62.5%" string instead of 0.625 number
duplicate-x-valueswarningDuplicate values on x-axis
mermaid-no-br-tagserror<br/> tags in mermaid code (render as literal text)
mermaid-no-quoted-labelserrorQuoted labels like A["text"] in flowcharts

Errors exit with code 1. Warnings log to stderr but don't fail.

Common Fixes

Time series error: Sort your data by date before passing to the chart.

Sankey wrong keys: Use source, target, value in your data:

{"source": "A", "target": "B", "value": 100}

big_value string: Pass numeric value with format option:

{"type": "big_value", "value": 0.625, "format": "pct0", "label": "Rate"}

Troubleshooting

Warning Messages

The generator outputs helpful warnings to stderr when issues are detected:

WarningCauseSolution
Invalid JSON in 'bar' blockMalformed JSON syntaxCheck JSON syntax, ensure proper quoting
Unknown component type 'bars'Typo in chart typeUse suggested type (e.g., bar not bars)
Cannot resolve 'file=...'File reference without base directoryUse file path argument or inline JSON
Row exceeds 16 columnsToo many components in one rowReduce component widths or split into rows

Warnings include context like content previews, similar type suggestions, and section/row info.

Labels Cut Off at Chart Edges

If data labels on bar, line, or area charts are being cut off at the top:

  1. Find the maximum value in your data
  2. Set yMax to ~10-15% higher than that value

Example: If max value is 200, set "yMax": 220

{
  "type": "bar",
  "title": "Sales",
  "x": "month",
  "y": "sales",
  "yMax": 250,
  "data": [{"month": "Jan", "sales": 180}, {"month": "Feb", "sales": 220}]
}

This provides headroom for the label text above the bars.

Data Generation Best Practice

Use SQL to generate data files instead of manually authoring JSON. This reduces errors and ensures data accuracy:

-- Generate chart data file
COPY (
  SELECT month, SUM(sales) as sales, SUM(revenue) as revenue
  FROM orders
  GROUP BY month
  ORDER BY month
) TO 'data/monthly-sales.json' (FORMAT JSON, ARRAY true);

Then reference the generated file:

{"title": "Monthly Sales", "x": "month", "y": "sales"}

This approach:

  • Ensures data accuracy (no manual transcription errors)
  • Keeps data in sync with source systems
  • Reduces token usage (SQL is more compact than JSON arrays)
  • Makes updates easy (re-run query to refresh)

File References (JSON and CSV)

Reference external data files to save tokens and enable data/visualization separation:

JSON Files

CSV Files (DuckDB Workflow)

CSV files work great with DuckDB for data exploration:

# Export query results to CSV
duckdb -csv -c "SELECT quarter, revenue FROM sales" > data/quarterly.csv

{"title": "Quarterly Revenue", "x": "quarter", "y": "revenue"}

  • CSV provides data, inline JSON provides chart options (title, x, y, format)
  • Auto-detection: If no inline options, first column = x, second column = y
  • Type conversion: Numeric strings auto-convert to int/float

Benefits of File References

ApproachBest For
Inline JSONSmall, static specs
JSON filesReusable chart configs
CSV filesDuckDB workflows, frequently updated data

Dashboard Markdown Format

---
theme: light
title: My Dashboard
---

# Page Title

## Section Name

{"value": 125000, "label": "Revenue", "format": "currency0k"}

Rules:

  • # Title sets the page title (first occurrence only)
  • ## Section creates a new section with divider (border, spacing)
  • ### Header creates a soft header within the current section (no divider)
  • --- creates a section break (untitled, visual divider only)
  • === creates a page break (forces new page when printing to PDF)
  • size=[cols,rows] controls layout (16-column grid)
  • size=auto auto-calculates size from data
  • file=path references external JSON
  • Empty lines = new rows

Theme Toggle

Dashboards include a theme toggle button (top right) that switches between light and dark modes. All charts dynamically update when the theme changes.

Set the default theme in frontmatter:

---
title: My Dashboard
theme: dark
orientation: landscape
print: true
---
OptionDescription
titleDashboard title displayed at top
themelight (default) or dark
orientationportrait (default) or landscape for print layout
printWhen true, requires explicit size=[cols,rows] on all components
continuousWhen true, removes section breaks between # headers for flowing layout

Page capacity: Portrait fits 30 row units, landscape fits 22 row units (Letter paper, 0.5" margins).

The theme toggle affects all charts globally - individual chart theme settings are ignored in favor of the global toggle.

Custom Themes

Load custom brand colors and fonts from a YAML file:

npx -y -q mviz --theme my_theme.yaml dashboard.md -o dashboard.html

Example theme file:

name: brand-colors
extends: light

colors:
  primary: "#1a73e8"
  secondary: "#ea4335"

palette:
  - "#1a73e8"
  - "#ea4335"
  - "#fbbc04"

fonts:
  family: "'Roboto', sans-serif"
  import: "https://fonts.googleapis.com/css2?family=Roboto&display=swap"

Custom themes merge with defaults - only specify what you want to override.

Print and PDF Support

Charts are optimized for printing to PDF:

  • High-Quality Rendering: Uses SVG renderer for crisp vector graphics at any zoom level
  • No Page Breaks: CSS prevents charts and tables from being split across pages
  • All Labels Visible: Category labels always shown with 45° rotation to fit

When printing dashboards to PDF, all content stays intact without being cut off mid-chart.

JSON Formatting for Editability

Use formatted (multi-line) JSON when data may need editing. This enables smaller, more precise edits:

{ "title": "Monthly Sales", "x": "month", "y": "sales", "data": [ {"month": "Jan", "sales": 120}, {"month": "Feb", "sales": 150}, {"month": "Mar", "sales": 180} ] }

Benefits:

  • Each data point on its own line enables targeted edits
  • Changing one value: ~30 chars vs ~200+ chars with compact JSON
  • Easier to review diffs in version control

When to use compact JSON:

  • Very small specs (< 100 chars)
  • Data that won't change
  • Single-line values like {"value": 1250000, "label": "Revenue"}

JSON Schema

mviz specs can be validated using the JSON Schema at:

https://raw.githubusercontent.com/matsonj/mviz/main/schema/mviz.schema.json

Add $schema to enable editor autocomplete and validation:

{
  "$schema": "https://raw.githubusercontent.com/matsonj/mviz/main/schema/mviz.schema.json",
  "type": "bar",
  "title": "Sales",
  ...
}

Color Palette (mdsinabox theme)

ColorHexUse
Primary Blue#0777b3Primary series
Secondary Orange#bd4e35Secondary series, accent
Info Blue#638CADTertiary, informational
Positive Green#2d7a00Success, positive values
Warning Amber#e18727Warnings
Error Red#bc1200Errors, negative emphasis

See reference/chart-types.md for complete documentation.

Your Role

You are an analytics assistant helping a human who has decision-making context that you lack. Your job is to present data clearly and surface patterns worth investigating—not to draw conclusions or make recommendations.

Key principles:

  • Use a matter-of-fact tone. State what the data shows, not what it means.
  • Design analysis that invites further questions, not analysis that closes them.
  • Surface anomalies and patterns without assuming their cause or significance.
  • Let the human add context and make decisions.

For additional guidance on creating effective data visualizations—including Tufte-inspired principles, anti-patterns to avoid, and layout examples—see Best_practices.md.

Feedback

Having issues with mviz? Ask Claude to create a friction log documenting the problem, then open it as an issue at https://github.com/matsonj/mviz/issues

平台分布

Claude Code

29.34%
按下载量换算457

OpenCode

23.43%
按下载量换算365

Cursor

16.06%
按下载量换算250

Antigravity

12.72%
按下载量换算198

windsurf

7.94%
按下载量换算124

Gemini CLI

3.22%
按下载量换算50

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills