Applying the natural logarithm to your curve, we have $$ \ln x + a \ln y = \ln b.$$ This shows a linear relationship between $\ln x$ and $\ln y$.
Take your data points $(x,y)$ and convert them to new points $(\ln x, \ln y)$ by applying the natural logarithm. Take this set of converted data points and find the line of best fit. Apply the exponential function to your line to get the curve you seek.