VisiData TourΒΆ

Example query: using birdsdiet.tsv, what is the relationship between the diet and average mass of passerine birds?

VisiData Tour
1. Open the data at the terminal with vd birdsdiet.tsv _images/01.jpg
 
2. Toggle the Family column to be a key column with ! _images/02.jpg
 
3. Hide undesired columns with - _images/03.jpg
 
4. Set the Mass column to the float type with % _images/04.jpg
   
5. Go to the Passerine column with l _images/05.jpg
 

6. Select rows by regex where the Passerine column contains a 1 with |1

| selects rows which match the given regex in the current column, to later filter rows in/out.

_images/06.jpg
 
7. Push a new sheet of only the selected rows with " _images/07.jpg
 
8. Go to the Mass column with h _images/08.jpg
 

9. Choose to aggregate the average Mass with +, mean and ENTER

+ sets the aggregation function for the current column, to be used by grouping actions.

_images/09.jpg
 
10. Go to the Diet column (with l ) _images/10.jpg
 

11. Push a frequency table sheet for the Diet column with F

This sheet adds an aggregated column for every column with an aggregation function.

_images/11.jpg
 
12. Minimize the Diet column to fit the longest value with _ _images/12.jpg
 
13. Go to the rightmost column with gl _images/13.jpg
 
14. Sort the rows by descending avg_Mass with ] _images/14.jpg
 
15. Go to the histogram column (with h ) _images/15.jpg
   
16. Hide the histogram column (with - ) _images/16.jpg
 
17. Save the current sheet to .tsv with Ctrl-s followed by ENTER _images/17.jpg
 

18. View e’D’itlog with D

The editlog lists every action taken since the program started.

_images/18.png
 
19. Exit VisiData with gq _images/19.jpg