FOSSPicks
Terminal charts
YouPlot
Considering how much data we process on the command line, it's surprising how few tools there are to help with data visualization. Being composed almost entirely of ASCII characters, the command line has its own limitations when it comes to output, and that can be a challenge. But we can surely do better than throwing a few asterisks across the display. And with YouPlot, you can. YouPlot is a simple command-line tool that's easily installed with Ruby's RubyGems package manager and just as easy to use. First, despite installing a project called "YouPlot," the executable is uplot
, presumably to lessen the typing burden while making a pin. The command can take its input from either the standard input or from a file. While the input format is based on tab-separated values (TSV), it's both flexible and configurable. By default, it will make the table with the first column representing the x-axis and the second column the y-axis. The space character is the default delimiter, but this can be changed to tab or any other character, as can which columns are used for which axis. A single column can also be parsed and used in either the line or bar graphs.
YouPlot currently supports eight different charting methods, including bar plot, histogram, line plot, scatter chart, and a box plot. They all look rather wonderful, and there's something magical about using curl
to grab an online table live, piping its output into cut
to strip extraneous data, and pushing that into uplot
. The output looks fantastic and is genuinely useful for quick and accurate data perusal from the command line. The README file that accompanies the project is equally effective, showing plenty of illustrated examples and even includes charts that are made from live Python output. It's a brilliant little tool, and one that can change your mind about how capable and informative command-line output can be.
Project Website
https://github.com/red-data-tools/YouPlot
Neural synthesis and effects
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
OSJH and LPI Release 2024 Open Source Pros Job Survey Results
See what open source professionals look for in a new role.
-
Proton 9.0-1 Released to Improve Gaming with Steam
The latest release of Proton 9 adds several improvements and fixes an issue that has been problematic for Linux users.
-
So Long Neofetch and Thanks for the Info
Today is a day that every Linux user who enjoys bragging about their system(s) will mourn, as Neofetch has come to an end.
-
Ubuntu 24.04 Comes with a “Flaw"
If you're thinking you might want to upgrade from your current Ubuntu release to the latest, there's something you might want to consider before doing so.
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.