| name | dct-chart |
| description | Use this skill when the user wants to visualize data distributions, create ASCII histograms, generate simple charts from CSV/JSON data, plot column values, or see value frequencies in terminal-friendly format. Triggers include "chart this data", "visualize distribution", "histogram of values", "plot the data", "ascii chart", "terminal visualization", or when needing quick visual analysis without external plotting tools. |
DCT Chart - ASCII Data Visualization
Generate simple ASCII histograms from data file columns.
When to Use
Use this skill when you need to:
- Quickly visualize value distributions
- Create terminal-friendly charts
- Analyze categorical data frequencies
- Get a quick histogram without external tools
- Share visualizations in text format
Installation
which dct || go build -o dct && chmod +x ./dct
Usage
dct chart [file] [column_index] [flags]
Arguments
file: Data file path (optional)
column_index: 0-based column index to chart (default: 0)
Flags
-w, --width <chars>: Width of chart in characters (default: auto)
Examples
Basic Usage
Chart first column:
dct chart data.csv
Chart specific column (0-based index):
dct chart data.csv 2
Custom Width
Wider chart:
dct chart sales.csv 1 -w 80
Compact chart: