V

vega

by @markdown-viewerv
4.5(437)

Vega/Vega-Liteは、簡潔なJSON設定を通じて、棒グラフ、折れ線グラフ、散布図、ヒートマップなど、様々なデータ駆動型チャートを迅速に生成できる強力なデータ視覚化ツールです。数値データ配列の統計分析や、レーダーチャート、ワードクラウドのような複雑な視覚化に最適で、データ洞察の効率を大幅に向上させます。

data-visualizationchartingvega-litedata-analysisjsonGitHub
インストール方法
npx skills add markdown-viewer/skills --skill vega
compare_arrows

Before / After 効果比較

1
使用前

以前は、複雑なデータチャートの作成には、スプレッドシートソフトウェアでの手動調整や、冗長なコードの記述が必要でした。これは時間がかかり、エラーが発生しやすく、特に多系列データを扱う際にチャートスタイルの統一を保つのが困難でした。

使用後

Vega/Vega-Liteを使用すると、構造化されたJSON設定を通じて、プロフェッショナルで高度にカスタマイズ可能なデータチャートを迅速に生成できます。チャートスタイルは一貫しており、修正も容易で、データから視覚化までの時間を大幅に短縮します。

description SKILL.md

Vega / Vega-Lite Visualizer

Quick Start: Structure data as array of objects → Choose mark type (bar/line/point/area/arc/rect) → Map encodings (x, y, color, size) to fields → Set data types (quantitative/nominal/ordinal/temporal) → Wrap in ```vega-lite or ```vega fence. Always include $schema, use valid JSON with double quotes, field names are case-sensitive. Use Vega-Lite for 90% of charts; Vega only for radar, word cloud, force-directed.


Critical Syntax Rules

Rule 1: Always Include Schema

"$schema": "https://vega.github.io/schema/vega-lite/v5.json"

Rule 2: Valid JSON Only

❌ {field: "x",}     → Trailing comma, unquoted key
✅ {"field": "x"}    → Proper JSON

Rule 3: Field Names Must Match Data

❌ "field": "Category"  when data has "category"
✅ "field": "category"  → Case-sensitive match

Rule 4: Type Must Be Valid

✅ quantitative | nominal | ordinal | temporal
❌ numeric | string | date

Common Pitfalls

IssueSolution
Chart not renderingCheck JSON validity, verify $schema
Data not showingField names must match exactly
Wrong chart typeMatch mark to data structure
Colors not visibleCheck color scale contrast
Dual-axis issuesAdd resolve: {scale: {y: "independent"}}

Output Format

```vega-lite
{...}
```

Or for full Vega:

```vega
{...}
```

Related Files

For advanced chart patterns and complex visualizations, refer to references below:

  • examples.md — Stacked bar, grouped bar, multi-series line, area, heatmap, radar (Vega), word cloud (Vega), and interactive chart examples

forumユーザーレビュー (0)

レビューを書く

効果
使いやすさ
ドキュメント
互換性

レビューなし

統計データ

インストール数9.3K
評価4.5 / 5.0
バージョン
更新日2026年4月29日
比較事例1 件

ユーザー評価

4.5(437)
5
65%
4
25%
3
6%
2
3%
1
1%

この Skill を評価

0.0

対応プラットフォーム

🤖claude-code

タイムライン

作成2026年4月12日
最終更新2026年4月29日
🎁 Agent 知識カード