[ncdu](https://dev.yorhel.nl/ncdu/scr) is really useful for doing this kind of analysis and the format is pretty simple. It could be very useful.