svg scatter val fix

@lawinslow take a look and merge if appropriate?