The square showing the mean value is drawn using HIGHLOW plot. You can easily set the WIDTH of the marker…