Live data from Hacker News

QDirStat – Treemap Visualization of Directory Statistics

github.com

31–40 of 49 posts

Re: QDirStat – Treemap Visualization of Directory Statistics

#31
post #17

Gosh there are a lot of these programs, aren't there? For some reason I find it really hard to read these tree map visualisations. I know the theory and all that, but for me they just aren't an intuitive way of displaying that kind of information. For me a radial graph (i.e. pie chart like) is much easier to grok - I don't even have to think about it, I just get it. Seems like there must be plenty of people who don't…

I've used treemaps for many years, to reduce disk space, and have been somewhat enamored of them.

Then earlier this year, I happened to use flame graphs for visualizing profiling data.

This is when I realized I hadn't quite understood flame graphs. It became obvious that you can use flame graphs for visualizing the SPACE used by a tree hierarchy as well as TIME.

I googled and Brendan Gregg already wrote about this!

http://www.brendangregg.com/blog/2017-02-05/file-system-flam...

http://www.brendangregg.com/blog/2017-02-06/flamegraphs-vs-t...

So from now on, I believe I will use flame graphs instead of treemaps to visualize this space.

-----

Details: A common point of confusion for flame graphs is that the Y axis is "time elapsed". (Chrome dev tools has a "flame chart" where the Y axis is time elapsed, but it's not a flame graph.)

The Y axis is "cumulative time used", and the X axis is the call stack. Combining call stacks sampled at different times gives you a TREE, because a given function calls multiple functions.

So if that's clear, it should be clear why flame graphs can be used instead of treemaps. They are the same visualization! And flame graphs have the benefit that they use a one spatial dimension to represent quantity, rather than two. TreeMaps have the same problem as pie charts -- human perception isn't good at measuring areas.

Also, with treemaps, you have error due to the inability to represent a internal directory of zero size (you need some space for the label). Flame Graphs don't have this problem because directories are stacked on the Y axis.

Re: QDirStat – Treemap Visualization of Directory Statistics

#33
post #17

Gosh there are a lot of these programs, aren't there? For some reason I find it really hard to read these tree map visualisations. I know the theory and all that, but for me they just aren't an intuitive way of displaying that kind of information. For me a radial graph (i.e. pie chart like) is much easier to grok - I don't even have to think about it, I just get it. Seems like there must be plenty of people who don't…

The DaisyDisk website is surprisingly ugly and does not do their app justice. Here's what the app looks like: http://www.creativeapplications.net/wp-content/uploads/2009/... Ever since I've ditched macOS I've been waiting to find a similarly designed app for Windows. EDIT: Just tried Diskitude, but it's unfortunately nothing like DaisyDisk. It doesn't do the same drill-down DD does.

You could try this Electron-based app SpaceRadar that should run on Windows, Mac, Linux https://github.com/zz85/space-radar It has some support for sunburst graphs, flame charts, and treemaps (disclaimer, author here)

Re: QDirStat – Treemap Visualization of Directory Statistics

#34
post #5

Similar tool for windows: https://windirstat.net

Here's WizTree which is similar to WinDirStat but runs much faster: http://antibody-software.com/web/software/software/wiztree-f...

It unfortunately doesn't seem to work properly with Storage Spaces. It can account for about 2% of the used space on my 50%-full thin-provisioned D: drive.

Re: QDirStat – Treemap Visualization of Directory Statistics

#35
post #25
post #3

Anything like this, but ncurses based?

My google-fu is failing me, but there is a tool that can parse the output of du and present it graphically (written in Tk I think) which can be useful for headless systems.

xdiskusage?

Re: QDirStat – Treemap Visualization of Directory Statistics

#36
post #18
post #5

Earlier quoted context omitted.

Here's WizTree which is similar to WinDirStat but runs much faster: http://antibody-software.com/web/software/software/wiztree-f...

Is this open source?

Yes, on Source forget: https://sourceforge.net/p/windirstat/code/ci/default/tree/

Re: QDirStat – Treemap Visualization of Directory Statistics

#38
post #17

Gosh there are a lot of these programs, aren't there? For some reason I find it really hard to read these tree map visualisations. I know the theory and all that, but for me they just aren't an intuitive way of displaying that kind of information. For me a radial graph (i.e. pie chart like) is much easier to grok - I don't even have to think about it, I just get it. Seems like there must be plenty of people who don't…

Simple sorted text works nicely too: https://www.jam-software.com/treesize_free/

Re: QDirStat – Treemap Visualization of Directory Statistics

#39
post #34
post #5

Earlier quoted context omitted.

Here's WizTree which is similar to WinDirStat but runs much faster: http://antibody-software.com/web/software/software/wiztree-f...

It unfortunately doesn't seem to work properly with Storage Spaces. It can account for about 2% of the used space on my 50%-full thin-provisioned D: drive.

Not sure about Storage Spaces, but for non-local files in Onedrive on Windows 10 there are two size columns in WizTree for size and space on disk. Not sure it lets you select which value is used for ordering though.

Re: QDirStat – Treemap Visualization of Directory Statistics

#40
post #35
post #25

Earlier quoted context omitted.

My google-fu is failing me, but there is a tool that can parse the output of du and present it graphically (written in Tk I think) which can be useful for headless systems.

xdiskusage?

I think that's it yeah.
Post reply on HN