D3.js Path

You can use the d3 path constructor to create a path that you can then set as the d attribute on the path HTML Element.