Skip to main content Skip to complementary content
Close announcements banner

Histogram

The histogram is suitable for visualizing distribution of numerical data over a continuous interval, or a certain time period. The data is divided into bins, and each bar in a histogram represents the tabulated frequency at each bin.

Histogram.

When to use it

The histogram is suitable for visualizing distribution of numerical data over a continuous interval, or a certain time period.

Advantages

The histogram organizes large amounts of data, and produces a visualization quickly, using a single dimension.

Disadvantages

The histogram is not relevant for detailed analysis of the data as it deals with a summary of the data distribution.

Creating a histogram

You can create a histogram on the sheet you are editing. You can only apply a single dimension to a histogram. Histograms do not need a measure, as the frequency of the binned data is automatically calculated.

  1. From the assets panel, drag an empty histogram to the sheet.
  2. Add the dimension to calculate the frequency on.

When you have created the histogram, you may want to adjust its appearance and other settings in the properties panel. For information about styling, see Styling the histogram. For information about customizing other aspects of the chart's appearance, see Changing the appearance of a visualization.

Dimension limitations

There are some limitations to the dimension used in a histogram.

  • The dimension must be a numerical field.
  • You cannot use a master dimension that was created using the expression editor, even if the resulting field is numeric.
  • The dimension cannot be based on an aggregation function.

Styling the histogram

You have a number of styling options available under Appearance in the properties panel.

Click Styling under Appearance > Presentation to further customize the styling of the chart. The styling panel contains various sections under the General and Chart tabs.

You can reset your styles by clicking next to each section. Clicking Reset all resets styles in both General and Chart.

For general information about styling an individual visualization, see Applying custom styling to a visualization.

Customizing the text

You can set the text for the title, subtitle, and footnote under Appearance > General. To hide these elements, turn off Show titles.

The visibility of the different labels on the chart depends on chart-specific settings and label display options. These can be configured in the properties panel.

You can style the text that appears in the chart.

  1. In the properties panel, expand the Appearance section.

  2. Under AppearancePresentation, click Styling.

  3. On the General tab, set the font, emphasis style, font size, and color for the following text elements:

    • Title

    • Subtitle

    • Footnote

  4. On the Chart tab, set the font, font size, and color for the following text elements:

    • Axis title: Style the titles on the axes.

    • Axis label: Style the labels on the axes.

    • Value label: Style the labels displaying the frequency value of each dimension value bin.

Customizing the background

You can customize the background of the chart. The background can be set by color and image.

  1. In the properties panel, expand the Appearance section.

  2. Under AppearancePresentation, click Styling.

  3. On the General tab of the styling panel, you can select a background color (single color or expression), and also set the background to an image from your media library.

    When using a background image, you can adjust image sizing and position.

Customizing the border and shadow

You can customize the border and shadow of the chart.

  1. In the properties panel, expand the Appearance section.

  2. Under AppearancePresentation, click Styling.

  3. On the General tab of the styling panel, under Border, adjust the Outline size to increase or decrease the border lines around the chart.

  4. Select a color for the border.

  5. Adjust the Corner radius to control the roundness of the border.

  6. Under Shadow in the General tab, select a shadow size and color. Select None to remove the shadow.

Related learning:

Learn more

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!