This is a demo app that shows book store statitistics with the SwiftCharts API available for iOS 16. New features for iOS 17 are chart scrolling and chart selection.
There are various chart examples:
- bar charts
- pie charts
- line charts
- scatter plots
This is the demo I created for
- Youtube tutorial Introduction to SwiftCharts: Creating Charts and Graphs in SwiftUI
- blog post https://www.swiftyplace.com/blog/swiftcharts-create-charts-and-graphs-in-swiftui
Screen.Recording.2023-07-19.at.11.09.14.mp4
I also added an example where I replace the existing charts data with a new randomly generated data set. You can show the changing to the charts with an animation.