![]() |
VOOZH | about |
The ribbon.source() function in D3.js is used to set the source accessor to the specified function and returns this ribbon generator.
Syntax:
ribbon.source([source][/source]);
Parameters: This function accepts a single parameter as mentioned above and described below
Return Value: This function returns the ribbon generator.
Below programs illustrate the ribbon.source() function in D3.js
Example 1:
Output:
👁 ImageExample 2: