D3-tree: how to select subtrees?

Looking at trees like this example , I was wondering how you could highlight the treasures / subtrees of a tree with different colors. An example of such a tree is here

enter image description here

Is it possible to overlay a rectangle with a lower opacity on specific inner nodes?

Any help is greatly appreciated!

+3


source to share





All Articles