# Create a chart

Click ![](/files/3ieBjGR7mJQiLDeRWxJd)icon in the left menu bar and choose your desired chart you want to create

Click to add the chart on the canvas

On the right panel, choose connection and choose your created query

Move to the Data tab, you can see the available fields, which are from your created query

Drag and drop columns in availables field to create your Chart

Finalize the charts by adding title, choosing colors and style the graph

<figure><img src="/files/zdUwYo1iXMRzfXKf1CpI" alt=""><figcaption></figcaption></figure>

**If you haven't written your query before you add a chart, you can add a query and chart simultaneously**

Click ![](/files/3ieBjGR7mJQiLDeRWxJd)icon in the left menu bar and choose your desired chart you want to create

Click to add the chart on the canvas

On the right panel, choose connection and write SQL on the query box, you can view the Schema and Table&#x20;

Name your query after writing

Choose Cache time and Tags if you want

Move to the Data tab, you can see the available fields, which are from your created query

Drag and drop columns in availables field to create your Chart

Finalize the charts by adding title, choosing colors and style the graph

<figure><img src="/files/nuXV8GEHfSzRyUrkBzpT" alt=""><figcaption></figcaption></figure>


---

# 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://doc.dataflake.co/visualizations/create-a-chart.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.
