got d3 x axis working as expected