added tooltip. refactored to use scales.