How to simplify a bar chart with many variables?

I'm a bit stuck here. I need to represent about 40 variables in a bar chart. Each variable needs to be visible... it would be fine if each ended on a different part of the x axis, but unfortunately ~36 of the variables end in the same location. Does anyone have any tips on how to display it more easily/clearly, so that it's not a giant list of bars at the same length?

Edit: Thank you all for the responses! They did help. The photo was just a chart generated by a program to show a better idea of the amount of information. The colors and labels it has are irrelevant. I cannot give too many details as it is confidential.