Creating tree visualization