CLOSED: [2017-03-27 Mon 10:06] SCHEDULED: <2017-03-27 Mon> :PROPERTIES: :CREATED: [2017-03-27 Mon 09:50] :ID: 2017-03-27-org-du :END: :LOGBOOK: - State "DONE" from "DONE" [2017-08-05 Sat 14:39] - State "DONE" from "NEXT" [2017-03-27 Mon 10:06] :END: Update 2017-08-05: link to org-mind-map Yesterday, I wrote my first Python 3 script which is a helper script to visualize sizes (number of lines) of Org-mode headings: [[https://github.com/novoid/org-du][org-du]] I borrowed a different workflow from two GNU tools: Usually, the output of [[https://github.com/novoid/org-du/blob/master/du][du]] (disk usage) is piped into [[https://directory.fsf.org/wiki/XDU][xdu]] to visualize disk usage of directories. =org-du= mimics the output format of =du= in order to be able to use =xdu= to do the visualizing and navigational part. Applying the script on [[https://github.com/novoid/org-du/blob/master/README.org][the README.org file]] and piping the output into =xdu= looks like this: : org-du.py README.org | xdu #+BEGIN_EXPORT html #+END_EXPORT You can navigate through the output via mouse, navigate back in the tree by clicking the leftmost column, and quit via =q=. The script also accepts multiple Org-mode files as arguments. This way, you can get a brief overview of all of your Org data. =org-du= works on any platform which runs Python 3. However, =xdu= is available on UNIX/GNU/Linux only. You can do the =org-du= part via =org-du my-file.org > my-org-du-output.log= on a Windows host, copy the result file to a GNU/Linux host and do the visualization part with =xdu < my-org-du-output.log= as well. This way, you can separate the data analysis and the data visualization part. You can install =org-du= via =sudo pip install org-du= or clone from https://github.com/novoid/org-du Have fun with this tool! Update 2017-08-05: if you need to visualize the structure of your Org-mode file, you could check out [[https://github.com/theodorewiles/org-mind-map][org-mind-map]].