Quite simply, the demand curve will shift upwards (or to the right) if buyers are willing to purchase larger quantities of a good, while the opposite case will result in the demand curve shifting downwards (or to the left).
As an example, let’s take the market for sugar. If the demand for sugar rose, this would cause the demand curve to shift from D0 to D1, thus raising the sugar price from P0 to P1, while increasing the quantity of sugar produced from Q0 to Q1.

