using d3 linear scale to set line weight