The average price of diesel fuel in the United States has topped $6 per gallon for the first time in history, the fuel price tracking service GasBuddy said.