UNPKG

ansi-chart

Version:

A lightweight and simple tool for rendering beautiful charts directly in your terminal using only ANSI-compatible ASCII characters. Create bar charts, line graphs, and more with customizable styles, all without external dependencies. Perfect for CLI appli

12 lines (11 loc) 289 B
import { Dataset } from './dataset'; export declare class ScatterPlot { private readonly options?; private chart; private colors; constructor(options?: { pointChar?: string; }); plot(dataset: Dataset, colors?: Array<number>): void; private normalize; }