Storage Chart is a C code which visualizes the output of du(1) (disk space usage) in treemap graph. It is used normally with -s * option and argument, for example:

du -s * | sort -nr | ./schart
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgucUc64P9ZU1sfwJT3iQG9SyXa6fdiV2dwmuwSPMa-HX9pMgMf2lP9deOZ0WeC_SA0ua48LMJN2dApC121wTOaxoAP368FPxbdYB8jZ4MNIr4unaKuQ6t190dPMdoBL3IwNwTU2KPsfh8/s800-Ic42/2015-09-02--07%25253A47%25253A49.png

It is not an interactive program like Pysize, but the result is very simple and clear to read, and colorful. The program can be used for more general data, not just disk space usage, as long as the data format is number, tab character, then label. For example, some word counts of the source code of this program:

grep -oi '[a-z]\+' schart.c | sort | uniq -c | sort -nr |
while read c w; do printf "%d\t%s\n" $c $w; done | ./schart
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVqL3mSeW-MRwGZSErzGI38QMZ4GkEGEbk60eRYBn1MD8_ewRfp7sxzH8CRHtv6kxm-5R9JlPiSUZFoXSuu08XZxrchI2dDz0D2XA0n7yOXuXWl4TAhc5BQ8IvGKHG6YPI_uY3URHmI6s/s800-Ic42/2015-09-02--07%25253A54%25253A27.png

You can see it grouping small bits into “OTHER” entry, only shows 23 individual labels, after that, they all go into grouped label.

Storage Chart was written in C with ncurses by Kjetil Erga on 2015-01-03, license isn’t specified. You can compile it using:

# save the code as schart.c
% gcc -o schart -lncurses schart.c