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
javascript highlight svg tree d3.js


source to share


No one has answered this question yet

Check out similar questions:

7728
How do I redirect to another web page?
7649
How does JavaScript blocking work?
7494
How can I remove a specific element from an array in JavaScript?
7432
How to check if a string contains a substring in JavaScript?
7428
How can I check if an element is hidden in jQuery?
5722
How can I remove a property from a JavaScript object?
4523
Thinking in AngularJS if I have a jQuery background?
2201
How do you decide when to use Node.js?
1757
Vim clear last search
1256
What are the options for storing hierarchical data in a relational database?



All Articles
Loading...
X
Show
Funny
Dev
Pics