At first, people described rough numerical estimates as "in the ballpark." An estimate that's in the ballpark is somewhere in the vicinity of the real value, as a baseball that a batter hits too far, but not beyond the bleachers, is still in the ballpark. More recently such approximations became known as ballpark figures.