rich chart · data to charts

0.0 s

Screenshots

❯ rich chart sales.csv --kind bar --y api --width 60                                                
Jan █████████████████████                    30                                                     
Feb █████████████████████████████▌           42                                                     
Mar ████████████████████████▌                35                                                     
Apr ███████████████████████████████████▊     51                                                     
May █████████████████████████████████▋       48                                                     
Jun ████████████████████████████████████████ 57                                                     
❯                                                                                                   
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
bars
❯ rich chart sales.csv --width 70                                                                   
60 ┤                                                 ⣀⣀                                             
50 ┤                           ⣀⡠⠤⠒⠒⠒⠒⠒⠢⠤⠤⠤⠤⠤⠤⠔⠒⠒⠊⠉⠉⠉                                               
40 ┤     ⢀⣀⡠⠤⠔⠒⠒⠢⠤⠤⢄⣀⣀⣀  ⢀⣀⠤⠔⠊⠉                                                                     
30 ┤⠠⠔⠒⠊⠉⠁             ⠉⠉⠁            ⢀⣀⣀⠤⠤⠔⠒⠒⠒⠒⠒⠢⠤⠤⠤⠤⠤                                             
20 ┤     ⢀⣀⣀⣀⠤⠤⠤⠤⠒⠒⠒⠒⠒⠉⠉⠉⠉⠉⠉⠉⠑⠒⠒⠒⠒⠒⠒⠉⠉⠁                                                             
10 ┤⠐⠒⠊⠉⠉⠁                                                                                          
   └┬────┬────┬────┬────┬────┬────┬────┬────┬────┬────┬────┬────┬────┬                              
    1   1.5   2   2.5   3   3.5   4   4.5   5   5.5   6   6.5   7  7.5                              
● api  ◆ web                                                                                        
❯                                                                                                   
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
lines
❯ printf '3 1 4 1 5 9 2 6 5 3 5 8 9 7 9' | rich chart --kind spark                                  
▃▁▄▁▅█▂▅▅▃▅▇█▆█                                                                                     
❯ rich chart sales.csv --kind heatmap                                                               
    api web                                                                                         
Jan ▒▒▒▒                                                                                            
Feb ▓▓▓▓                                                                                            
Mar ▒▒▒▒░░░░                                                                                        
Apr ████░░░░                                                                                        
May ████▒▒▒▒                                                                                        
Jun ████░░░░                                                                                        
12 [ ░▒▓█] 57                                                                                       
❯ rich chart sales.csv --y mobile                                                                   
rich: no column "mobile"; the columns are "month", "api", "web"                                     
❯                                                                                                   
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
pipe