![]() |
VOOZH | about |
The d3.linkRadial() method returns a new link generator with radial tangents. It is typically used when the root is centered with the children spreading outwards from the root.
Syntax:
var link = d3.linkRadial()
.angle(function(d) { return d.x; })
.radius(function(d) { return d.y; });
Parameters: This function does not take any parameter.
Return Value: This method returns a new link generator.
Example:
Output:
👁 Image