Rendering Charts in SwiftUI

At the end of each article, press the "Mark this article as read" button to have the site remember you've read it.

Rendering a pie chart

25:37

Rendering a pie chart

Pie charts are a classic way of showing divided data visually, and they represent interesting challenges around sizing and angles. In this article we’ll build a complete pie chart view from scratch using SwiftUI, ensuring it works using animation, and also modify it to support donut-style charts too.

Rendering a bar chart

24:57

Rendering a bar chart

Bar charts are one of the simplest and most common ways of representing data visually, and are often taught to kids at a young age. In this article I’ll show you how easy it is to render bar charts in SwiftUI, and show you various customization options to bring those charts to life.

Rendering a line chart

28:41

Rendering a line chart

Line charts come in a couple of different forms, but they share the same goal of visualizing a change of value over time. In this article we’ll look at building a customizable line chart from scratch in SwiftUI.