A 2d code does not consist of bars but rather a grid of square cells allowing more information to be encoded in a smaller amount of space. These are also referred to as "stacked" or "matrix" codes.