In my d3 chart, on click of circle/point, I am showing the rect, which is not coming properly. xScale reference is not correct.
rect
xScale
g.s