Ok, it's pretty simple. I've added ScrollView (Chart is inside) and dynamic frame (width of each row - in your case height) -> frame(width: data.count * defaultWidth)
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: