← Back to tools

chartli

Render charts in your terminal from numeric text data

Data & JSON Productivity linuxmacoswindows TypeScript Apache-2.0

Description

chartli is a CLI tool that converts numeric text data into visual terminal charts. Supports multiple rendering formats including ASCII line charts, sparklines, bar charts, heatmaps, Unicode block characters, Braille patterns, and SVG output.

Install

npmnpm install -g chartli
npxnpx chartli --help

AI Summary

CLI for rendering terminal charts from numeric text data — supports ASCII, sparklines, bars, columns, heatmaps, Unicode, Braille, and SVG output.

Capabilities

  • + Render ASCII line charts
  • + Generate sparklines from data
  • + Draw horizontal bar and vertical column charts
  • + Create heatmaps
  • + Unicode block character rendering
  • + Braille pattern charts
  • + SVG output (circles or lines mode)
  • + Read from files or stdin

Use When

  • You need quick data visualization in the terminal
  • You want to chart numeric data from a pipeline
  • You need SVG chart output from the command line

Avoid When

  • x You need interactive or web-based dashboards
  • x You need non-numeric chart types

Usage Patterns

Chart from stdin

echo '1 5 3 9 2 7' | chartli -t sparkline

Render a sparkline from piped data

Bar chart from file

chartli -t bar data.txt

Render a horizontal bar chart from a file

SVG output

chartli -t svg data.txt > chart.svg

Generate SVG chart and save to file

Input / Output

stdin: Numeric text data (space or newline separated)
stdout: Rendered chart (ASCII, Unicode, or SVG)

Typical Pipelines

seq 100 | awk '{print sin($1/10)}' | chartli -t sparkline
cat metrics.txt | chartli -t bar
View AGENTS.md for chartli