Add basic pie chart functionality.