A histogram is a graphic representation of numerical data that shows the data distribution. When the number of observations is large, and the bin's size is small, the histogram will be similar to the distribution density chart.
When the number of observations is large you may use more bins. There are several ways to calculate the number of bins, for example: n- sample size. Number of bins = sqrt(n)
Number of bins = Range * n1/3 / 2 * IRQ
You may start with automatic calculation and adjust the bin size to your preferred histogram.
Be careful before excluding outliers from any calculation, but excluding outliers from the histogram may improve the visualization significantly, even if the outliers are valid observations.
If you switch on the exclude outliers button, the histogram maker will generate the chart without the outliers, this method creates a more practical histogram.