Awesome Swift Charts
From first bar to 3D plot.
Hand-picked talks, articles, books and sample code for Apple’s charting framework.

Books
In-depth guides for going beyond the basics.
- Swift Charts Beyond the Basics — Natalia Panferova & Matthaus Woolard. Data preparation, custom marks, scales, layering, styling, accessibility, selection, scrolling and animations.
WWDC Sessions
Talks from Apple engineers and designers, newest first.
- Bring Swift Charts to the third dimension — WWDC25
- Swift Charts: Vectorized and function plots — WWDC24
- Explore pie charts and interactivity in Swift Charts — WWDC23
- Hello Swift Charts — WWDC22
- Design an effective chart — WWDC22
- Swift Charts: Raise the bar — WWDC22
- Design app experiences with charts — WWDC22
Articles
Tutorials and deep dives from the community.
Apple
Nil Coalescing
- Visualising data with a hexagonal heatmap in Swift Charts
- Building an accessible calendar chart with Swift Charts
- Build and style a chart with the new Swift Charts framework
- Ridgeline plot with Swift Charts
- Use SwiftUI views as points in scatter plot
- Plotting data distributions with Swift Charts
- Using Measurements from Foundation for values in Swift Charts
- Fill bar marks with gradient in Swift Charts
- Area chart with a dimming layer up to the current point in time
- Show chart annotations on hover in Swift Charts
Swift with Majid
- Mastering charts in SwiftUI. Pie and Donut charts.
- Mastering charts in SwiftUI. Scrolling.
- Mastering charts in SwiftUI. Selection.
- Mastering charts in SwiftUI. Accessibility.
- Mastering charts in SwiftUI. Legends.
- Mastering charts in SwiftUI. Customizations.
- Mastering charts in SwiftUI. Interactions.
- Mastering charts in SwiftUI. Custom Marks.
- Mastering charts in SwiftUI. Mark styling.
- Mastering charts in SwiftUI. Basics.
Artem Novichkov
- Cook up 3D charts with Swift Charts
- Drawing maps with Swift Charts
- Github contribution graph with Swift Charts
Create with Swift
- Using Swift Charts on a SwiftUI app
- Customizing a Chart in Swift Charts
- Making charts accessible with Swift Charts
- Plotting math equations using Swift Charts
Videos
Walkthroughs and experiments worth watching.
- Swift Charts - Beyond the basics
- How FAST is Swift Charts? Can it handle a sound visualizer? - SwiftUI - iOS 16
- Animating Swift Charts - Xcode 15
- Build Swift Charts Stocks App Part 4 - Chart View - SwiftUI iOS 16 App
- Apple Engineer Creates a Budget Widget LIVE (Swift Charts)
Examples
Sample code and open source projects to learn from.
- Visualizing your app’s data — Apple sample code
- Creating a data visualization dashboard with Swift Charts — Apple sample code
- Swift Charts Examples
- BookstoreStategist - SwiftCharts Demo Project
- Reproducing some D3 Charts with Swift Charts
Tools
Assistants that help you write chart code.
- Apple Swift Charts Complete Code Expert — Custom GPT