Data & analysis

data-viz-wizard

Try it

Transform CSV data into stunning interactive chart visualizations with Chart.js

What it does

Transform CSV data into stunning interactive chart visualizations with Chart.js

The skill document

Data Viz Wizard

Transform any CSV file into stunning, interactive HTML chart visualizations powered by Chart.js.

Quick Start

# Auto-detect best chart type
python scripts/viz_wizard.py chart sales.csv --type auto --output chart.html

# Generate a full dashboard with multiple charts
python scripts/viz_wizard.py dashboard data.csv --output dashboard.html

# Specify exact chart type and axes
python scripts/viz_wizard.py csv metrics.csv --type line --x date --y revenue --title 'Revenue Trend'

# Pipe data via stdin
cat data.csv | python scripts/viz_wizard.py --auto --output viz.html

Commands

CommandDescription
chart Generate a single chart (best auto-detected type)
dashboard Generate multi-chart dashboard from same dataset
csv Explicit chart with specified type and columns
(stdin pipe)--auto mode reads CSV from stdin

Flags

FlagDescription
--typeChart type: auto, line, bar, stacked, area, scatter, pie, donut, radar, heatmap-grid
--xColumn name for X-axis
--yColumn name(s) for Y-axis (comma-separated)
--output / -oOutput HTML file path
--titleChart title
--paletteColor palette: viridis, sunset, ocean, monochrome, neon
--trendAdd trend line
--moving-average / -maWindow size for moving average
--themedark, light, or auto (toggleable)
--autoFull auto-mode (stdin)

Column Auto-Detection

The wizard auto-detects column types:

  • Date: ISO dates, YYYY-MM-DD, MM/DD/YYYY, etc.
  • Numeric: integers, floats, currency
  • Percentage: values with % suffix
  • Categorical: strings, low-cardinality text

Output Features

Every generated HTML includes:

  • Smooth Chart.js animations
  • Professional color palettes
  • Dark/light theme toggle ( persisted)
  • Download chart as PNG button
  • Responsive resize
  • Smart tooltips (currency, percentage, date formatting)

References

  • Chart Selection Guide — Decision tree for choosing the right chart type
  • Color Palettes — Palette definitions and when to use each

Related skills

Transform JSON or CSV data into stunning interactive HTML dashboards with auto-detected charts, KPI cards, and dark glass-morphism design. Generates complete standalone HTML with Chart.js.

1 installs

Generate beautiful Apple HIG-inspired HTML visualizations (bar, line, donut, progress, stat-card) and screenshot them as PNG images. Use when user asks to vi...

1 installs

Turn CSV, Excel, or JSON files into interactive ECharts HTML with 16 chart types and LLM-assisted data transforms.

30 installs2 stars

Create Apache ECharts option JSON, standalone HTML chart pages, and export-ready chart artifacts from CSV, TSV, JSON tables, or existing option configs. Use...

22 installs

Generate charts from natural language or tabular data, recommend chart types, and export ECharts-based HTML or SVG. Use when users ask for one-sentence chart...

56 installs2 stars