Guard for -Infinite/Infinite in key/valueAccessors

If scale is log(), then value can be calcuted to be -Infinite. d3.js throws exception when assigning attribute to element: 'Error: Invalid value for <g> attribute transform="translate(-Infinity,191)".'
Probably similar changes should be made in other places/charts.