implement static pie chart