I just published an article on how to create an area plot in Swift Charts that shows UV index throughout the day and dims values up to the current point in time inspired by the iOS Weather app.
The post can be found on my blog: https://nilcoalescing.com/blog/AreaChartWithADimmingLayer/