$ show red-data-tools/YouPlot
YouPlot is a command-line tool for creating plots in the terminal using Unicode characters. It reads delimited data from stdin or files, parses it into headers and series, and generates various plot types (barplot, histogram, lineplot, scatter, density, boxplot, count) using the UnicodePlot backend. The tool follows Unix conventions, designed for use in data pipelines with options to pass through input data and output plots to stderr/stdout. It features progressive mode for real-time data visualization and supports configuration via CLI flags, config files, and sensible defaults.
The LLM identified 2 files worth highlighting for reuse:
Handles DSV (delimiter-separated values) parsing with header detection, transposition support, and edge case management. Self-contained module that could be extracted for use in any Ruby project needing robust CSV/TSV parsing with header awareness.
Implements a sophisticated natural sort algorithm with caching and optimization paths for different data types (text-only, pure numeric, mixed). The count_values function provides frequency counting with natural sort tie-breaking, demonstrating non-obvious skill in string comparison algorithms.