# jordibruin/Swift-Charts-Examples

An overview of the different types of charts you can make with Swift Charts

Repository: https://github.com/jordibruin/Swift-Charts-Examples
Canonical: https://ross.abutalabs.com/products/swift-charts-examples
Language: Swift
License: MIT
License Family: permissive
Last push: 2025-05-25T15:20:09+00:00

## Health v2 (maintenance only)
Score: 43/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 23, release rhythm 35, longevity 100
- inputs: {"age_days": 1543, "days_push": 465, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2449, forks 152 (observed 2026-08-28T04:06:52.792556+00:00)

## What it is
A collection of sample code demonstrating many chart types built with Apple's Swift Charts framework in SwiftUI. It recreates Apple's own example charts and provides customizable, accessible starting points for your own projects.

## Use cases
- learn how to build charts with Swift Charts
- find sample code for line and bar charts in SwiftUI
- recreate Apple-style charts like Screen Time or ECG
- get inspiration for data visualization in an iOS app
- see how to make Swift Charts customizable and accessible

## When to choose
- you're developing an iOS, iPadOS, or macOS app with Swift Charts and want reference implementations
- you learn best from copy-paste-ready example code
- you need a specific chart variant like gradient lines, lollipop marks, or one-dimensional bars

## When to avoid
- you need a charting library itself rather than example code
- your project targets Android, web, or cross-platform frameworks
- you need chart types not yet covered in the repo's todo list

## Facets
- artifact type: learning-resource
- maturity: active
- function: data-visualization, charts, ui-components
- domain: data-visualization, apple-ecosystem, tutorials
- platform: -
- tags: swift-charts, swiftui, sample-code, chart-examples, wwdc, ios-tools, swift, ios, macos

## Member repositories
- jordibruin/Swift-Charts-Examples (main) score 43

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:52.792556+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:30:14.708413+00:00, confidence not recorded.
  - readme: https://github.com/jordibruin/Swift-Charts-Examples (fetched 2026-08-28T04:06:52.792556+00:00, sha 7b142785bedc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
