Question is pretty simple, i'm trying to make a villager-powered carrot farm in spawn chunks, but I want to know if carrots are like saplings and grass and need to be within a certain range of a player in order to grow.
The long and short of it is that plants grow in loaded Chunks. Normally, a player does need to be in range of a chunk for it to be loaded. If the plants are in the loaded chunk, the will grow. If they are not in a loaded Chunk, they won't grow.
However, there are some exceptions to this. Spawn Chunks are permanently loaded. any and all activity will continue in these Chunks, regardless of whether or not the player is in range.
Additionally, you can create Chunk loaders that can keep Chunks loaded, in a similar fashion to the spawn chunks, but the downside is that this is a little complicated, and can create a heavy load on your PC.