Build zoomable and pannable SVG canvas

For my understanding, could you explain when `link` would be called (in this context specifically)?