Is there anyway to create stack bar in pipeline pilot for parent and children's hierarchy. X axis is parent ID and Y axis stack bar children's ID in descending order from top to bottom. It should be dynamic for all parent records in the system.

parent and children's hierarchy. 

X axis is parent ID and Y axis stack bar children's in descending order from top to bottom.  

I need to drill down from the stack bar. Once anyone click on the top child need to show it's details with additional properties in the bottom of graph.