Data Visualization and Organization
Enter your data and configure the bins to generate a histogram and see key statistical metrics.
Use these sample datasets to see how the Histogram Calculator works.
A dataset representing the scores of 30 students on a mathematics exam.
Dataset: 82, 95, 53, 76, 88, 72, 65, 78, 91, 85, 61, 79, 83, 93, 58, 70, 75, 81, 87, 68, 77, 84, 90, 62, 74, 89, 67, 73, 80, 92
A sample of employee ages from a mid-sized technology company.
Dataset: 25, 31, 45, 28, 35, 42, 23, 38, 51, 33, 29, 30, 48, 36, 27, 41, 39, 34, 26, 55
Weights of a product batch, used for quality control purposes.
Dataset: 150.2, 151.1, 149.8, 150.5, 150.8, 149.5, 151.3, 150.1, 150.6, 149.9, 150.7, 151.0, 150.3, 149.7, 150.4
A list of daily high temperatures recorded over a 30-day period in a city.
Dataset: 75, 77, 80, 82, 79, 76, 78, 81, 85, 86, 84, 83, 80, 78, 79, 82, 87, 88, 86, 81, 79, 77, 80, 83, 85, 82, 79, 78, 81, 84
You have three choices:
R = max(data) - min(data)
k = 1 + 3.322 * log10(n)
, where n
is the number of data points. The result is typically rounded.w = R / k
w
is determined, the bins are created. The first bin starts at min(data)
. The upper bound is min(data) + w
. For each subsequent bin, the lower bound is the upper bound of the previous one. This continues until all data points are covered. A data point x
belongs to a bin [a, b)
if a <= x < b
. The last bin is inclusive of the maximum value.