> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fiddler.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Feature Analytics

> Dive into our guide on creating feature analytics charts and visualizations for important features in your ML Models and LLM applications.

### Creating a Feature Analytics Chart

To create a Feature Analytics chart, follow these steps:

* Navigate to the `Charts` tab in your Fiddler AI instance
* Click on the `Add Chart` button on the top right
* In the modal, select a project
* Select **Feature Analytics**

<img src="https://mintcdn.com/fiddlerai/rI_REZccoRLqD6i6/images/feature-distribution-chart-selection.png?fit=max&auto=format&n=rI_REZccoRLqD6i6&q=85&s=2d73bcbfeb59c33541b6a2e3352f2848" alt="Add Chart modal dialog" width="1318" height="1186" data-path="images/feature-distribution-chart-selection.png" />

### Support

Feature analytics is supported for any model task type, but does not support time stamps or columns of type `string` or `vector`.

### Available Right-Side Controls

| Parameter   | Value                                                                                                                                                                                                                                                                                              |
| ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Model       | List of models in the project                                                                                                                                                                                                                                                                      |
| Version     | List of versions for the selected model                                                                                                                                                                                                                                                            |
| Environment | `Production` or `Pre-Production`                                                                                                                                                                                                                                                                   |
| Dataset     | Displayed only if `Pre-Production` is selected. List of pre-production env uploaded for the model version.                                                                                                                                                                                         |
| Visual      | List of possible visualizations, Feature Distribution or Feature Correlation.                                                                                                                                                                                                                      |
| Segment     | \<p>- Selecting a saved segment\<br>- Defining an applied (on the fly) segment. This applied segment isn’t saved (unless specifically required by the user) and is applied for analysis purposes.\</p>                                                                                             |
| Feature     | \<p>- Feature Distribution: Select a single column of a supported data type to view the distribution of its values\<br>- Feature Correlation: Select two columns to visualize their correlation\<br>- Correlation Matrix: Select up to eight columns to visualize their pairwise correlations\</p> |

### Available In-Chart Controls

| Control              | Value                                                                                                                      |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| Time range selection | Selecting start time and end time or time label for production data. Default is last 30 days                               |
| Display              | Select how to display the chart, Histogram or Kernel Density Estimate, depending on the data type of the feature selected. |

### Displays for Feature Distribution

#### Kernel Density Estimate

For numeric column types, visualize feature distribution as a Kernel Density Estimate chart. <img src="https://mintcdn.com/fiddlerai/rI_REZccoRLqD6i6/images/feature-analytics-kde.png?fit=max&auto=format&n=rI_REZccoRLqD6i6&q=85&s=474d23a03b53e7160614db6c484c398c" alt="Feature distribution chart configured with Kernel Density Estimate rendering" width="3308" height="1614" data-path="images/feature-analytics-kde.png" />

#### Histogram

Categorical and boolean value may only be displayed as Histograms, but other column types may also be displayed as such. <img src="https://mintcdn.com/fiddlerai/rI_REZccoRLqD6i6/images/feature-analytics-histogram.png?fit=max&auto=format&n=rI_REZccoRLqD6i6&q=85&s=859fff4ae45b341b322b1f69b35c9f58" alt="Feature distribution chart configured with histogram rendering" width="3294" height="1618" data-path="images/feature-analytics-histogram.png" />

### Displays for Feature Correlation

#### Line Plot

<img src="https://mintcdn.com/fiddlerai/0YAzrIgYU8gLFpZN/images/correlation-lineplot.png?fit=max&auto=format&n=0YAzrIgYU8gLFpZN&q=85&s=303970b587d7232aebfba878f4b9afd5" alt="Line plot example of Feature Correlation chart" width="2658" height="1642" data-path="images/correlation-lineplot.png" />

#### Scatter Plot

<img src="https://mintcdn.com/fiddlerai/0YAzrIgYU8gLFpZN/images/correlation-scatterplot.png?fit=max&auto=format&n=0YAzrIgYU8gLFpZN&q=85&s=6eee022252068353f89178e3a6edef45" alt="Scatter plot example of Feature Correlation chart" width="2656" height="1652" data-path="images/correlation-scatterplot.png" />

#### Stacked Bar Plot

<img src="https://mintcdn.com/fiddlerai/0YAzrIgYU8gLFpZN/images/correlation-stackedbar.png?fit=max&auto=format&n=0YAzrIgYU8gLFpZN&q=85&s=e581547ad0470867e4c3b5a25d196789" alt="Stacked bar example of Feature Correlation chart" width="2468" height="1498" data-path="images/correlation-stackedbar.png" />

#### Box Plot

<img src="https://mintcdn.com/fiddlerai/0YAzrIgYU8gLFpZN/images/correlation-boxplot.png?fit=max&auto=format&n=0YAzrIgYU8gLFpZN&q=85&s=892ac6ec2564bda02cb2bf9b604d79ae" alt="Box plot example of Feature Correlation chart" width="2658" height="1630" data-path="images/correlation-boxplot.png" />

### Correlation Matrix Interactions

Clicking a cell in the correlation matrix opens the Feature Correlation chart, enabling a more detailed analysis of the relationship between the selected features. <img src="https://mintcdn.com/fiddlerai/0YAzrIgYU8gLFpZN/images/correlation-matrix-rca.png?fit=max&auto=format&n=0YAzrIgYU8gLFpZN&q=85&s=5a951d5b1873924148e87e723d491298" alt="Correlation matrix interactions" width="2668" height="1670" data-path="images/correlation-matrix-rca.png" />
