i got a normal line chart written in d3.js
body { font: 10px sans-serif; } .axis path, .axis line { fill: none; stroke: #000; shape-rendering: c
Try applying the style when you generate the axis.
svg.append("g") .attr("class", "x axis") .attr("transform", "translate(0," + height + ")") .style("position", "fixed") .call(xAxis);