score:3

Accepted answer

Nest your elements in the container element that has the boundaries you want.

For example, if you want that your x axis start in the boundary of the y axis, replace (in line 66)

  svg.append("line")

With

 d3.select(".nv-scatterWrap").append("line")

Related Query

More Query from same tag