Earlier quoted context omitted.
Yup. So - the answer to the question "What Does Pi Have To Do With Gravity" is pretty much - nothing. The article also notes that it does not work it you use feet instead of meters, hence basically already answering the question.
No, the answer is that our units were constructed so that pi has something to do with gravity.
If you then add another dimension (a flat world of two spatial dimensions), you suddenly get a 1/r relation for the force (log(r) for the potential) as the gravitational flux can now disperse in two dimensions. Naturally, a constant comes in here, which is a function of π. The argument naturally extends to three dimensions to give you 1/r² and a more complicated coefficient.
Naturally, this also applies to other classical forces, viz. electromagnetism.