The BARCHARTPARM is designed for non repeating data for the same category. In this graph, some ID values are repeated…