Watch the D Shape online guitar lesson by David Wallimann from Guitar DNA: CAGED Soloing

The D position of an E minor pentatonic scale has its root on the 4th string and is built on the right side of that root.