Plot
A minimalist CLI tool to plot data to the terminal.
- Data: From CSV files or command line arguments.
- Charts: Bar and Column charts.
Installation
- Download the latest release for your OS.
- Move the binary to a directory in your PATH e.g.
mv plot-darwin-amd64 /usr/local/bin/plot
(May need sudo)
- Make the binary executable e.g.
chmod +x /usr/local/bin/plot
- Adding plot to the list of allowed binaries e.g.
xattr -d com.apple.quarantine /usr/local/bin/plot
MacOS Install
curl -L -o plot https://github.com/archiewood/plot/releases/download/v0.0.2/plot-darwin-amd64
mv plot /usr/local/bin/
chmod +x /usr/local/bin/plot
xattr -d com.apple.quarantine /usr/local/bin/plot
Usage
plot [-t title] [-c chartType] file.csv
plot [-t title] [-c chartType] [labels ,] values
Bar Chart from CSV
plot test/two_col_header.csv
Bar Chart with Title and Labels
plot -t "Programming Languages" go python r c++ , 84 950 923 27
Column Chart
plot -c column test/two_col_header.csv
Credits
This tool is heavily inspired by YouPlot