An annual comparison answers a different question from a trend: which products grew, and by how much? Keep one row per product with the two annual counts, then encode each year as a separate bar series. This avoids relying on the order of unrelated vectors.
The year labels are translated presentation inputs; previous and current are stable schema keys. Do not compare a partial current year against a complete previous year without saying so. Validate the reporting windows and product identity before projection, and retain the integer counts for exact values. A product missing from the source needs an explicit absence policy, not an accidental zero. The gallery screenshot is a separate example, not a rendering of these inputs.