One of useful plot library for SwiftUI
https://github.com/KanshuYokoo/SwiftUIGraphPlotLibrary
It is very nice library to plot data on SwiftUI project ad seem to work on both iOS and MacOSX
my understanding is that variable wrapped @EnvironmentObject can be shared
across all views and update view when the variable is updated.
This is like the way React/Redux store doing.