Many of my scripts tend to produce data as CSV files When I am at a shell, I tend to examine these files using Vim. I find the csv.vim plugin useful for this purpose.
The plugin can be installed from its Github repository here.
It is a filetype plugin. So if you open a file with extension
.csv, it will automatically render that file like a spreadsheet with columns and rows.
Sometimes you may want to disable the spreadsheet formatting and look at a CSV file as plain text. To do this, set the filetype to text:
Tried with: Vim 8.0 and Ubuntu 18.04