# How to create a Sparkline

#### Step 1: Open Configuration&#x20;

{% tabs %}
{% tab title="Dashboard extension" %}
Click on the container that has SuperTables running. This will display an arrow that you can click to open a menu. Upon opening the menu, click the 'Configure...' option to open the configuration panel for SuperTables.

<figure><img src="/files/5Av1IhcpSaex5vwah2hM" alt=""><figcaption><p>Opening configuration panel in Dashboard </p></figcaption></figure>
{% endtab %}

{% tab title="Viz extension" %}
To open the configuration panel, simply click 'Format extension' in the Marks pane.

<figure><img src="/files/xwZgjTFwnF4RM4iU6ghd" alt="" width="247"><figcaption><p>Opening the configuration panel in Viz extensions</p></figcaption></figure>
{% endtab %}
{% endtabs %}

#### Step 2: Navigate to the Data tab

<figure><img src="/files/1EvRpcogDoNCNDt0NOqS" alt=""><figcaption><p>Data Tab</p></figcaption></figure>

#### Step 3: Creating a Sparkline

Expand the '**Sparklines**' panel and click on "Make a sparkline" to open the Sparkline configuration panel.

<figure><img src="/files/C8SACLaeJrSvNwUtGbjC" alt=""><figcaption><p>Create a Sparkline</p></figcaption></figure>

#### Step 4: Configuring the Sparkline

To configure a Sparkline, give it a suitable display name then select the type of Sparkline you want to display in the cell, the aggregation type you want to aggregate the measure value by, the x-axis and the y-axis.

<figure><img src="/files/uZdcbzQFiMUkPRQ5YNDe" alt=""><figcaption><p>Configuring a Sparkline</p></figcaption></figure>

If you choose a field of type to be one of the axis then a Date Filter panel will be displayed:

<figure><img src="/files/ddfVRXdqp7PBHY5kphsy" alt=""><figcaption><p>Date filter panel</p></figcaption></figure>

**Note: When you choose a field of type Date on one of the axis it is recommended to use the Date Filter  function. The guide about Date Filtering can be found in** [Sparkline Date Filtering](/supertables/configuration/configuration-screen/data-tab/sparklines-pane/sparkline-date-filtering.md)

#### Step 5: Click 'Apply' to save and create the Sparkline

<figure><img src="/files/KS0NQ7IURtU9hqsPuHys" alt=""><figcaption><p>Displaying the Sparkline</p></figcaption></figure>

**Note: The Sparkline will only be rendered when a different field is added to the row group. It will not render when grouping is done using one of the fields already configured for the Y or X axis.**

### General tips

* When using a Sparkline it is recommended to increase the **Row height** to clearly display the Sparkline as shown in the screenshot in [#step-5-click-apply-to-save-and-create-the-sparkline](#step-5-click-apply-to-save-and-create-the-sparkline "mention")
* When using a field of type Date, it is recommended to enable the Date filter configurator to configure what dates can be used in the axis. This results in the Sparkline looking neater especially when using the Line and Area Sparkline types.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.infotopics.com/supertables/guides/how-to-create-a-sparkline.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
