Pi is used in the calculation of the circumference of a circle and indeed has nothing to do with a square.
But then you got the formula area = pi x r squared (pi are square), which leads back to the square thing...
Never mind... morning coffee musing can at best be, bzr!