In our previous example, we filtered our results by using a
bounding box that covered the greater New York area. However, our results
were all located in downtown Manhattan. When displaying a map for our user, it
makes sense to zoom into the area of the map that contains the data; there
is no point in showing lots of empty space.

The geo_bounds aggregation does exactly this: it calculates the smallest
bounding box that is needed to encapsulate all of the geo-points: