Add pie chart validation