If you drop the sepal length column from the iris data set on both the x and y axes, then choose a bar chart with count as the summary statistic and stacked as the bar style you are presented with a stacked histogram. Is it possible to change the bin width on the x axis for this chart?

Desired chart:

The bar chart using a continuous variable:

Adding a bar style chart to the histogram would be a more intuitive method but there is no bar style option there. I did submit a wish list item to add that here.

In this case, using Sepal Length as the X-axis variable, for a bar chart.

Sepal Length is. an continuous numeric variable; however, a bar chart only work with nominal (categorical) variables.

Since sepal length is rounded to the nearest 10th, it is plotted as the number of times each sepal length (in increments of tenths) occurs in the data set.

For example, write this formula in a column

:Sepal length + Random Normal()

Use that column in a graph builder plot, and choose bar chart. The result is a haze of lines, or very thin bars.

If you want fewer bins, in this case, rounding the data appropriately could help.

So the short answer is, no you can't change it in the graph. The answer is also, don't make bar charts using a continuous variable for categories. Check out the add-in, Interactive Binning v2. This tool lets you break data down into bins either manually of with a couple of other statistical intervals.