For a good approximation we may expect $ab\approx \pi b^2$, so you are essentially looking for approximations that make $|\pi-\frac a b|\cdot b^2$ small. The best candidates for this are the continued fraction approximations for $\pi$, i.e $\frac31$, $\frac{22}7$, $\frac{333}{106}$, $\frac{355}{113}$, $\frac{103993}{33102}$ leading to $d$ values of $-0.425$, $0.195$, $-2.937$, $0.0107$, $-1.989$. Especially good are those aproximations before a big number shows up in the continued fraction.
If instead of $\pi$ were asking for $\sqrt 2$, say, an explicit answer could be given. But for transcendentals like $\pi$ there are always surprises awating, that is new record-breaking approximations (=big numbers in the continued fraction) may lure "further down".