You have already achieved it in your twbx, What else you are looking for?
Is it you want to create histogram instead of bar chart?
Histogram generally can be created on continuous values. xy Id is a discrete value. Bar chart should be fine for this.