![]() |
VOOZH | about |
The path.toString() function in d3.js is used to return the string representation of the path of the shape drawn. The path representation is according to the SVG's path data specification.
Syntax:
path.toString()
Parameters: This function does not accept any parameters.
Return Value: This function returns a string.
Example 1:
Output: Path string for this shape is given in console.
👁 ImageExample 2: