× = don't play that string, ○ = open string. Numbers next to a diagram give the fret it starts on.
D is one of the seven chords in: G major (V), E minor (♭VII), D major (I), B minor (♭III), A major (IV), F♯ minor (♭VI).