You can add d3.autoType as a second argument to this function, and then the fields RotNS RotEW will be typed as numbers, and Plot will selected the correct scale type — which you can also give explicitly with the options x{type:"linear"}, y:{type:"linear"}