D3.js clientPoint() Function
The d3.clientPoint() is used to return the x coordinate and y coordinate of the particular event attached to a particular container or HTML tag. Syntax: d3.clientPoint(container, event); Parameters: This function accepts two parameters as mentioned above and described below. container: The container