Your garden can be as big or as little as you want it to be. However, you do have to be mindful of how much space certain plants need as they grow. Vining vegetables like peas, pumpkins, and cucumbers need lots of space to stretch out, so I recommend getting trellises to utilize vertical space.
Container gardens don’t need much space at all, especially if you’re growing flowers or herbs for cooking, making them perfect for homes with balconies or patios. Tomatoes also do well in containers, but make sure they’re large enough pots to accommodate your plants as they grow.
If you want to use raised beds or plant directly in the ground, you’ll need a much larger space, at least 6 x 6 feet to give yourself enough room to work. If you’re looking to include sweet corn in your garden, you’ll need to plant at least three rows to ensure it pollinates correctly, and this means you’ll need a lot of space. A garden measuring at least 20 x 20 feet would give you enough room for three to five rows of corn and a few other vegetables and herbs.
Source: Robotics - zdnet.com