completed basic donut chart implementation