Awesome Open Source
Awesome Open Source

SwiftUI BarChart

Lightweight and easy to use SwiftUI chart library for all Apple platforms


  • Scaling on both axes
  • Fully customizable axes (labels font, color, dashed lines)
  • Custom gradient bars
  • Reactive chart configuration
  • Bar selection API
  • [WIP] horizontal scrolling


  • iOS 13+ / macOS 10.15+ / watchOS 6+ / tvOS 13+
  • Xcode 11.0+
  • Swift 5+


Swift Package Manager

Add this swift package to your project


See Wiki for usage details


If you like the library, you could:

  • Contribute code, issues and pull requests
  • Let other people know about it
  • paypal any amount to accelaerate new feature development


BarChart is released under the MIT license. See LICENSE for details

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
swift (7,699
ios (3,582
macos (1,745
swiftui (275
chart (274
watchos (148
swift-library (109
swiftui-example (32
swift-package (27