.axis path, .axis line { fill: none; stroke: #000; opacity:0.4; shape-rendering: crispEdges; } .white text { stroke-width:4px; stroke:white; shape-rendering: crispEdges; } rect { fill : steelblue;