The District of Columbia, ranked first, was followed by Massachusetts, California, Colorado and Washington in the top five.