The United States used a Day 16 surge of gold medals to top the overall tables for golds and overall medals.
The Americans were expected to get within one gold of China through their women's basketball gold, but there were questions about where the other two first-place finishes would come from.
One of the two was a surprise, as Jennifer Valente took home the gold in the women's omnium event in track cycling.
After the women's basketball team defeated Japan, the United States was level with China on gold medals with 38.
The women's volleyball squad ensured the United States would finish on top, as it knocked off Brazil in straight sets to earn the final American gold.