Javascript D3 Check If Mouse Position Inside A Rectangle Stack Overflow

Javascript D3 Check If Mouse Position Inside A Rectangle Stack Overflow