chartli
Original:🇺🇸 English
Translated
Install and use chartli to render terminal charts from numeric text files or stdin.
11installs
Sourceahmadawais/chartli
Added on
NPX Install
npx skill4agent add ahmadawais/chartli chartliTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →chartli Skill
Use this skill when an agent needs to visualize numeric data in the terminal as ASCII/Unicode/SVG charts.
Install
sh
npx skills add ahmadawais/chartliCLI install/use
Instant use:
sh
npx chartli --helpGlobal install:
sh
npm i -g chartliWhat chartli can do
- Render chart types: ,
ascii,spark,bars,columns,heatmap,unicode,braillesvg - Read from file path input
- Read from stdin when no file is passed
- Control output dimensions with and
--width--height - Render SVG with
--mode circles|lines
Command templates
From file:
sh
npx chartli <file> -t <type> [--width N] [--height N] [--mode circles|lines]From stdin:
sh
printf 'x y\n1 10\n2 20\n3 15\n' | npx chartli -t ascii -w 24 -h 8Per-type examples:
sh
npx chartli data.txt -t ascii -w 24 -h 8
npx chartli data.txt -t spark
npx chartli data.txt -t bars -w 28
npx chartli data.txt -t columns -h 8
npx chartli data.txt -t heatmap
npx chartli data.txt -t unicode
npx chartli data.txt -t braille -w 16 -h 6
npx chartli data.txt -t svg -m lines -w 320 -h 120Input format
Whitespace-separated numeric rows; optional header row is allowed.
text
day sales costs profit
1 10 8 2
2 14 9 5
3 12 11 3Repository example assets
examples/assets/core-single-series.txtexamples/assets/core-multi-series.txtexamples/assets/image-data.txtexamples/assets/image-columns-variant.txt