> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://learn.fieldproapp.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Create a Histogram Chart



In this guide, we'll walk you through the process of creating a Histogram. Histograms are great for visualizing the distribution of a dataset. Let's get started!

## Table of Contents
* [1. Access the Dashboard](#1-access-the-dashboard)
* [2. Choose the Chart Type](#2-choose-the-chart-type)
* [3. Add a Chart Tag](#3-add-a-chart-tag)
* [4. Add a Chart Title](#4-add-a-chart-title)
* [5. Add a Chart Description](#5-add-a-chart-description)
* [6. Input Minimum and Maximum Values](#6-input-minimum-and-maximum-values)
* [7. Configure Chart Display Options](#7-configure-chart-display-options)
* [8. Bins Number Input](#8-bins-number-input)
* [9. Histogram Distribution Options](#9-histogram-distribution-options)
* [10. Configure X and Y Axis Titles](#10-configure-x-and-y-axis-titles)
* [11. Add a Query](#11-add-a-query)

# 1. Access the Dashboard

To begin creating your Histogram, first access your dashboard. If you haven't set up a dashboard yet, you'll need to create one. Once inside your dashboard, click on the "Add Chart" button if you're in the "Create New Dashboard" dialog, or click on the plus (+) icon if you're in the "Edit Dashboard" dialog.

![](https://storage.crisp.chat/users/helpdesk/website/eccae9ddfa738000/screenshot-2023-08-03-at-45300_11yr9yl.png)


# 2. Choose the Chart Type

A dialog will appear prompting you to select the type of chart you wish to create. From the dropdown menu, select "Histogram".

![](https://storage.crisp.chat/users/helpdesk/website/eccae9ddfa738000/screenshot-2023-09-07-at-11205_g04u62.png)

# 3. Add a Chart Tag

Next, you'll need to add a chart tag. This tag should be related to the Scorecard you're creating. For example, if you're creating a Histogram  for user distribution , you might choose a tag like `Hist_users`.

![](https://storage.crisp.chat/users/helpdesk/website/eccae9ddfa738000/screenshot-2023-09-07-at-11174_1rsoljq.png)

# 4. Add a Chart Title

Now, add a title for your chart. This title should represent what the chart is about. For example,if you want to show a histogram  sjowing user distribution  you might choose a title like `Users distribution`.


![](https://storage.crisp.chat/users/helpdesk/website/eccae9ddfa738000/screenshot-2023-09-07-at-11175_1eufsku.png)

# 5. Add a Chart Description

Provide a description like `Distribution of users` to give users a clear understanding of the histogram's content.

![](https://storage.crisp.chat/users/helpdesk/website/eccae9ddfa738000/screenshot-2023-09-07-at-11180_15pe0hv.png)

# 6. Input Minimum and Maximum Values

Specify the range of values you want to analyze by inputting the minimum and maximum values.

![](https://storage.crisp.chat/users/helpdesk/website/eccae9ddfa738000/screenshot-2023-09-07-at-11181_16c0d7x.png)

# 7. Configure Chart Display Options

Enable the "Force the Display of the Chart in Full Width" option to ensure your histogram spans the entire width of the display area.

![](https://storage.crisp.chat/users/helpdesk/website/eccae9ddfa738000/screenshot-2023-09-07-at-11182_ccj7fx.png)

# 8. Bins Number Input

Determine the number of bins you want for your histogram. Bins represent the intervals you want to divide your data into.

![](https://storage.crisp.chat/users/helpdesk/website/eccae9ddfa738000/screenshot-2023-09-07-at-11183_f2g737.png)

# 9. Histogram Distribution Options

Toggle the following options based on your requirements:

- **Is cumulative**: This will display a cumulative histogram, where each bin gives the counts for that bin plus all bins for smaller values.
  
- **Is normalized**: This will display the data in a way that the area under the histogram is equal to 1.
  
- **Show density**: This will display the data in a way that shows the number of data points per unit value.

![](https://storage.crisp.chat/users/helpdesk/website/eccae9ddfa738000/screenshot-2023-09-07-at-11183_12lkuhg.png)

# 10. Configure X and Y Axis Titles

Provide appropriate titles for your X and Y axes to clearly label the data being represented.

![](https://storage.crisp.chat/users/helpdesk/website/eccae9ddfa738000/screenshot-2023-09-07-at-11185_1u57sox.png)

# 11. Add a Query

Lastly, input the appropriate query to fetch the data for your histogram.


![](https://storage.crisp.chat/users/helpdesk/website/eccae9ddfa738000/screenshot-2023-09-07-at-11190_1wej27z.png)

||| Add your filters accordingly 

That's it! You've now successfully set up a Histogram. Preview your dashboard to see the histogram in action.
