The connection between the law of demand and excess demand is that law of demand states that it is stated that if the factors remain equal, the higher the price, the lesser consumer is going to be demanding for that good, whereas the excess demand is the exact opposite; the lower the price, the more demands you'll get.