I'm working on a web site that visualizes the relationship between some data. Specifically, it helps map hard drives, partitions, and logical volumes (LVM). I have written the parts that gather and structure the data, resulting in a data model that looks like Picture 1. What I'd like to do is visualize it like Picture 2, where logical volumes rest on top of the logical drives that back them. Logical drives rest atop the physical volumes (drives or partitions) that back them, and of course physical partitions rest upon the physical drives they reside on.
Ideally I wouldn't have to tell the library where to place anything, only the relationships between the data and what sort of visualization I want.
What library would be able to render the visualization as picture 2?