> For the complete documentation index, see [llms.txt](https://navixy.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://navixy.com/docs/analytics/explorer-for-iotquery/custom-analysis-sql-configurator/creating-custom-visualizations.md).

# Creating custom visualizations

Transform SQL query results into interactive charts through drag-and-drop operations. The visualization interface converts raw data into visual insights without coding requirements.

## Accessing the visualization interface

After executing SQL queries, two tabs appear above your results:

| **Tab**           | **Purpose**                          |
| ----------------- | ------------------------------------ |
| **Data**          | Review query results in table format |
| **Visualization** | Create interactive charts            |

Click **Visualization** to access the chart builder immediately after query execution.

## Interface overview

<figure><img src="/files/AULC1rWFKYGKgRlyrHQa" alt="Query execution results showing Data and Visualization tabs with transition to chart builder"><figcaption></figcaption></figure>

The visualization workspace consists of three coordinated areas:

**Field List** (left panel):

* **Dimensions** - categorical data with document-style icons
* **Measures** - numerical data with hashtag icons
* **Time** - temporal fields for trend analysis

**Configuration Shelves** (center):

* **X-Axis/Y-Axis** - primary chart structure
* **Rows/Columns** - multi-panel comparisons
* **Filters** - data subsetting
* **Color/Size/Opacity** - visual encoding

**Canvas** (right):

* Real-time chart display with immediate updates
* Interactive zoom, pan, and exploration capabilities

## Essential controls

![](/files/OJ6aiZbGirOwwjOTcNLM)

Expand the section below to see key toolbar buttons that accelerate chart creation.

<details>

<summary>See main cotrols description</summary>

| **Control**                                                                                                                               | **Function**                                                    | **Usage**                                                                             |
| ----------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| <p><strong>Aggregation</strong><br><br><img src="/files/4Oy7gkKDkoU58bIiJkIM" alt="image-20250819-095023.png"></p>                        | Raw vs. aggregated data display                                 | Turn OFF to see individual records; keep ON to see totals/averages                    |
| <p><strong>Mark Types</strong><br><br><img src="/files/WLQQRTG44hRjZYEPS74S" alt="image-20250819-095030.png"></p>                         | Chart type selection (Bar, Line, etc.)                          | Switch between bar charts, line graphs, scatter plots based on your analysis needs    |
| <p><strong>Stack Mode</strong><br><br><img src="/files/sqa4tvFBb6HtZiUvrlT0" alt="image-20250819-095135.png"></p>                         | Create a Stack chart or Normalize a chart                       | Stack bars to show totals; normalize to compare percentages across categories         |
| <p><strong>Transpose</strong><br><br><img src="/files/2fkMoF2nspGWwwTIwNF6" alt="image-20250819-095215.png"></p>                          | Switch the x-axis and y-axis of the chart                       | Flip chart orientation when categories are hard to read or compare                    |
| <p><strong>Sort Order</strong><br><br><img src="/files/HcZR2OzqHabMPufTcuLy" alt="image-20250819-095235.png"></p>                         | Sort in Ascending or Descending Order                           | Arrange data from highest to lowest values (or vice versa) to identify top performers |
| <p><strong>Axis Resizing</strong><br><br><img src="/files/wcPl2Cdj3joUEpQwOmsv" alt="image-20250819-095259.png"></p>                      | Resize the axes                                                 | Zoom into specific value ranges to examine data in more detail                        |
| <p><strong>Layout Mode</strong><br><br><img src="/files/A86GD15FFrkz6M3PjYyZ" alt="image-20250819-095318.png"></p>                        | Resize the chart or use the auto-sized chart                    | Switch to manual sizing when you need larger charts for presentations                 |
| <p><strong>Exploration Mode</strong><br><br><img src="/files/csDY9SNjC5b2hSS2jGIp" alt="image-20250819-095349.png"></p>                   | Explore data. You can choose either point mode or brush mode    | Select individual data points or drag to select multiple points for detailed analysis |
| <p><strong>Export</strong><br><br><img src="/files/F4hyAxsL9LmEB4EPtYtN" alt="image-20250819-095401.png"></p>                             | Save visualizations (PNG or SVG)                                | Download chart images for reports, presentations, or documentation                    |
| <p><strong>Export as CSV</strong><br><br><img src="/files/JCwSd5BvYULAJxBAaDJu" alt="image-20250819-095721.png" data-size="original"></p> | Export visualized data in CSV format                            | Download the underlying data to analyze in Excel or other spreadsheet programs        |
| <p><strong>Export code</strong><br><br><img src="/files/TVzZ9lJzh41kRLKy9XxZ" alt="image-20250819-095828.png" data-size="original"></p>   | Export visualization as code in Python or JSON (Graphic Walker) | Get code to recreate this exact chart in your own Python scripts                      |

</details>

## Building visualizations: sample workflow

**Example scenario**: Analyzing operational data with fields like `category_field`, `performance_metric`, `timestamp`, `region`.

{% stepper %}
{% step %}
**Create foundation chart**

* Drag categorical field (e.g., `category_field`) → **X-Axis**
* Drag numerical field (e.g., `performance_metric`) → **Y-Axis**
* Interface creates aggregated bar chart automatically
  {% endstep %}

{% step %}
**Refine visualization type**

Click **Mark Types** button for alternatives:

* **Bar charts**: category comparisons
* **Line charts**: trend analysis over time
* **Scatter plots**: correlation analysis (turn off aggregation)
  {% endstep %}

{% step %}
**Add analytical depth**

* Drag additional categorical field → **Color** shelf = visual differentiation
* Drag numerical field → **Size** shelf = proportional representation
* Multiple dimensions reveal hidden relationships
  {% endstep %}
  {% endstepper %}

\[SCREENSHOT: Progressive chart building showing basic bar chart evolving into multi-dimensional analysis]

## Advanced techniques

### Multi-panel analysis

Create comparative views using **Rows/Columns** shelves:

* Drag categorical field → **Rows** = separate panels for each category
* Consistent scales enable direct cross-comparisons
* Reveals patterns obscured in aggregated views

### Filtering and focus

Use **Filters** shelf for targeted analysis:

* Drag categorical fields for subset selection
* Drag numerical fields for range-based filtering
* Multiple filters combine for precise data exploration

### Interactive exploration

* Manual chart resizing using **Resize** button options
* Zoom and pan capabilities for detailed examination
* Export capabilities for sharing and integration

{% hint style="info" %}
**Performance tip**: Apply filters before complex visualizations to maintain responsiveness with large datasets.
{% endhint %}

## Evaluating your results

After creating custom visualizations, assess whether this approach meets your analytical needs:

**Visualization complexity**: Can you create the charts and insights required for your operational decisions?

**Data exploration depth**: Do the interactive capabilities provide sufficient analytical flexibility?

**Sharing and integration**: Do export options support your reporting and collaboration workflows?

**Performance and scalability**: Does the interface handle your data volume and complexity requirements effectively?

## Next steps

Based on your custom visualization experience, you may need more advanced capabilities. For comprehensive guidance on selecting appropriate business intelligence tools that match your specific requirements and organizational needs, see [Selecting BI tools](/docs/analytics/iot-query/connection-setup/selecting-bi-tools.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://navixy.com/docs/analytics/explorer-for-iotquery/custom-analysis-sql-configurator/creating-custom-visualizations.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
