Histogram

Last update: 2024-10-23
  • Created for:
  • User

The Histogram Histogram visualization is similar to a Bar visualization, but it groups numbers into ranges (buckets). Analytics automates the “bucketing” of numbers into ranges, but you can change the settings in Advanced Settings.

Use

To create a histogram:

  1. Add a Histogram Histogram visualization. See Add a visualization to a panel.
  2. Drag a metric from the Metrics component list, or select a metric from the Add a metric dropdown menu.
  3. (optional) Select Show advanced settings. See Advanced settings.
  4. Select Build.
NOTE

Histograms support only standard metrics, not calculated metrics.

In the example below, a histogram is used to bucket sessions for the number of persons. The histogram shows that most persons do have between 16-21 sessions for the selected date range.

Advanced settings

As part of the visualization, specific histogram settings are available.

Histogram settings Description
Starting bucket Determines which bucket the histogram starts with. “1” is the default. You can set starting numbers from 0 to infinity (no negative numbers).
Metric buckets Lets you increase/decrease the number of data ranges (buckets.) The maximum number of buckets is 50.
Metric bucket size Lets you set the size of each bucket. For example, you can change the bucket size from 1 page view to 2 page views.
Counting method Select from Person, Session, or Event. For example, page views per session, or page views per person, or page views per event.

Examples:

Starting bucket Metric buckets Metric bucket size Result
1 5 2 Histogram, starting bucket 1, metric buckets 5, metric bucket size 2
0 3 5 Histogram, starting bucket 0, metric buckets 3, metric bucket size 5

Blog post

Refer to this blog post about information on using histograms to identify unexpected data values.

On this page