I have a use case where I need to create a tree chart with each node expanding to its child nodes upon click. the chart is used to indicate structure of a software component. Some nodes of the tree expand to child nodes while some fetch data from a data source. Can somebody on the community give me some helpful hints how to go about the task.

Thanks in advance