- version
- 3.0.0
- name
- data-visualizer
- description
- Terminal ASCII chart toolkit. Create bar charts, sparklines, histograms, and gauges from CSV or JSON data in the terminal.
- author
- BytesAgain
- homepage
- https://bytesagain.com
- source
- https://github.com/bytesagain/ai-skills
data-visualizer
Terminal data visualization toolkit — create ASCII bar charts, sparklines, histograms, heatmaps, gauges, treemaps from data. Process CSV/JSON files with stats summaries, correlations, normalization, and pivoting. Export to SVG and HTML.
Commands
bar
Draw a horizontal bar chart from label:value pairs.
scripts/script.sh bar "Sales:42" "Revenue:87" "Profit:31"histogram
Show frequency distribution of numeric values as a histogram.
scripts/script.sh histogram 10 15 20 20 25 30 30 30 35 40sparkline
Render an inline sparkline chart from a series of values.
scripts/script.sh sparkline 4 8 15 16 23 42 38 29 18 10heatmap
Display a color-coded heat grid from row/column data.
scripts/script.sh heatmap 3 4 1 5 9 2 8 3 7 4 6 1treemap
Show proportional blocks for part-to-whole comparisons.
scripts/script.sh treemap "Chrome:65" "Safari:18" "Firefox:10" "Edge:7"gauge
Display a gauge meter showing a value against a maximum.
scripts/script.sh gauge 73 100 "CPU Usage"matrix
Render a CSV file as a formatted matrix/table view.
scripts/script.sh matrix data.csvsummarize
Compute min/max/average/median statistics for each numeric column in a CSV file.
scripts/script.sh summarize sales.csvdistribution
Show the value distribution of numeric data in a CSV file across bins.
scripts/script.sh distribution scores.csv 8correlate
Compute a Pearson correlation matrix across all numeric columns in a CSV file.
scripts/script.sh correlate metrics.csvnormalize
Normalize all numeric columns to 0-1 range and output as CSV.
scripts/script.sh normalize raw_data.csv > normalized.csvpivot
Group rows by a column and aggregate numeric values (sum, avg, min, max).
scripts/script.sh pivot sales.csv regionfrom-csv
Auto-visualize a CSV file with summary statistics.
scripts/script.sh from-csv data.csvfrom-json
Auto-visualize a JSON file — shows structure, keys, and numeric column summaries.
scripts/script.sh from-json data.jsonto-svg
Export CSV data as an SVG bar chart.
scripts/script.sh to-svg sales.csvto-html
Export CSV data as an HTML table with styling.
scripts/script.sh to-html report.csvhelp
scripts/script.sh helpversion
scripts/script.sh versionExamples
# Quick terminal charts
scripts/script.sh bar "Q1:120" "Q2:185" "Q3:210" "Q4:170"
scripts/script.sh sparkline 10 20 30 25 40 35 50 45
scripts/script.sh gauge 78 100 "Memory"
# CSV analysis pipeline
scripts/script.sh summarize data.csv
scripts/script.sh correlate data.csv
scripts/script.sh pivot data.csv category
# Export
scripts/script.sh to-svg data.csv
scripts/script.sh to-html data.csvConfiguration
| Variable | Required | Description |
|---|---|---|
DATAVIZ_DIR | No | Data directory (default: ~/.local/share/data-visualizer/) |
Data Storage
History logged in ~/.local/share/data-visualizer/history.log.
Requirements
- bash 4.0+
- python3 (for CSV processing, correlations, JSON parsing, SVG export)
*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*