struct ContentView: View {
   @State private var appData = ApplicationData.shared

   var body: some View {
      VStack {
         Chart {
             LinePlot(x: "x", y: "y") { x in
                 sin(x)
             }
         }
         .chartXScale(domain: -5...5)
         .chartYScale(domain: -5...5)
         .frame(width: 300, height: 300)
         Spacer()
      }
   }
}