adding hover functionality to graph
adding hover to graph