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

# Visualizations and dashboards

> Configure charts from SQL results and build a dashboard containing them.

A visualization defines how a query result is displayed. A dashboard combines visualizations on one page. First save and run a [SQL query](/guides/analytics/sql-queries).

This example uses the query from [Query token daily transfers](/quickstart/use/daily-token-transfers), which returns `day` and `transfer_count`.

## Create a chart

1. Click **New** above the query results.
2. Select **Bar Chart**, then open the new **Bar Chart** tab.
3. Under **Result Data** on the right, set **X Column** to `day` and **Y Column 1** to `transfer_count`. If already selected automatically, confirm the mapping.
4. Check that dates run along the horizontal axis and transfer counts along the vertical axis.

<Frame>
  <img src="https://mintcdn.com/opcodelabspteltd/TOA0bb8_WqdBuVVN/images/guides/analytics/chart-options.png?fit=max&auto=format&n=TOA0bb8_WqdBuVVN&q=85&s=d4d1dbaef97b9c4312eb43164d4010e7" alt="Bar Chart maps day to X and transfer_count to Y" width="1920" height="1080" data-path="images/guides/analytics/chart-options.png" />
</Frame>

**New** also offers line, area, scatter, and pie charts, counters, and tables. Choose a format for the result: line or bar charts suit time trends, while counters suit a single total.

**Chart Options**, **Axis Options**, and **Series** on the right configure the legend, axes, and data series.

## Create a dashboard and add the chart

1. Return to **Dashboards** in the Space and click **+** in the upper right.
2. Enter `USDC activity` in **Dashboard name**, set the URL path to `usdc_activity`, and click **Save and open**.
3. Click **Edit → Add visualization**.
4. Search for `USDC`, find **Bar Chart** under `USDC daily transfers`, and click its **+ Add** button.
5. Click **Done** in the selection dialog, then **Done** on the dashboard to finish editing.

<Frame>
  <img src="https://mintcdn.com/opcodelabspteltd/TOA0bb8_WqdBuVVN/images/guides/analytics/add-visualization.png?fit=max&auto=format&n=TOA0bb8_WqdBuVVN&q=85&s=651b792317098c2f5086039f2ca497d8" alt="Search for the USDC query and add its Bar Chart to the dashboard" width="1920" height="1080" data-path="images/guides/analytics/add-visualization.png" />
</Frame>

The dashboard now shows the daily transfer bar chart. Reopening it preserves the layout and chart.

<Frame>
  <img src="https://mintcdn.com/opcodelabspteltd/TOA0bb8_WqdBuVVN/images/guides/analytics/dashboard.png?fit=max&auto=format&n=TOA0bb8_WqdBuVVN&q=85&s=1d26b00c063226058a8890f02495bce7" alt="USDC activity dashboard shows daily USDC transfer counts" width="1920" height="1080" data-path="images/guides/analytics/dashboard.png" />
</Frame>

## Edit and update

Click **Edit** to add more visualizations, add explanations through **Add text widget**, or change dashboard configuration through **Settings**. Click **Done** when finished.

Charts use the results of their linked queries. Rerunning a query updates the data shown in its charts and dashboards.
