D3.js zoom.interpolate() Function
The zoom.interpolate() function in D3.js library is used to set the interpolation factory for zoom transitions to the specified function. To apply direct interpolation between two views, try d3.interpolate instead. Syntax: zoom.interpolate([interpolate])Parameters: This function accepts a single par