Which preposition to use with habitat

OF Occurrences 18%

THE HABITAT OF THE COD.This fish is found only in the seas of the northern parts of the world, between the latitudes of 45° and 66°.

in Occurrences 4%

It is a grave charge to be brought against any man, as we see by its being coupled with those dreadful Telluric Influences and Cosmical (ought we not to dele the s?) Unities; and since the most harmless man in the world may become a candidate before he expects it, it would be charitable to warn him beforehand what is an allowable habitat in such a contingency.

on Occurrences 1%

While some hunters believe that the wild sheep were driven from their former habitat on the plains and in the foothills by the advent of civilized man, the opinion of the best naturalists is the reverse of this.

with Occurrences 1%

After we had gone through the forest, by availing ourselves of the path which we had previously beaten, it led us through grass three or four feet in height, with keen-edged leaves; succeeded by cane, from seven to eight feet high, of the same habitat with our Arundo phragmites (but it was not in flower), which occupied the whole of the upper part of the mountain as far as the edge.

Which preposition to use with  habitat