added class d3-tip to element selected