D3 uses a path generator for arcs. If you do not want the data to bring your arc, just define an arc generator and add some methods ...
var arc = d3.svg.arc() .innerRadius(50) .outerRadius(70) .startAngle(45 * (Math.PI/180)) //convert from degs to radians .endAngle(3) //just radians vis.append("path") .attr("d", arc) .attr("transform", "translate(50,50)")
Here you can see the demo: http://jsfiddle.net/h9XNz/
source share