Boston and Chicago were at the opposite ends of the spectrum for unemployment as 2016 came to an end, according to new data released Wednesday.

Of the 51 metro areas with populations over 1 million, the Boston-Cambridge-Nashua area had the lowest unemployment, at 2.5%, the Labor Department said. Boston also had the biggest drop in unemployment last year, of 1.5 percentage points.