The magnitude of the gravitational field is proportional to r (the distance from the Earth's center) when you measure it inside the Earth. Then it decreases inversely with the square of r outside.
Learning goals
To reveal the link between field at a point and the field line at this point.