Treemap for Disk Space Usage — Storage Directory & File Size Visualizer
A disk space treemap tiles a storage volume into proportional rectangles ($Area_i \propto Bytes_i / Capacity$) so engineers can immediately spot bloated directories and reclaim storage.
Tip: Paste Excel or Google Sheets rows (Ctrl+V / ⌘V) directly into any cell.
| # | Label | ||
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 | |||
| 8 |
Volume share: Share_i = (Size_i / sum(Size)) * 100%. Reclaimable space from top k caches: Reclaim = sum_{i in cache}(Size_i).
Chart Design & Use-Case Tips
- 01Volume share: Share_i = (Size_i / sum(Size)) * 100%. Reclaimable space from top k caches: Reclaim = sum_{i in cache}(Size_i).
- 02Run `du -sh /*` or `du -sh *` on your Linux/macOS server and paste the directory sizes (in GB or MB) into the workbench.
- 03The largest storage hogs automatically tile into the primary upper-left rectangles for rapid pruning.
- 04Use when diagnosing Kubernetes PVC exhaustion, CI runner disk pressure, or S3 bucket growth.
Frequently Asked Questions
Why were treemaps originally invented for disk space?+
Ben Shneiderman invented the treemap in 1991 at the University of Maryland specifically to solve the problem of visualizing hard drive directory usage when space ran low.
Can I mix MB and GB in the table?+
Convert all rows to a single consistent unit (all GB or all MB) so tile areas remain strictly proportional.
Can I export this for a post-mortem incident report?+
Yes, export a 300-DPI PNG or Vector SVG to attach directly to your infrastructure post-mortem doc.