D3.js zoom.scaleBy() Function
The zoom.scaleBy() Function in D3.js is used to scale the current zoom transform of the selected elements by k. The reference point p does move.Syntax:zoom.scaleBy(selection, k[, p])Parameters: This function accepts three parameters as mentioned above and described below:selection: This parameter ca