Instantly Visualize Your Data With 1 Command
March 01, 2016
Welcome To The Age of Data
All of us work with data in some way or another on a daily basis - from software engineers to data scientists to business analysts. Often when we get some new data we need to start exploring it to get a sense for what it is and what it looks like - let’s call this step exploritory data analysis.
A major part of exploritory data analsys involves charting that data - for example if you were looking at a dataset comprised of retail sales you might want to chart the distribution of sales by region or by sales rep. If you were looking at stock data you’d want to plot it on a time series to see what happened to the price(s) of the stock(s) over time.
So you have some data and now you need to chart it, what do you do?
You have two options, you can use a command line tool such as GNUplot or use a graphical tool like Microsoft Excel. The problem is if you have to do this kind of stuff with any frequency both types of tools slow you down tremendously. Tools like GNUplot require a ton of time to learn and boilerplate setup code. On the other hand importing data into Excel and tweaking all the chart settings can be time consuming.
The thing is our tools for exploritory data analysis - kinda suck.
A Better Way
It’d be great if we had just had 1 command to instantly visualize our data. We could just feed it any TSV or CSV file and it would spit out a great looking, interactive chart that helped us understand our data better.
You can graph it instantly with just 1 simple command like this:
There’s lots more it can do including histograms, bar charts, and linear/log/time-series scales. Since Suave Viz supports UNIX style pipes into stdin you can even graph the results of SQL queries directly! You can find docs and more examples on my github page: Check it out