The grid sounds like the safest thing to do. What you have there is quite fine and I have seen it in a lot of applications, so I won't give you suggestions for that.
I will instead provide you with some more daring alternatives that cross into the realm of data visualization.
The data you have there involves factories, products and resources. I don't know if two factories produce the same product or if two products use the same resource, or to be more specific, if the relationships map to a tree or a graph.
So I will provide you a solution for each case:
You can place the factories in the center, the products in the middle layer and the resources on the outside. This maps very well for a tree-like data structure, but can work very well for a graph, by coloring the shared products/resources with consistent colors.
Flow diagram (Sankey Diagram)
You can place the factories to the left, the products in the middle and the resources to the right. This one works for a graph-like data structure.
They are both quantitative representations and this means you can get a sense of the data just by looking at the screen, instead of comparing numbers.
Another advantage is the interactivity both support : highlighting, filtering, sorting.
There is software support for both of them, if you are interested, I can sugest you some libraries as well.