Observe the graph :
\The year is the independent variable because it is unaffected by the sales.
\The amount of sales is the dependent variable because it depends on the year.
\The year is the independent variable.
\The amount of sales is the dependent variable.