The standard grips this chord is usually shown with.
Dsus2 is D, E and A, a suspended second. The shape this page opens on is written xx0230, lowest string first.

Also written D2 or D suspended 2nd. The same chord either way; which spelling you meet depends on who wrote the chart.
There are 9 common shapes for Dsus2 on the guitar, and 56 derived voicings in 2 families.
In which keys. Every note of Dsus2 belongs to C major (the ii), D major (the I), D minor (the i), E minor (the ♭VII), F major (the vi), F# minor (the ♭VI), G major (the V), A major (the IV), A minor (the iv) and B minor (the ♭III).
The common shapes, written lowest string first: xx0230, x52235, xx2235, x57755, 10-7-7-9-10-x, x-7-7-7-10-10, 10-x-x-9-10-10, 10-12-12-x-10-12, x-x-12-14-15-12.
Triad. Three notes across one string set. Dsus2 has xx223x, xxx230, xx0230, xx2230, 0002xx, x0223x, xxx755, 057xxx.
Open string. An open string left ringing against a fretted grip. Because it costs no finger, it sounds a note the closed shape has none left for -- a tension on top, or a pedal root underneath. Either a familiar grip with open strings added, or a shape so sparse the open strings carry the chord. These belong to their key rather than to a shape, so D, A, G and E have many and Eb a handful. Dsus2 has xx0230, 0002xx, x0075x, 0x023x, x00250, 0x0250.
The common shapes and the derived voicings come from different places, and both are explained in where the chords and the theory come from.
Shows each chord the way this style would voice it, and marks which of its alternatives belong to the idiom.