fix d3 drawing issue of dividing zero