× = don't play that string, ○ = open string. Numbers next to a diagram give the fret it starts on.
D7 is one of the seven chords in: G major (V7), E minor (♭VII7).