Explain what is the role of “Path Data Generator” in d3.js?
In respect to convert our data to the SVG path command, we have to tell the line Path Data Generator, about how to access the y and x co-ordinates from the data.