4-layer hierarchy using d3.stratify() and d3.tree(). Each layer uses a distinct color and circle size.
d3.stratify()
d3.tree()