fixed d3 graph styling bugs