jpskill.com
📄 ドキュメント コミュニティ

csv-data-visualizer

CSVファイルを使って、インタラクティブなデータ可視化、統計プロット作成、データ分布分析、ダッシュボード作成、自動データプロファイリングなど、探索的データ分析をPlotlyの豊富なツールで支援するSkill。

📜 元の英語説明(参考)

This skill should be used when working with CSV files to create interactive data visualizations, generate statistical plots, analyze data distributions, create dashboards, or perform automatic data profiling. It provides comprehensive tools for exploratory data analysis using Plotly for interactive visualizations.

🇯🇵 日本人クリエイター向け解説

一言でいうと

CSVファイルを使って、インタラクティブなデータ可視化、統計プロット作成、データ分布分析、ダッシュボード作成、自動データプロファイリングなど、探索的データ分析をPlotlyの豊富なツールで支援するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o csv-data-visualizer.zip https://jpskill.com/download/16532.zip && unzip -o csv-data-visualizer.zip && rm csv-data-visualizer.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/16532.zip -OutFile "$d\csv-data-visualizer.zip"; Expand-Archive "$d\csv-data-visualizer.zip" -DestinationPath $d -Force; ri "$d\csv-data-visualizer.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して csv-data-visualizer.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → csv-data-visualizer フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
5

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

CSVデータビジュアライザー

概要

このスキルは、CSVファイルに対する包括的なデータ可視化と分析を可能にします。3つの主要な機能を提供します。(1) Plotlyを使用した個別のインタラクティブな可視化の作成、(2) 統計的な要約による自動データプロファイリング、(3) 複数プロットのダッシュボードの生成。このスキルは、探索的データ分析、統計レポート、およびプレゼンテーション対応の可視化の作成に最適化されています。

このスキルを使用するタイミング

ユーザーが以下を要求した場合に、このスキルを呼び出してください。

  • "このCSVデータを可視化して"
  • "このデータからヒストグラム/散布図/箱ひげ図を作成して"
  • "[column]の分布を見せて"
  • "このデータセットのダッシュボードを生成して"
  • "このCSVファイルをプロファイルして" または "このデータを分析して"
  • "相関ヒートマップを作成して"
  • "時間の経過に伴う傾向を示して"
  • "[categories]にわたる[variable]を比較して"

主要な機能

1. 個別の可視化

visualize_csv.pyスクリプトを使用して、詳細な分析のための特定のチャートタイプを作成します。

利用可能なチャートタイプ:

統計プロット:

# ヒストグラム - 数値データの分布
python3 scripts/visualize_csv.py data.csv --histogram column_name --bins 30

# 箱ひげ図 - 四分位数と外れ値を表示
python3 scripts/visualize_csv.py data.csv --boxplot column_name

# カテゴリ別にグループ化された箱ひげ図
python3 scripts/visualize_csv.py data.csv --boxplot salary --group-by department

# バイオリンプロット - 確率密度による分布
python3 scripts/visualize_csv.py data.csv --violin column_name --group-by category

関係分析:

# 自動トレンドライン付きの散布図
python3 scripts/visualize_csv.py data.csv --scatter height weight

# 色とサイズエンコーディング付きの散布図
python3 scripts/visualize_csv.py data.csv --scatter x y --color category --size value

# すべての数値列の相関ヒートマップ
python3 scripts/visualize_csv.py data.csv --correlation

時系列:

# 単一変数の折れ線グラフ
python3 scripts/visualize_csv.py data.csv --line date sales

# 同じチャート上の複数の変数
python3 scripts/visualize_csv.py data.csv --line date "sales,revenue,profit"

カテゴリデータ:

# 棒グラフ (カテゴリを自動的にカウント)
python3 scripts/visualize_csv.py data.csv --bar category

# 構成の円グラフ
python3 scripts/visualize_csv.py data.csv --pie region

出力形式: 目的の形式の拡張子を持つ出力ファイルを指定します。

# インタラクティブHTML (デフォルト)
python3 scripts/visualize_csv.py data.csv --histogram age -o output.html

# 静的画像形式
python3 scripts/visualize_csv.py data.csv --scatter x y -o plot.png
python3 scripts/visualize_csv.py data.csv --correlation -o heatmap.pdf
python3 scripts/visualize_csv.py data.csv --bar category -o chart.svg

2. 自動データプロファイリング

data_profile.pyスクリプトを使用して、包括的なデータ品質および統計レポートを生成します。

テキストレポート (デフォルト):

python3 scripts/data_profile.py data.csv

HTMLレポート:

python3 scripts/data_profile.py data.csv -f html -o report.html

JSONレポート:

python3 scripts/data_profile.py data.csv -f json -o profile.json

プロファイラーが提供するもの:

  • ファイル情報 (サイズ、次元)
  • データセットの概要 (形状、メモリ使用量、重複)
  • 列ごとの分析 (型、欠損データ、一意の値)
  • 欠損データのパターンと完全性
  • 数値列の統計的な要約 (平均、標準偏差、四分位数、歪度、尖度)
  • カテゴリ列の分析 (頻度カウント、最も/最も少ない共通の値)
  • データ品質チェック (高い欠損データ、重複行、定数列、高いカーディナリティ)

プロファイリングを使用するタイミング: 以下の場合、可視化を作成する前に、常にデータプロファイリングを実行することを推奨します。

  • ユーザーがデータセットに慣れていない
  • データ品質が不明
  • 適切な可視化タイプを特定する必要がある
  • 新しいデータセットを初めて探索する

3. 複数プロットダッシュボード

create_dashboard.pyスクリプトを使用して、複数の可視化を含む包括的なダッシュボードを作成します。

自動ダッシュボード: データ型を分析し、適切な可視化を自動的に作成します。

python3 scripts/create_dashboard.py data.csv

カスタム出力場所:

python3 scripts/create_dashboard.py data.csv -o my_dashboard.html

プロット数の制御:

python3 scripts/create_dashboard.py data.csv --max-plots 9

設定ファイルからのカスタムダッシュボード: 正確なプロットを指定するJSON設定ファイルを作成します。

python3 scripts/create_dashboard.py data.csv --config config.json

ダッシュボード設定形式:

{
  "title": "Sales Analysis Dashboard",
  "plots": [
    {"type": "histogram", "column": "revenue"},
    {"type": "box", "column": "revenue", "group_by": "region"},
    {"type": "scatter", "column": "advertising", "group_by": "revenue"},
    {"type": "bar", "column": "product_category"},
    {"type": "correlation"}
  ]
}

ダッシュボードプロットタイプ:

  • histogram: 数値列の分布
  • box: 箱ひげ図、オプションでカテゴリ別にグループ化
  • scatter: 2つの数値列間の関係
  • bar: カテゴリ値のカウント
  • correlation: 数値相関のヒートマップ

ワークフロー決定木

この決定木を使用して、適切なアプローチを決定します。

ユーザーがCSVファイルを提供
│
├─ "このデータをプロファイルして" / "このデータを分析して" / 不慣れなデータセット
│  └─> 最初に data_profile.py を実行
│     次に、発見に基づいて可視化オプションを提供する
│
├─ "ダッシュボードを作成して" / "データの概要" / 複数の可視化が必要
│  ├─ ユーザーが希望する正確なプロットを知っている
│  │  └─> JSON設定を作成 → 設定で create_dashboard.py を実行
│  └─ ユーザーが自動ダッシュボードを希望
│     └─> create_dashboard.py (自動モード) を実行
│
└─ 特定の可視化が要求された ("ヒストグラム", "散布図" など)
   └─> 適切なフラグを使用して visualize_csv.py を使用

ベストプラクティス

分析の開始

  1. 不慣れなデータセットの場合は、常に最初にプロファイルします: `python3 scripts/data_pr (原文がここで切り詰められています)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

CSV Data Visualizer

Overview

This skill enables comprehensive data visualization and analysis for CSV files. It provides three main capabilities: (1) creating individual interactive visualizations using Plotly, (2) automatic data profiling with statistical summaries, and (3) generating multi-plot dashboards. The skill is optimized for exploratory data analysis, statistical reporting, and creating presentation-ready visualizations.

When to Use This Skill

Invoke this skill when users request:

  • "Visualize this CSV data"
  • "Create a histogram/scatter plot/box plot from this data"
  • "Show me the distribution of [column]"
  • "Generate a dashboard for this dataset"
  • "Profile this CSV file" or "Analyze this data"
  • "Create a correlation heatmap"
  • "Show trends over time"
  • "Compare [variable] across [categories]"

Core Capabilities

1. Individual Visualizations

Create specific chart types for detailed analysis using the visualize_csv.py script.

Available Chart Types:

Statistical Plots:

# Histogram - distribution of numeric data
python3 scripts/visualize_csv.py data.csv --histogram column_name --bins 30

# Box plot - show quartiles and outliers
python3 scripts/visualize_csv.py data.csv --boxplot column_name

# Box plot grouped by category
python3 scripts/visualize_csv.py data.csv --boxplot salary --group-by department

# Violin plot - distribution with probability density
python3 scripts/visualize_csv.py data.csv --violin column_name --group-by category

Relationship Analysis:

# Scatter plot with automatic trend line
python3 scripts/visualize_csv.py data.csv --scatter height weight

# Scatter plot with color and size encoding
python3 scripts/visualize_csv.py data.csv --scatter x y --color category --size value

# Correlation heatmap for all numeric columns
python3 scripts/visualize_csv.py data.csv --correlation

Time Series:

# Line chart for single variable
python3 scripts/visualize_csv.py data.csv --line date sales

# Multiple variables on same chart
python3 scripts/visualize_csv.py data.csv --line date "sales,revenue,profit"

Categorical Data:

# Bar chart (counts categories automatically)
python3 scripts/visualize_csv.py data.csv --bar category

# Pie chart for composition
python3 scripts/visualize_csv.py data.csv --pie region

Output Formats: Specify output file with desired format extension:

# Interactive HTML (default)
python3 scripts/visualize_csv.py data.csv --histogram age -o output.html

# Static image formats
python3 scripts/visualize_csv.py data.csv --scatter x y -o plot.png
python3 scripts/visualize_csv.py data.csv --correlation -o heatmap.pdf
python3 scripts/visualize_csv.py data.csv --bar category -o chart.svg

2. Automatic Data Profiling

Generate comprehensive data quality and statistical reports using the data_profile.py script.

Text Report (default):

python3 scripts/data_profile.py data.csv

HTML Report:

python3 scripts/data_profile.py data.csv -f html -o report.html

JSON Report:

python3 scripts/data_profile.py data.csv -f json -o profile.json

What the Profiler Provides:

  • File information (size, dimensions)
  • Dataset overview (shape, memory usage, duplicates)
  • Column-by-column analysis (types, missing data, unique values)
  • Missing data patterns and completeness
  • Statistical summary for numeric columns (mean, std, quartiles, skewness, kurtosis)
  • Categorical column analysis (frequency counts, most/least common values)
  • Data quality checks (high missing data, duplicate rows, constant columns, high cardinality)

When to Use Profiling: Always recommend running data profiling BEFORE creating visualizations when:

  • User is unfamiliar with the dataset
  • Data quality is unknown
  • Need to identify appropriate visualization types
  • Exploring a new dataset for the first time

3. Multi-Plot Dashboards

Create comprehensive dashboards with multiple visualizations using the create_dashboard.py script.

Automatic Dashboard: Analyzes data types and automatically creates appropriate visualizations:

python3 scripts/create_dashboard.py data.csv

Custom output location:

python3 scripts/create_dashboard.py data.csv -o my_dashboard.html

Control number of plots:

python3 scripts/create_dashboard.py data.csv --max-plots 9

Custom Dashboard from Config: Create a JSON configuration file specifying exact plots:

python3 scripts/create_dashboard.py data.csv --config config.json

Dashboard Config Format:

{
  "title": "Sales Analysis Dashboard",
  "plots": [
    {"type": "histogram", "column": "revenue"},
    {"type": "box", "column": "revenue", "group_by": "region"},
    {"type": "scatter", "column": "advertising", "group_by": "revenue"},
    {"type": "bar", "column": "product_category"},
    {"type": "correlation"}
  ]
}

Dashboard Plot Types:

  • histogram: Distribution of numeric column
  • box: Box plot, optionally grouped by category
  • scatter: Relationship between two numeric columns
  • bar: Count of categorical values
  • correlation: Heatmap of numeric correlations

Workflow Decision Tree

Use this decision tree to determine the appropriate approach:

User provides CSV file
│
├─ "Profile this data" / "Analyze this data" / Unfamiliar dataset
│  └─> Run data_profile.py first
│     Then offer visualization options based on findings
│
├─ "Create dashboard" / "Overview of the data" / Multiple visualizations needed
│  ├─ User knows exact plots wanted
│  │  └─> Create JSON config → run create_dashboard.py with config
│  └─ User wants automatic dashboard
│     └─> Run create_dashboard.py (auto mode)
│
└─ Specific visualization requested ("histogram", "scatter plot", etc.)
   └─> Use visualize_csv.py with appropriate flag

Best Practices

Starting Analysis

  1. Always profile first for unfamiliar datasets: python3 scripts/data_profile.py data.csv
  2. Review the profiling output to understand:
    • Column data types and ranges
    • Missing data patterns
    • Data quality issues
    • Statistical distributions

Choosing Visualizations

Consult references/visualization_guide.md for detailed guidance. Quick reference:

  • Distribution: Histogram, box plot, violin plot
  • Relationship: Scatter plot, correlation heatmap
  • Time series: Line chart
  • Categories: Bar chart (preferred) or pie chart (use sparingly)
  • Comparison: Box plot grouped by category

Creating Dashboards

  • Automatic dashboard: Good for initial exploration
  • Custom dashboard: Better for presentations or specific analysis goals
  • Limit plots: Keep to 6-9 plots maximum for readability
  • Logical grouping: Group related visualizations together

Output Considerations

  • HTML: Best for interactive exploration (zoom, pan, hover tooltips)
  • PNG/PDF: Best for reports and presentations
  • SVG: Best for publications requiring vector graphics

Dependencies

The scripts require these Python packages:

pip install pandas plotly numpy

For static image export (PNG, PDF, SVG), also install:

pip install kaleido

Example Workflows

Exploratory Data Analysis

# 1. Profile the data
python3 scripts/data_profile.py sales_data.csv -f html -o profile.html

# 2. Create automatic dashboard
python3 scripts/create_dashboard.py sales_data.csv -o dashboard.html

# 3. Dive deeper with specific plots
python3 scripts/visualize_csv.py sales_data.csv --scatter price sales --color region
python3 scripts/visualize_csv.py sales_data.csv --boxplot revenue --group-by product

Report Generation

# Create specific visualizations for report
python3 scripts/visualize_csv.py data.csv --histogram age -o fig1_distribution.png
python3 scripts/visualize_csv.py data.csv --scatter income age -o fig2_correlation.png
python3 scripts/visualize_csv.py data.csv --bar category -o fig3_categories.png

# Generate data summary
python3 scripts/data_profile.py data.csv -f html -o data_summary.html

Interactive Dashboard

# Create custom dashboard for presentation
# 1. First, create config.json with desired plots
# 2. Generate dashboard
python3 scripts/create_dashboard.py data.csv --config config.json -o presentation_dashboard.html

Troubleshooting

"Column not found" errors:

  • Run data profiling to see exact column names
  • CSV columns are case-sensitive
  • Check for leading/trailing spaces in column names

Empty or incorrect visualizations:

  • Verify data types (numeric vs categorical)
  • Check for missing data in plotted columns
  • Ensure sufficient non-null values exist

Script execution errors:

  • Verify dependencies are installed: pip list | grep plotly
  • Check Python version: Python 3.6+ required
  • For image export issues, install kaleido: pip install kaleido

Resources

scripts/

  • visualize_csv.py: Main visualization script with all chart types
  • data_profile.py: Automatic data profiling and quality analysis
  • create_dashboard.py: Multi-plot dashboard generator

references/

  • visualization_guide.md: Comprehensive guide for choosing appropriate chart types, best practices, and common patterns

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。