block by ee2dev c0fd7569102e194013e68855a7bb1076

d3-indented-tree API example #14

Full Screen

API examples for d3-indented-tree


myChart.linkColor() - 2

This example shows how to set the color of the links based on values of the column name with myChart.linkColor(). A color scale is defined to map the values to colors. The column name is passed as the first attribute. The second attribute ist an options object where the scale property is set.


Acknowledgements:

index.html