add_pie function

Add pie or donut chart