According to Kepler's second law, the factor that is constant as a line between a planet and the sun sweeps out two equal areas in different places as it moves along its orbit is the amount of time.
This law states that a planet moves faster when it is closer to the sun and slower when it is farther away, but the area swept out in a given time interval is constant.