Does prop diameter affect speed
A larger diameter prop will produce more speed ONLY if the first prop was under sized, that is, not fully loading the motor. The motor was capable of producing more power but the prop was not large enough to draw the power out of the motor.
how does prop pitch work?
It takes the same amount of power to move a large amount of air slowly OR a small amount of air faster.
Prop diameter is area, Pi x R^2. Prop pitch is air speed. Bonus, higher rpm’s (Kv) also increases the air speed.
If you have a prop that full loads a motor and you want to increase the pitch, you must decrease the diameter to prevent overloading the motor. If you can increase the pitch without decreasing the diameter, the first prop did not fully load the motor.
Take 2 props that both pull the same amps. One prop is a large diameter shallow pitch, the other smaller diameter high pitch. On a test stand the large diameter prop will always produce more thrust. Say the air speed it produces is 30 mph, the top speed of a plane will be something less, maybe 25 mph. The small diameter prop will produce less thrust on the test stand but will produce a higher air speed, say 60 mph, flying a plane maybe 50 mph.
Think about a transmission. In low gear you can move a heavy load but the top speed will be slow. In high gear you have much less lugging power but a higher top speed.
If you want to do 3D, hang a plane from the prop, use a large diameter shallow pitch prop. If you want to fly fast, use a smaller diameter high pitch prop.