top | item 16191013

(no title)

vilya | 8 years ago

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 think the same way though, given how many different tree map disk viewers there are out there!

For what it's worth I use Diskitude (http://madebyevan.com/diskitude/) on Windows and Daisy Disk (https://daisydiskapp.com/) on Mac. Both are great!

discuss

order

chubot|8 years ago

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.

jdonaldson|8 years ago

There's a few reasons why rectangular shapes are superior... They fill the available space better than circles, and you can generally compare areas in rectangular shapes better than areas with curves. But, generally you're using these tools to spot outliers, in which case either approach works just fine.

ComputerGuru|8 years ago

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.

blurspline|8 years ago

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)

captn3m0|8 years ago

OverDisk works on windows, has a very small portable binary and does similar sunburst charts: https://overdisk.jaleco.com/

It hasn't been updated since a long time, but it works decently.

vilya|8 years ago

You can drill down in Diskitude by right clicking. I agree it's not as nice as Daisy Disk, but it's the best I've found for Windows (for my tastes) and you can't beat the price...

mkj|8 years ago

The problem with radial graphs is that files get visually larger if you move them to a directory deeper. They're fine for a single layer, but not hierarchical.