Move the mouse to change the focal point of the fisheye. The left side of the grid shows fisheye with smoothing which is implemented in this plugin https://github.com/duaneatat/d3-fisheye and described here https://observablehq.com/@duaneatat/smoothed-fisheye - The right side is the sarkar-brown fisheye effect which has the abrupt discontinuity at the edge of the fisheye effect.
https://d3js.org/d3.v3.min.js