This is a comprehensive reference for Swift Charts that covers everything from basic bar and line charts to advanced features like vectorized plots for large datasets and iOS 17+ scrollable charts. You'll want this when implementing any data visualization in SwiftUI, whether you're building a simple pie chart or something specialized like a heat map or Gantt chart. The workflow section walks you through the typical pattern of defining data, choosing mark types, and encoding visual channels, while the code samples show real implementations for stacked bars, range areas, and donut charts with inner radius ratios. It includes the kind of details you actually need, like how to layer multiple AxisMarks for different grid and label intervals, and covers selection binding for interactive charts. The review checklist at the end is handy for auditing existing chart code.

skills.sh installs
4.2K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill swift-charts --agent claude-code

Installs into .claude/skills of the current project.

Files

Swift Charts

Build data visualizations with Swift Charts targeting iOS 26+. Compose marks inside Chart or Chart3D, configure axes and scales with view modifiers, and use vectorized plots or 3D plots when the data calls for them.

See references/charts-patterns.md for extended patterns, 3D charts, accessibility, and theming guidance.

Contents

Workflow

1. Build a new chart

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Git & Pull Requests, Code Review & Quality, Mobile Development
First seen
Apr 16, 2026

More from dpearson2699/swift-ios-skills

All 98
1openai avataraspnet-coreopenai/skillsBuild, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web App4.1Kskills.sh installs
2dotnet avatardetect-static-dependenciesdotnet/skillsScan C# source files for hard-to-test static dependencies — DateTime.Now/UtcNow, File.*, Directory.*, Environment.*, HttpClient, Console.*, Process.*, and other4.1Kskills.sh installs
3dotnet avatartechnology-selectiondotnet/skillsGuides technology selection and implementation of AI and ML features in .NET 8+ applications using ML.NET, Microsoft.Extensions.AI (MEAI), Microsoft Agent Frame4.1Kskills.sh installs
4nexu-io avatarweb-design-guidelinesnexu-io/open-designReview UI code for Web Interface Guidelines compliance by the Vercel engineering team. Covers layout, typography, color, motion, and accessibility for product U4.1Kskills.sh installs
5ghostsecurity avatarghost-validateghostsecurity/skillsThis skill should be used when the user asks to "validate a finding", "check if a vulnerability is real", "triage a security finding", "confirm a vulnerability"4.1Kskills.sh installs
6tradermonty avatarportfolio-managertradermonty/claude-trading-skillsComprehensive portfolio analysis using Alpaca MCP Server integration to fetch holdings and positions, then analyze asset allocation, risk metrics, individual st4.1Kskills.sh installs