It depends a bit on what command you are using to set this up.
Here is one example using this data.
If you are using a Bars command and select the label column as indicated, the axis will be categorical and will look much better.
It looks like you are might be setting the labels in the Axis setting. If that is the case, you can get categorical axis labels there too by selecting X tick marks as ‘Categories’.
This article may help to explain categorical versus numerical axes for the bars:
How to make a bar graph
Hope this helps!