# Configuring Widgets for Segment Insights

There are 8 different types of charts you can configure for Segment Insights. You can configure up to 10 widgets per dashboard. To configure each widget, you:

- Select an attribute
- Name the widget
- Select a calculation type
- Select the chart type


## Pie Chart

Visualize data as a percentage of a whole.

| **Parameter** | **Description** |
|  --- | --- |
| Attribute | Categorical or Numerical attribute |
| Widget title | Name of the widget |
| Calculation Type | Distribution |
| Chart Type | Pie Chart |


## Column

Compare attributes and visualize distribution.

| **Parameter** | **Description** |
|  --- | --- |
| Attribute | Categorical |
| Widget title | Name of the widget |
| Calculation Type | Distribution |
| Chart Type | Single Column Chart |


## Stacked Column (Cross-tabulation)

Visualize variables of one attribute and how they are distributed as parts of the whole across a second attribute.

| **Parameter** | **Description** |
|  --- | --- |
| Attribute | Categorical or numerical attribute |
| Widget title | Name of the widget |
| Calculation Type | Distribution |
| Chart Type | Stacked Column |
| Additional attribute | Categorical or numerical attribute |
| Measurement type | Count or percentage |
| Lower limit on X-axis | Lowest value on the x-axis |
| Upper limit on X-axis | Highest value on the x-axis |
| Number of bins | Desired number of bins to sort |


## Histogram

Visualize how much of certain type of attribute variable occurs within a specific range.

| **Parameter** | **Description** |
|  --- | --- |
| Attribute | Numerical attribute |
| Widget title | Name of the widget |
| Calculation Type | Distribution |
| Chart Type | Histogram |
| Lower limit on X-axis | Lowest value on the x-axis |
| Upper limit on X-axis | Highest value on the x-axis |
| Number of bins | Desired number of bins to sort |


## Sum

Measure the sum of a numerical attribute across profiles.

| **Parameter** | **Description** |
|  --- | --- |
| Attribute | Numerical attribute |
| Widget title | Name of the widget |
| Calculation Type | Sum |
| Chart Type | Indicator |


## Average

Measure the average of a numerical attribute across profiles.

| **Parameter** | **Description** |
|  --- | --- |
| Attribute | Numerical attribute |
| Widget title | Name of the widget |
| Calculation Type | Average |
| Chart Type | Indicator |


## Distinct Count

Shows the number of unique values of an attribute across a segment.

| **Parameter** | **Description** |
|  --- | --- |
| Attribute | Categorical or numerical attribute |
| Widget title | Name of the widget |
| Calculation Type | Distinct Count |
| Chart Type | Indicator |


## Array Distribution

Visualize the distribution of an array attribute across segment profiles and rank them, up to 10.

| **Parameter** | **Description** |
|  --- | --- |
| Attribute | Array attribute (string, int, and long only) |
| Widget title | Name of the widget |
| Calculation Type | Distribution |
| Chart Type | Ranking (Top 10) |


Array Distribution ranking example