Bdim7 (B diminished seventh) is a four-note chord made from B, D, F and Ab. A diminished seventh is minor thirds stacked all the way up, so it is symmetrical: the same shape moved up three frets plays the same notes. It makes a tense passing chord that leads up a half step.
Built from the root B, the minor third D, the flat fifth F and the diminished seventh Ab.
Frets from low E to high E; x means don't play that string.
Easiest shape to start with: Open position (x20101). It has 2 open strings, nothing above fret 2 and 1 muted string.
Every note of Bdim7 is in these keys. The numeral is its place in the key.