view example for pie chart