New in SwiftUI 4: Line Chart
Apple’s new Charts framework makes data visualization easy and fun. We have been exploring these new additions one by one and today, we will focus on LineMark, which is used to create LineCharts.
We can create a line chart by plotting nominal value the x position, and quantitative value typically to the y position. Let’s build example by visualizing daily workout sessions for the week.