adjustments to d3 graphing