Tree view like chart account

How to make tree view Hierarchical data ?