thiennc-tesoglobal/ios-skills/swift-charts
Claude Code and agent skill by thiennc-tesoglobal/ios-skills
- community
Checking that the SKILL.md file is still in the repository.
Builds or reviews Swift Charts visualizations, including bar, line, area, point, sector, vectorized, and 3D charts. Use for marks, axes, scales, legends, annotations, selection, scrolling, styling, accessibility, large datasets, plots, or spatial surfaces.
Install
npx vskill@latest install thiennc-tesoglobal/ios-skills/swift-chartsSKILL.md
The same SKILL.md was published earlier as thiennc-tesoglobal/ios-skills/swift-charts.
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.
Use the task-specific chart references routed below instead of loading every recipe.
Contents
Workflow
- Identify the analytical question, data shape, deployment target, and accessibility requirement before choosing marks.
- Select the smallest mark set and encode series, categories, scales, and domains explicitly where ambiguity matters.
- Add axes, legends, annotations, selection, or scrolling only when they improve interpretation.
- Prefer vectorized plots or aggregation for large datasets and avoid expensive per-mark decoration.
- Verify empty/single/extreme data, localization, Dynamic Type, VoiceOver summaries, selection, and performance.
Route by Task
- Read core implementation details for chart containers, marks, axes, scales, styles, selection, scrolling, annotations, vectorized plots, and 3D charts.
- Read chart types and composition for bars, lines, sectors, combined charts, and data modeling.
- Read interaction, 3D, accessibility, and performance for selection, scrolling, function plots, surfaces, and large datasets.
- Read styling, heat maps, and modifier reference for themes, symbols, stacking, coordinate conversion, and quick-reference modifiers.
Core Decisions
- Choose marks from the question being answered, not visual novelty.
- Preserve truthful scale domains and label units/aggregation clearly.
- Encode multiple line series with an explicit series dimension.
- Keep charts readable at large text sizes and expose nonvisual summaries.
Common Mistakes
1. Missing series parameter for multi-line charts
2. Too many SectorMark slices
3. Missing scale domain when zero-baseline matters
4. Static foregroundStyle overriding data encoding
5. Individual marks for 10,000+ data points
6. Fixed chart height breaking Dynamic Type
7. KeyPath modifier after value modifier on vectorized plots
8. Missing accessibility labels
9. Treating angle selection as category selection
chartAngleSelection(value:) binds the selected plottable angle value. For pie and donut charts, map that numeric value through cumulative sector ranges before comparing it to a category label.
Review Checklist
- [ ] Data model uses
Identifiableor chart usesid:key path - [ ] Mark type matches goal (bar=comparison, line=trend, sector=proportion)
- [ ] Multi-series lines use
series:parameter or.foregroundStyle(by:) - [ ] Axes configured with appropriate labels, ticks, and grid lines
- [ ] Scale domain set explicitly when zero-baseline matters
- [ ] Pie/donut uses positive values, 5-7 sectors, and "Other" grouping
- [ ] Selection binding type matches axis data type (
Date?for date axis) - [ ] Pie/donut angle selection maps numeric angle values back to categories
- [ ] Scrollable charts set
.chartXVisibleDomain(length:)for viewport - [ ] Vectorized plots used for datasets exceeding 1000 points
- [ ] KeyPath modifiers applied before value modifiers on vectorized plots
- [ ]
Chart3Dused only for real 3D data or surfaces, with z scale and pose reviewed - [ ] Accessibility labels added to marks for VoiceOver
- [ ] Chart tested with Dynamic Type and Dark Mode
- [ ] Legend visible and positioned, or intentionally hidden
- [ ] Ensure chart data model types are Sendable; update chart data on @MainActor
References
- Chart types and composition
- Interaction, 3D, accessibility, and performance
- Styling, heat maps, and modifier reference
- Apple docs: Swift Charts
- Apple docs: Creating a chart using Swift Charts
- Apple docs: Swift Charts updates
- Apple docs: Chart3D
- Apple docs: SurfacePlot
- Core implementation details -- setup, API wiring, and focused implementation recipes moved out of the entrypoint.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/swift-charts/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thiennc-tesoglobal/ios-skills/swift-charts)