The BY statement produces one chart for 1995 sales and one for 1996 sales.
proc chart data=sorted_piesales; by year;