The left variant shows the usage of a potentiometer as a voltage divider while the right variant uses it as a variable resistor, leaving the voltage unaffected.
In use with Arduino's Analog pins, always use the left variant as the Arduino detects voltage steps and thus needs a voltage divider.
Have fun!