Online Tools » Mathematics » Histogram | en sv |
Histograms can be used to visualize numeric data by grouping values into intervals of a fixed size. Each interval is shown as a bar where the height is proportional to the number of values in the interval.
To show a histogram of your data you just have to enter the values in the text box above and press show histogram. If you have not specified the interval size the tool will automatically try to pick one that is suitable for your data. Point at the bars to get information about the intervals and the number of values they contain.
Histograms are designed to handle continuous data (decimal numbers). If the interval size is 10, and the data only contains positive values, the first interval will be displayed as 0 ≤ x < 10. This means that the interval contains all values that are greater than or equal to zero but smaller than 10. A value that is exactly equal to 10 will not be counted as part of this interval, but will instead be included in the next interval (10 ≤ x < 20).
Histograms where the values are all integers, and the interval size is set to 1, can be considered to be so called bar graphs where each bar shows how many times each number is included in the data set.
The choice of interval size is not always straight forward. If the size is too small the number of values in each interval can become too low which often makes the histogram look uneven with a lot of variation between bars. Bigger interval sizes generally give a smoother histogram but with less details. To get a better understanding of the distribution it can be a good idea to look at the same data using multiple histograms with different interval sizes.