created a basic pie chart