functional pieChart with default values