I’d generated the descriptive statistics of certain data, the problem I’m facing right now is how to pass a lot of these small values to my view while keeping my code clean
Yes, but I want to keep the controller cleaner, what about create a function onto the model that returns that map? the model should not take care of that?
Why not creating another module for that? If this is an explicit use case and may contain a long struct (I’m assuming that for some keys you gonna have special treatment). export that logic inside it’s on module makes a lot of sense.