Watch the 4th String Root Shape (cageD) online guitar lesson by David Wallimann from Guitar DNA: CAGED Soloing

Last but not least, the D position has its root on the 4th string and is built on the right side of that root. Notice how anything built on the left side of a root on the 4th string fits the E position.