score:4

Accepted answer

Select the elements you want to change explicitly:

var axG = graph.append("g")
    .attr("class", "x axis")
    .call(rrd3.xAxis);
axG.selectAll("path").attr("fill", "none");
axG.selectAll("line").attr("fill", "none");

Related Query

More Query from same tag