deleted old data load code and put in basic pie chart func