How to make Pie and Donut chart using SwiftUI?
2 min readSep 14, 2020
Xcode 11+ — iOS 13+
In this tutorial, we are going to implement Pie chart. Later, we will migrate same Pie chart to donut chart.
We are going to divide our task into sub-tasks like following:
- Create Circle segment. These circle segment we are going to use as chart cell/bar.
- Implement flow layout logic to add…